python314Packages.ukkonen: modernize

This commit is contained in:
Fabian Affolter
2026-01-27 12:21:37 +01:00
committed by GitHub
parent 82fe97d3af
commit b0052e6f53
@@ -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 ];
};
}
})