mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-07 02:01: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";
|
outputHashAlgo = "sha256";
|
||||||
outputHash = hash;
|
outputHash = hash;
|
||||||
NETRC = netrc_file;
|
NETRC = netrc_file;
|
||||||
|
passthru.isWheel = lib.strings.hasSuffix "whl" file;
|
||||||
} ''
|
} ''
|
||||||
python ${./fetch_from_legacy.py} ${url} ${pname} ${file}
|
python ${./fetch_from_legacy.py} ${url} ${pname} ${file}
|
||||||
mv ${file} $out
|
mv ${file} $out
|
||||||
|
|
Loading…
Add table
Reference in a new issue