python314Packages.ukkonen: modernize
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user