Commit graph

39 commits

Author SHA1 Message Date
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
Tim Steinbach fe8fa45573
bat: Add test 2020-11-28 13:42:36 -05:00
06kellyjac fa0fd01569 bat: 0.17.0 -> 0.17.1 2020-11-24 21:05:17 +00:00
06kellyjac f7876c6bbf bat: 0.16.0 -> 0.17.0 2020-11-24 08:03:59 +10:00
zowoq cc88d23e54 bat: drop darwin workaround 2020-10-22 11:24:37 +10:00
zowoq 02594b3aed bat: fix darwin build 2020-10-04 09:14:33 +10:00
zowoq ef2898f093 bat: 0.15.4 -> 0.16.0
https://github.com/sharkdp/bat/releases/tag/v0.16.0
2020-10-03 09:58:09 +10:00
zowoq 473536e3b5 buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
zowoq efe9c7c138 bat: add maintainer 2020-06-08 13:24:49 +10:00
zowoq 06af4257b5 bat: remove unnecessary fetchSubmodules
submodules have already been converted to binary assets and checked into the repo
2020-06-07 00:56:49 +10:00
Lily Ballard 9724223c77 bat: 0.15.3 -> 0.15.4 2020-05-27 15:23:30 -07:00
Lily Ballard e3f1712b7a bat: 0.15.1 -> 0.15.3 2020-05-26 16:42:21 -07:00
Lily Ballard c3d54e4182 bat: 0.15.0 -> 0.15.1 2020-05-11 13:40:22 -07:00
Mario Rodas ccfdcf16f4
bat: 0.14.0 -> 0.15.0
Changelog: https://github.com/sharkdp/bat/releases/tag/v0.15.0
2020-04-25 04:20:00 -05:00
Mario Rodas 0f2a064816
bat: 0.13.0 -> 0.14.0
Changelog: https://github.com/sharkdp/bat/releases/tag/v0.14.0
2020-04-22 18:00:00 -05:00
Mario Rodas 0c59458e44
bat: 0.12.1 -> 0.13.0
Changelog: https://github.com/sharkdp/bat/releases/tag/v0.13.0
2020-03-22 07:25:00 -05:00
Benjamin Hipple 4c900027b1 bat: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-15 17:25:31 -08:00
Benjamin Hipple eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00
Lily Ballard 8a9fb54f07 bat: insert less into PATH
The default pager for `bat` is `less -RF --no-init`. Overriding this to
`less -RF` in order to enable alternate screen behavior (e.g. page
up/down keys) causes the `-F` flag to behave badly in the version of
`less` shipped on macOS. The simplest way to fix this is to simply put
Nix's `less` into the `PATH` so it takes precedence.
2019-12-22 17:25:31 -08:00
Lily Ballard dd61ba0812 bat: update dependencies
Remove zlib, this is no longer a dependency as of at least 0.12.0.

While we're at it, switch to using installShellFiles to install the
manpage/completion.
2019-10-07 00:14:32 -07:00
xrelkd 102fd20492 bat: 0.12.0 -> 0.12.1 2019-09-03 16:35:32 +08:00
Vladyslav M 19387a02a2
bat: 0.11.0 -> 0.12.0 2019-09-01 09:53:09 +03:00
Lily Ballard 6dc34b8384 bat: 0.10.0 -> 0.11.0
Also add myself as a maintainer, and set platforms to `all`.
2019-05-15 14:47:36 -07:00
dywedir edf7cde7d1
bat: 0.9.0 -> 0.10.0 2019-02-08 10:46:20 +02:00
worldofpeace 2edd1c8fe0 bat: don't install shell completions
Currently having the shell completions makes it
impossible to complete filenames.

Upstream Issue: https://github.com/sharkdp/bat/issues/372
2019-01-25 14:32:07 -05:00
Vladyslav Mykhailichenko 42364f9aa2
bat: 0.8.0 -> 0.9.0 2018-11-11 18:10:20 +02:00
Vladyslav Mykhailichenko d87a2481d2
bat: fix build on darwin 2018-11-03 02:06:08 +02:00
Vladyslav Mykhailichenko 0e6a5c908d bat: 0.7.1 -> 0.8.0 2018-10-18 12:17:43 +03:00
Vladyslav M e5916b8b7f bat: 0.7.0 -> 0.7.1 (#47216) 2018-09-23 15:06:51 +02:00
Mario Rodas ba33eac477 bat: install man page (#47099) 2018-09-21 10:23:26 +02:00
Vladyslav Mykhailichenko af5cea59e7 bat: 0.6.1 -> 0.7.0 2018-09-13 13:30:36 +03:00
Vladyslav Mykhailichenko 5d088b2601 bat: 0.6.0 -> 0.6.1 2018-09-01 09:45:32 +03:00
Vladyslav Mykhailichenko 341a531c3d bat: 0.5.0 -> 0.6.0 2018-08-29 13:39:36 +03:00
Vladyslav M 92125b381d bat: 0.4.1 -> 0.5.0 (#45425) 2018-08-21 12:08:30 +02:00
Mathias Schreck 9aba987f37 bat: support darwin 2018-06-06 00:06:22 +02:00
Vladyslav M 82d837cde2 bat: 0.3.0 -> 0.4.1 (#41348) 2018-06-01 12:13:52 +02:00
Vladyslav Mykhailichenko 97263dfb92 bat: 0.2.0 -> 0.3.0 2018-05-09 10:15:35 +03:00
Matthias Beyer 6dbc010a7d bat: init at 0.2.0 2018-05-01 17:51:59 +02:00