nixpkgs/pkgs
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
..
applications Merge pull request #121954 from collares/native-comp-renames 2021-05-07 02:28:32 -05:00
build-support rustPlatform.importCargoLock: init 2021-05-28 08:01:25 +02:00
common-updater common-updater-scripts: Support attribute lookup in flake 2021-04-24 04:52:48 +02:00
data Merge pull request #121866 from marsam/update-julia-mono 2021-05-06 20:38:19 -05:00
desktops xfce.xfce4-panel: 4.16.2 -> 4.16.3 2021-05-06 10:05:38 -03:00
development rustPlatform.importCargoLock: init 2021-05-28 08:01:25 +02:00
games minetest: 5.3.0 -> 5.4.1 2021-05-07 00:03:40 -04:00
misc vscode-extensions.hashicorp.terraform: 2.10.1 -> 2.10.2 2021-05-05 22:59:05 +02:00
os-specific treewide: Do a number of no-op cleanups for cross and darwin 2021-05-06 11:17:26 -04:00
pkgs-lib formats.ini: Introduce listToValue argument (#121613) 2021-05-04 09:49:25 +02:00
servers Merge pull request #121904 from marsam/update-timescaledb 2021-05-06 23:25:47 +02:00
shells oil: 0.8.8 -> 0.8.10 2021-05-05 11:49:25 +09:00
stdenv treewide: Do a number of no-op cleanups for cross and darwin 2021-05-06 11:17:26 -04:00
test tests.texlive.dvipng: apply recurseIntoAttrs 2021-05-02 19:35:47 -04:00
tools Merge pull request #121984 from r-ryantm/auto-update/httpx 2021-05-07 08:39:44 +02:00
top-level Merge pull request #121857 from dotlambda/presage-init 2021-05-07 09:23:44 +02:00