python3Packages.essentials: fix build

Changed files
+9 -3
pkgs
development
python-modules
essentials
+9 -3
pkgs/development/python-modules/essentials/default.nix
···
{
buildPythonPackage,
fetchFromGitHub,
-
setuptools,
+
hatchling,
+
pydantic,
+
pytest-asyncio,
pytestCheckHook,
stdenv,
lib,
···
hash = "sha256-wOZ0y6sAPEy2MgcwmM9SjnULe6oWlVuNeC7Zl070CK4=";
};
-
nativeBuildInputs = [ setuptools ];
+
build-system = [ hatchling ];
-
nativeCheckInputs = [ pytestCheckHook ];
+
nativeCheckInputs = [
+
pydantic
+
pytest-asyncio
+
pytestCheckHook
+
];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# time.sleep(0.01) can be up to 0.05s on darwin