nixpkgs/pkgs/applications/version-management/git-and-tools
Benjamin Hipple 2115a2037c fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir
This has several advantages:

1. It takes up less space on disk in-between builds in the nix store.
2. It uses less space in the binary cache for vendor derivation packages.
3. It uses less network traffic downloading from the binary cache.
4. It plays nicely with hashed mirrors like tarballs.nixos.org, which only
   substitute --flat hashes on single files (not recursive directory hashes).
5. It's consistent with how simple `fetchurl` src derivations work.
6. It provides a stronger abstraction between input src-package and output
   package, e.g., it's harder to accidentally depend on the src derivation at
   runtime by referencing something like `${src}/etc/index.html`. Likewise, in
   the store it's harder to get confused with something that is just there as a
   build-time dependency vs. a runtime dependency, since the build-time
   src dependencies are tarred up.

Disadvantages are:
1. It takes slightly longer to untar at the start of a build.

As currently implemented, this attaches the compacted vendor.tar.gz feature as a
rider on `verifyCargoDeps`, since both of them are relatively newly implemented
behavior that change the `cargoSha256`.

If this PR is accepted, I will push forward the remaining rust packages with a
series of treewide PRs to update the `cargoSha256`s.
2020-02-10 10:17:29 -05:00
..
bfg-repo-cleaner
bitbucket-server-cli bundlerUpdateScript: init and use (#64822) 2019-07-22 12:02:47 +00:00
cgit treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
darcs-to-git treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
delta gitAndTools.delta: 0.0.15 -> 0.0.16 2020-02-06 21:21:21 -05:00
diff-so-fancy gitAndTools.diff-so-fancy: 1.2.6 -> 1.2.7 2019-09-26 06:59:00 -07:00
fast-export gitAndTools.gitFastExport: (old) -> v190107 2019-05-12 14:40:15 +01:00
gh gitAndTools.gh: init at 0.5.3 2020-02-04 13:53:56 +10:00
ghq ghq: Migrate to buildGoModule, ensure go 1.13 compatibility 2019-09-09 20:32:38 +02:00
git git: enable zsh completion 2020-02-09 09:22:20 +01:00
git-absorb gitAndTools.git-absorb: 0.4.0 -> 0.5.0 2019-07-17 00:00:00 -05:00
git-annex-metadata-gui treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-annex-remote-b2 treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-annex-remote-dbx git-annex-remote-dbx: init at 1.0.3 2019-04-15 17:10:17 +02:00
git-annex-remote-rclone treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-annex-utils git-annex-utils: init at 0.04-3-g531bb33 2019-10-15 14:41:24 +02:00
git-appraise treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-big-picture treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
git-bug gitAndTools.git-bug: 0.5.0 -> 0.6.0 2020-01-04 14:57:51 +01:00
git-bz treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
git-codeowners treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
git-cola git-cola: build application with python3 by default 2019-09-26 20:37:03 +02:00
git-crypt treewide: don't use single quotes with placeholder 2019-09-03 13:01:42 -04:00
git-dit treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
git-extras gitAndTools.git-extras: 5.0.0 -> 5.1.0 2019-12-23 03:54:27 -08:00
git-fame treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
git-gone gitAndTools.git-gone: 0.2.0 -> 0.3.0 2019-12-22 00:00:00 -05:00
git-hub gitAndTools.git-hub: 1.0.3 -> 1.1.0 2019-12-23 15:13:04 +00:00
git-ignore treewide: update cargoSha256 hashes for cargo-vendor upgrade 2019-06-01 15:17:52 +00:00
git-imerge treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
git-interactive-rebase-tool gitAndTools.git-interactive-rebase-tool: enable on darwin 2020-02-02 21:15:10 -05:00
git-machete gitAndTools.git-machete: 2.12.6 -> 2.13.1 2020-02-08 09:20:18 +00:00
git-octopus treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-open treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-radar treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-recent git-recent: 1.1.0 -> 1.1.1 2019-06-30 13:37:58 +02:00
git-remote-gcrypt treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-remote-hg treewide: installFlags is a list 2019-12-30 13:22:43 +01:00
git-reparent treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-secret git-secret: 0.3.1 -> 0.3.2 2019-10-21 19:19:07 -07:00
git-secrets treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
git-standup gitAndTools.git-standup: init at 2.3.1 2019-05-31 04:20:00 -05:00
git-stree treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
git-subrepo gitAndTools.git-subrepo: 0.4.0 -> 0.4.1 2020-01-15 12:57:58 +00:00
git-subtrac gitAndTools.git-subtrac: init at 0.01 2019-11-25 18:05:03 -08:00
git-sync treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-test treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-workspace fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir 2020-02-10 10:17:29 -05:00
git2cl treewide: Change URLs to HTTPS 2019-04-22 10:19:54 +02:00
gita gitAndTools.gita: 0.9.2 -> 0.9.9 2019-10-12 14:47:43 +02:00
gitflow treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
gitstatus gitstatus: unstable-2019-12-18 -> unstable-2020-01-28 2020-02-02 21:38:40 +01:00
gitweb treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
grv treewide: name -> pname 2019-08-17 10:54:38 +00:00
hub gitAndTools.hub: 2.13.0 -> 2.14.1 2020-01-21 11:05:48 -06:00
lab gitAndTools.lab: 0.17.1 -> 0.17.2 2019-12-18 13:36:00 -05:00
lefthook lefthook: init at 0.6.3 (#69233) 2019-09-22 16:18:08 -05:00
pass-git-helper treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
qgit gitAndTools.qgit: 2.8 -> 2.9 2019-08-26 13:17:05 +02:00
stgit treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
subgit treewide: fix redirected urls 2020-01-22 11:26:22 +01:00
svn-all-fast-export treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
svn2git treewide: name -> pname 2019-08-17 10:54:38 +00:00
thicket thicket: init at 0.1.3 2020-01-20 15:52:26 +02:00
tig gitAndTools.tig: 2.4.1 -> 2.5.0 2019-11-29 11:15:30 -08:00
topgit gitAndTools.topgit: 0.9 -> 0.19.12 2019-08-13 05:28:03 -07:00
transcrypt treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
default.nix gitAndTools.gh: init at 0.5.3 2020-02-04 13:53:56 +10:00