python310Packages.pynuki: 1.5.2 -> 1.6.0

This commit is contained in:
Fabian Affolter 2022-11-12 17:52:11 +01:00
parent ead02ae273
commit fb5597009a

View file

@ -2,13 +2,14 @@
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, requests
, pynacl
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pynuki";
version = "1.5.2";
version = "1.6.0";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -17,17 +18,15 @@ buildPythonPackage rec {
owner = "pschmitt";
repo = pname;
rev = version;
sha256 = "sha256-Uqw1Xa0pBQmQsFEBv/l1gtsPy+owYcTZITOYUmMvT5Y=";
hash = "sha256-9WiPApesocE9wXyI/qH+TTfbsTgJTyifSW3tfNro7XI=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'requests = ">=2.27,<3"' 'requests = "*"'
'';
nativeBuildInputs = [ poetry-core ];
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
pynacl
requests
];