figsoda
d456b861b8
fetchCrate: fix registryDl
...
follow up to #234066 , since I made a mistake
2023-05-28 13:20:03 -04:00
figsoda
545206f936
fetchCrate: allow overriding registryDl
...
This will allow `rustPlatform.importCargoLock` to use `fetchCrate`
directly instead of including its own implementation.
2023-05-25 16:29:01 -04:00
figsoda
62327ff6a9
fetchCrate: add unpack option to use fetchurl instead of fetchzip
2023-03-13 22:15:02 -04:00
figsoda
9508a4ac68
fetchCrate: rewrite in terms of fetchzip
2022-11-03 12:33:27 -04:00
Daniël de Kok
923c9f62c4
fetchCrate: accept pname besides crateName
...
This enables short argument attrsets similar to fetchPypi:
src = fetchCrate {
inherit pname version;
sha256 = "02h8pikmk19ziqw9jgxxf7kjhnb3792vz9is446p1xfvlh4mzmyx";
};
2020-08-28 08:34:22 +02:00
Pierre-Étienne Meunier
ea232fe29d
add fetchCrate function to fetch rust crates
2017-12-12 04:58:45 -06:00