python3Packages.securesystemslib: build w/ current hatchling (#475986)
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
pynacl,
|
||||
pyspx,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -22,8 +21,6 @@ buildPythonPackage rec {
|
||||
version = "1.3.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "secure-systems-lab";
|
||||
repo = "securesystemslib";
|
||||
@@ -31,6 +28,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-ERFRLNHD3OhbMEGBEnDLkRYGv4f+bYg9MStS5IarcPA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"hatchling==1.27.0"' '"hatchling"'
|
||||
'';
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
optional-dependencies = {
|
||||
|
||||
Reference in New Issue
Block a user