mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
python3Packages.pynuki: 1.4.1 -> 1.5.2
and relax the very narrow requests requirement
This commit is contained in:
parent
4e26847ee5
commit
f4f6718a58
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user