fix build (#708)

This commit is contained in:
Svenum
2024-05-22 01:43:05 +02:00
committed by GitHub
parent 420648f5f1
commit e878dd51fe
2 changed files with 12 additions and 0 deletions

3
.gitignore vendored
View File

@@ -138,3 +138,6 @@ dmypy.json
# pycharm
.idea/
# nix build
/result

View File

@@ -3,6 +3,7 @@
python3Packages,
pkgs,
fetchFromGitHub,
fetchPypi,
}:
let
@@ -24,6 +25,14 @@ let
};
});
requests = python3Packages.requests.overrideAttrs (oldAttrs: {
src = fetchPypi {
pname = "requests";
version = "2.32.1";
hash = "sha256-65fofmTHnmTluKx1zundH5f0niibCD7mvpYmiTByVoU=";
};
});
in
python3Packages.buildPythonPackage {
# use pyproject.toml instead of setup.py