python3Packages.pynuki: 1.4.1 -> 1.5.2

and relax the very narrow requests requirement
This commit is contained in:
Martin Weinelt 2022-02-02 21:08:48 +01:00
parent 4e26847ee5
commit f4f6718a58
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -7,16 +7,21 @@
buildPythonPackage rec {
pname = "pynuki";
version = "1.4.1";
version = "1.5.2";
format = "pyproject";
src = fetchFromGitHub {
owner = "pschmitt";
repo = pname;
rev = version;
sha256 = "1nymlrf0j430851plp355697p55asfxjmavdh2zr96b16d41dnn4";
sha256 = "sha256-Uqw1Xa0pBQmQsFEBv/l1gtsPy+owYcTZITOYUmMvT5Y=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'requests = ">=2.27,<3"' 'requests = "*"'
'';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ requests ];