nixpkgs/pkgs/development
Daniël de Kok 2f46d77e28 rustPlatform.importCargoLock: init
This function can be used to create an output path that is a cargo
vendor directory. In contrast to e.g. fetchCargoTarball all the
dependent crates are fetched using fixed-output derivations. The
hashes for the fixed-output derivations are gathered from the
Cargo.lock file.

Usage is very simple, e.g.:

importCargoLock {
  lockFile = ./Cargo.lock;
}

would use the lockfile from the current directory.

The implementation of this function is based on Eelco Dolstra's
import-cargo:

https://github.com/edolstra/import-cargo/blob/master/flake.nix

Compared to upstream:

- We use fetchgit in place of builtins.fetchGit.
- Sync to current cargo vendoring.
2021-05-28 08:01:25 +02:00
..
androidndk-pkgs
arduino
beam-modules
bower-modules/generic
chez-modules
compilers rustPlatform.importCargoLock: init 2021-05-28 08:01:25 +02:00
coq-modules coqPackages.VST: 2.6 → 2.7.1 2021-05-07 08:35:13 +02:00
dhall-modules
dotnet-modules
em-modules/generic
gnuradio-modules
go-modules
go-packages
guile-modules
haskell-modules git-annex: update sha256 hash for the new version 2021-04-30 20:45:03 +02:00
idris-modules
interpreters treewide: Do a number of no-op cleanups for cross and darwin 2021-05-06 11:17:26 -04:00
java-modules postgresql_jdbc: 42.2.5 -> 42.2.20 2021-05-01 09:46:26 +02:00
libraries Merge pull request #121857 from dotlambda/presage-init 2021-05-07 09:23:44 +02:00
lisp-modules
lua-modules
misc
mobile
node-packages
ocaml-modules ppx_deriving_cmdliner: init at 0.6.0 2021-05-02 14:52:52 +02:00
octave-modules
perl-modules
pharo
php-packages Merge pull request #121797 from aanderse/php.packages.deployer 2021-05-05 13:49:38 -05:00
pure-modules
python-modules Merge pull request #120318 from dotlambda/dask-glm-fix 2021-05-07 09:55:06 +02:00
r-modules
ruby-modules
tools Merge pull request #121860 from marsam/update-tflint 2021-05-06 19:40:56 -05:00
web nodejs-16_x: 16.0.0 -> 16.1.0 2021-05-05 04:20:00 +00:00