python3Packages.tuf: 3.1.1 -> 5.1.0
This commit is contained in:
parent
34baf7d963
commit
6f9e2e2947
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tuf";
|
pname = "tuf";
|
||||||
version = "3.1.1";
|
version = "5.1.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -21,17 +21,12 @@ buildPythonPackage rec {
|
|||||||
owner = "theupdateframework";
|
owner = "theupdateframework";
|
||||||
repo = "python-tuf";
|
repo = "python-tuf";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-HiF/b6aOhDhhQqYx/bjMXHABxmAJY4vkLlTheiL8zEo=";
|
hash = "sha256-Qv9SH4ObC7bgPLd2Wu5XynBddlW6pycwLwaKhZ+l61k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
build-system = [ hatchling ];
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace-fail "hatchling==" "hatchling>="
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ hatchling ];
|
dependencies = [
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
requests
|
requests
|
||||||
securesystemslib
|
securesystemslib
|
||||||
] ++ securesystemslib.optional-dependencies.pynacl ++ securesystemslib.optional-dependencies.crypto;
|
] ++ securesystemslib.optional-dependencies.pynacl ++ securesystemslib.optional-dependencies.crypto;
|
||||||
@ -47,14 +42,14 @@ buildPythonPackage rec {
|
|||||||
cd tests
|
cd tests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Python reference implementation of The Update Framework (TUF)";
|
description = "Python reference implementation of The Update Framework (TUF)";
|
||||||
homepage = "https://github.com/theupdateframework/python-tuf";
|
homepage = "https://github.com/theupdateframework/python-tuf";
|
||||||
changelog = "https://github.com/theupdateframework/python-tuf/blob/v${version}/docs/CHANGELOG.md";
|
changelog = "https://github.com/theupdateframework/python-tuf/blob/v${version}/docs/CHANGELOG.md";
|
||||||
license = with licenses; [
|
license = with lib.licenses; [
|
||||||
asl20
|
asl20
|
||||||
mit
|
mit
|
||||||
];
|
];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with lib.maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user