mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
python3Packages.tuf: 6.0.0 -> 7.0.0
Diff: https://github.com/theupdateframework/python-tuf/compare/v6.0.0...v7.0.0 Changelog: https://github.com/theupdateframework/python-tuf/blob/v7.0.0/docs/CHANGELOG.md
This commit is contained in:
@@ -2,42 +2,31 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
flit-core,
|
||||
freezegun,
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
securesystemslib,
|
||||
|
||||
# tests
|
||||
ed25519,
|
||||
freezegun,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "tuf";
|
||||
version = "6.0.0";
|
||||
version = "7.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "theupdateframework";
|
||||
repo = "python-tuf";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-CPbZOpUYi7MWKLMj7kwTsmEkxLCf4wU7IOCcbzMkPlU=";
|
||||
hash = "sha256-pn1M3e3Vzu2CYp/3KXkreaHunr+Nblph0QBWAkTmrIE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "hatchling==1.27.0" "hatchling"
|
||||
--replace-fail "hatchling==1.29.0" "hatchling"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
flit-core
|
||||
hatchling
|
||||
];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
@@ -49,7 +38,6 @@ buildPythonPackage (finalAttrs: {
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
ed25519
|
||||
freezegun
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user