diff --git a/pkgs/development/python-modules/ukkonen/default.nix b/pkgs/development/python-modules/ukkonen/default.nix index a4b88fd70cf9..e3364ea5752d 100644 --- a/pkgs/development/python-modules/ukkonen/default.nix +++ b/pkgs/development/python-modules/ukkonen/default.nix @@ -4,21 +4,27 @@ fetchFromGitHub, cffi, pytestCheckHook, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "ukkonen"; version = "1.1.0"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "asottile"; repo = "ukkonen"; - rev = "v${version}"; - sha256 = "sha256-vXyOLAiY92Df7g57quiSnOz8yhaIsm8MTB6Fbiv6axQ="; + tag = "v${finalAttrs.version}"; + hash = "sha256-vXyOLAiY92Df7g57quiSnOz8yhaIsm8MTB6Fbiv6axQ="; }; - nativeBuildInputs = [ cffi ]; + build-system = [ + cffi + setuptools + ]; + + dependencies = [ cffi ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -30,4 +36,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})