mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-26 09:46:04 +03:00
python/pdm: use fetchFromLegacy
...until https://github.com/nix-community/pyproject.nix/pull/41 is resolved
This commit is contained in:
parent
f3b369dd44
commit
1d63a866d7
@ -17,7 +17,7 @@
|
||||
curl = config.deps.curl;
|
||||
jq = config.deps.jq;
|
||||
python3 = config.deps.python3;
|
||||
runCommand = config.deps.stdenv.runCommand;
|
||||
runCommand = config.deps.runCommand;
|
||||
stdenvNoCC = config.deps.stdenvNoCC;
|
||||
};
|
||||
|
||||
@ -115,12 +115,12 @@ in {
|
||||
);
|
||||
};
|
||||
mkDerivation = {
|
||||
# required: { pname, file, version, hash, kind, curlOpts ? "" }:
|
||||
src = lib.mkDefault (libpyproject-fetchers.fetchFromPypi {
|
||||
# TODO: handle sources outside pypi.org
|
||||
src = lib.mkDefault (libpyproject-fetchers.fetchFromLegacy {
|
||||
pname = name;
|
||||
file = source.file;
|
||||
version = pkg.version;
|
||||
hash = source.hash;
|
||||
url = "https://pypi.org/simple";
|
||||
});
|
||||
propagatedBuildInputs =
|
||||
lib.mapAttrsToList
|
||||
|
Loading…
Reference in New Issue
Block a user