3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/rust
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
..
build-rust-crate buildRustCrate: editorconfig fixes 2020-08-09 17:47:12 +10:00
patch-registry-deps
cargo-vendor-normalise.py
carnix.nix
crates-io.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
default-crate-overrides.nix cargo-vendor: drop 2019-09-22 20:20:20 -05:00
default.nix buildRustPackage: add support for parallel build 2020-08-16 10:00:00 -05:00
fetchcargo-default-config.toml
fetchCargoTarball.nix fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir 2020-02-10 10:17:29 -05:00
fetchcrate.nix fetchCrate: accept pname besides crateName 2020-08-28 08:34:22 +02:00