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