Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Svenum committed May 21, 2024
1 parent 2b09bf7 commit 83da5f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,6 @@ dmypy.json

# pycharm
.idea/

# nix build
/result
9 changes: 9 additions & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
python3Packages,
pkgs,
fetchFromGitHub,
fetchPypi,
}:
let

Expand All @@ -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
Expand Down

0 comments on commit 83da5f5

Please sign in to comment.