mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 17:51:40 -05:00
Merge pull request #1157 from terlar/fetchFromLegacy-include-isWheel
lib: Include isWheel for fetchFromLegacy
This commit is contained in:
commit
56c219243b
1 changed files with 1 additions and 0 deletions
1
lib.nix
1
lib.nix
|
@ -161,6 +161,7 @@ let
|
|||
outputHashAlgo = "sha256";
|
||||
outputHash = hash;
|
||||
NETRC = netrc_file;
|
||||
passthru.isWheel = lib.strings.hasSuffix "whl" file;
|
||||
} ''
|
||||
python ${./fetch_from_legacy.py} ${url} ${pname} ${file}
|
||||
mv ${file} $out
|
||||
|
|
Loading…
Add table
Reference in a new issue