Merge pull request #200893 from fabaff/pynuki-bump

python310Packages.pynuki: 1.5.2 -> 1.6.0
This commit is contained in:
Fabian Affolter 2022-11-13 11:01:25 +01:00 committed by GitHub
commit 5c6e134db7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
];