diff --git a/pkgs/development/python-modules/pykka/default.nix b/pkgs/development/python-modules/pykka/default.nix index 209624aa801f..de877d4e3442 100644 --- a/pkgs/development/python-modules/pykka/default.nix +++ b/pkgs/development/python-modules/pykka/default.nix @@ -3,30 +3,25 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, - poetry-core, + hatchling, pydantic, pytestCheckHook, pytest-mock, - typing-extensions, }: buildPythonPackage rec { pname = "pykka"; - version = "4.1.1"; - format = "pyproject"; - - disabled = pythonOlder "3.8"; + version = "4.2.0"; + pyproject = true; src = fetchFromGitHub { owner = "jodal"; repo = "pykka"; tag = "v${version}"; - hash = "sha256-n9TgXcmUEIQdqtrY+9T+EtPys+7OzXCemRwNPj1xPDw="; + hash = "sha256-cxW6xKG0x7pPXvCanh0ZNMYRSdnCf8JrnJbjYgDUQSI="; }; - build-system = [ poetry-core ]; - - dependencies = lib.optionals (pythonOlder "3.10") [ typing-extensions ]; + build-system = [ hatchling ]; nativeCheckInputs = [ pydantic