Commit Graph

56 Commits

Author SHA1 Message Date
Bruno Bigras
7d3c52356f broot: 1.1.10 -> 1.2.0 2021-01-21 04:56:01 -05:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Daniël de Kok
67a10c88bb buildRustPackage: add cargoHash for SRI hashes of vendored deps
`buildRustPackage` currently accepts `cargoSha256` as a hash for
vendored dependencies. This change adds `cargoHash` which accepts SRI
hashes, setting `outputHashAlgo` to `null`.

The hash mismatch message still uses `cargoSha256` as an example,
which it probably should until we completely switch to SRI hashes.
2020-12-31 11:18:11 +01:00
Mario Rodas
cd702fef88 broot: 1.0.8 -> 1.1.10 2020-12-29 04:20:00 +00:00
R. RyanTM
a8d0bda27f broot: 1.0.7 -> 1.0.8 2020-12-05 13:09:52 +00:00
R. RyanTM
154e01b2e9 broot: 1.0.6 -> 1.0.7 2020-12-01 23:03:12 +00:00
R. RyanTM
0d6bc2f7c2 broot: 1.0.5 -> 1.0.6 2020-11-27 13:43:34 +00:00
R. RyanTM
fcdefb90c4 broot: 1.0.4 -> 1.0.5 2020-11-12 21:31:01 +00:00
R. RyanTM
89b4c45976 broot: 1.0.3 -> 1.0.4 2020-10-30 02:09:54 +00:00
zowoq
3447b9b2c0 broot: drop darwin workaround 2020-10-22 11:24:37 +10:00
Daniël de Kok
3fbc76fc67 broot: 1.0.0 -> 1.0.3
Changes:
https://github.com/Canop/broot/releases/tag/v1.0.1
https://github.com/Canop/broot/releases/tag/v1.0.2
https://github.com/Canop/broot/releases/tag/v1.0.3
2020-10-17 10:35:00 +02:00
Daniël de Kok
c4f6645eda broot: fix Darwin build
- The zlib-sys dependency requires zlib.
- The cc crate, which is used by various dependent crates, now uses
  xcrun on Darwin.
2020-09-03 08:18:10 +02:00
Daniël de Kok
9afdd82862 broot: 0.20.3 -> 1.0.0
Changelog:
https://github.com/Canop/broot/releases/tag/v1.0.0
2020-09-03 08:17:19 +02:00
Daniël de Kok
613627978a broot: use fetchCrate 2020-08-28 08:35:21 +02:00
Daniël de Kok
52f84b4302 broot: 0.20.0 -> 0.20.3 2020-08-27 15:12:04 +02:00
Daniël de Kok
1e7278c7ea broot: 0.19.4 -> 0.20.0
Changelog:
https://github.com/Canop/broot/releases/tag/v0.20.0
2020-08-17 07:50:39 +02:00
zowoq
473536e3b5 buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
Daniël de Kok
8770c229e4 broot: install bash/zsh/fish files for the br function
- In bash, the user needs to source `br.sh` somewhere.
- In zsh, the user needs to `autoload -Uz br` somewhere.
- In fish, `br` should just work.
2020-08-12 08:02:43 +02:00
Daniël de Kok
b2b779f680 broot: disable nag about installing shell functions 2020-08-11 20:58:38 +02:00
Daniël de Kok
3d14fe86b9 broot: add danieldk as maintainer, remove magnetophon
Suggested by @magnetophon in
https://github.com/NixOS/nixpkgs/pull/95029#issuecomment-671440980
2020-08-11 16:40:56 +02:00
R. RyanTM
41d1d1d2bb broot: 0.19.3 -> 0.19.4 2020-08-10 03:10:58 +00:00
R. RyanTM
7d293e769f broot: 0.18.1 -> 0.19.3 2020-07-31 18:06:04 +00:00
Bruno Bigras
313b2dc427 broot: 0.18.0 -> 0.18.1 2020-06-28 11:53:28 -04:00
Maximilian Bosch
7e21bb95c6
Merge pull request #91592 from danieldk/broot-man
broot: install man page
2020-06-27 15:28:04 +02:00
Bruno Bigras
be347401b5 broot: 0.17.0 -> 0.18.0 2020-06-26 13:50:19 -04:00
Daniël de Kok
90660f3369 broot: install man page 2020-06-26 13:19:21 +02:00
R. RyanTM
e7ba11b7ec broot: 0.16.0 -> 0.17.0 2020-06-26 02:54:40 +00:00
Bruno Bigras
44a837d056 broot: 0.15.1 -> 0.16.0 2020-06-20 15:30:08 -04:00
Bruno Bigras
619f7d8c74 broot: 0.13.6 -> 0.15.1 2020-06-12 16:39:02 -04:00
R. RyanTM
ee69291cb4 broot: 0.13.5b -> 0.13.6 2020-05-02 04:01:19 +00:00
Cole Helbling
120b5a2c31
broot: improve robustness of installPhase 2020-04-12 14:06:08 -07:00
R. RyanTM
25507443ec broot: 0.13.4 -> 0.13.5b 2020-04-01 09:02:12 +00:00
Mario Rodas
1bb17b50d2 broot: 0.13.2 -> 0.13.4 2020-03-14 00:44:06 +00:00
R. RyanTM
e7387ad05c broot: 0.13.1 -> 0.13.2 2020-03-05 16:54:20 +00:00
Benjamin Hipple
131a32a5af rust: update docs on legacyCargoFetcher; remove unnecessary defaults
As mentioned in #79975, the default on `legacyCargoFetcher` if left unspecified
is now `false`.
2020-02-15 22:07:47 -08:00
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
Mario Rodas
bc2336898f
broot: 0.12.2 -> 0.13.1 (#79565)
Changelog:
  - https://github.com/Canop/broot/releases/tag/v0.13.0
  - https://github.com/Canop/broot/releases/tag/v0.13.1
2020-02-09 10:10:57 +01:00
Mario Rodas
bc5f6ff819
broot: 0.12.0 -> 0.12.2 2020-01-31 04:20:00 -05:00
Mario Rodas
dfaae48381
broot: 0.11.9 -> 0.12.0 2020-01-23 04:20:00 -05:00
Will Dietz
567655c200
broot: 0.11.8 -> 0.11.9, verifyCargoDeps
https://github.com/Canop/broot/releases/tag/v0.11.9
2020-01-16 22:38:12 -06:00
Evan Stoll
ba820a4f77 broot: 0.10.2 -> 0.11.8 2020-01-12 16:10:42 -05:00
Evan Stoll
68a5f9f073 broot: install newly-added shell completions
- add installShellFiles dependency
2020-01-12 16:09:55 -05:00
Evan Stoll
22674e9b43 broot: fix hardlinks during postPatch phase
- add coreutils dependency
2020-01-12 15:55:56 -05:00
Will Dietz
3344f3e184 broot: 0.9.4 -> 0.10.2
https://github.com/Canop/broot/releases/tag/v0.9.5
https://github.com/Canop/broot/releases/tag/v0.9.6
https://github.com/Canop/broot/releases/tag/v0.10.0
https://github.com/Canop/broot/releases/tag/v0.10.1
https://github.com/Canop/broot/releases/tag/v0.10.2
2019-11-16 01:24:31 -06:00
Vladyslav M
2f4fffd9c9
broot: 0.9.0 -> 0.9.4 2019-09-14 13:01:48 +03:00
Vladyslav M
98a0dcefbf
broot: 0.8.0 -> 0.9.0 2019-07-19 16:10:00 +03:00
Will Dietz
15476fc623
broot: 0.7.5 -> 0.8.0 2019-06-09 22:09:41 -05:00
Alyssa Ross
062210bdff treewide: update cargoSha256 hashes for cargo-vendor upgrade
A recent upgrade of cargo-vendor changed its output slightly, which
broke all cargoSha256 hashes in nixpkgs.
See https://github.com/NixOS/nixpkgs/issues/60668 for more information.

Since then, a few hashes have been fixed in master by hand, but there
were a lot still to do, so I did all of the ones left over with some
scripts I wrote.

The one hash I wasn’t able to update was habitat's, because it’s
currently broken and the build doesn’t get far enough to produce a
hash anyway.
2019-06-01 15:17:52 +00:00
Will Dietz
16c595933a broot: 0.7.4 -> 0.7.5 2019-04-05 15:40:09 -05:00