python310Packages.pynuki: 1.5.2 -> 1.6.0
This commit is contained in:
parent
ead02ae273
commit
fb5597009a
1 changed files with 8 additions and 9 deletions
|
@ -2,13 +2,14 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, requests
|
, pynacl
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, requests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pynuki";
|
pname = "pynuki";
|
||||||
version = "1.5.2";
|
version = "1.6.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -17,17 +18,15 @@ buildPythonPackage rec {
|
||||||
owner = "pschmitt";
|
owner = "pschmitt";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-Uqw1Xa0pBQmQsFEBv/l1gtsPy+owYcTZITOYUmMvT5Y=";
|
hash = "sha256-9WiPApesocE9wXyI/qH+TTfbsTgJTyifSW3tfNro7XI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
nativeBuildInputs = [
|
||||||
substituteInPlace pyproject.toml \
|
poetry-core
|
||||||
--replace 'requests = ">=2.27,<3"' 'requests = "*"'
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
pynacl
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue