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