diff options
author | Lily Ballard <lily@sb.org> | 2019-05-15 14:46:56 -0700 |
---|---|---|
committer | Lily Ballard <lily@sb.org> | 2019-05-15 14:47:36 -0700 |
commit | 6dc34b838472429d4179d0c6fc298a234b81dce6 (patch) | |
tree | 1ceb54980aa547afa83133273e28058be1555eff /pkgs/tools/misc/bat | |
parent | d0ea2df4fbc9db734f8e422e75fa062ab9d417eb (diff) |
bat: 0.10.0 -> 0.11.0
Also add myself as a maintainer, and set platforms to `all`.
Diffstat (limited to 'pkgs/tools/misc/bat')
-rw-r--r-- | pkgs/tools/misc/bat/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/tools/misc/bat/default.nix b/pkgs/tools/misc/bat/default.nix index 9fc84504f5394..205bc196811b1 100644 --- a/pkgs/tools/misc/bat/default.nix +++ b/pkgs/tools/misc/bat/default.nix @@ -3,18 +3,18 @@ }: rustPlatform.buildRustPackage rec { - name = "bat-${version}"; - version = "0.10.0"; + pname = "bat"; + version = "0.11.0"; src = fetchFromGitHub { owner = "sharkdp"; - repo = "bat"; + repo = pname; rev = "v${version}"; - sha256 = "1q22lbyrwh58vhznpjpkiaa8v4qv6a3a8lrxzaypd8wg78p9dca6"; + sha256 = "0yyvlplskjvxb2cspqsvfsnahd5m0s83psrp777ng0wc0kr1adbw"; fetchSubmodules = true; }; - cargoSha256 = "0npj2rf4vr45gq3qwqq6kqnv9dh58v5lpx0gsmy2qrq44dxb75rq"; + cargoSha256 = "078n31c0isvxvna0s1m12xv4bkh15rb2nixfyg4c501mlkalb517"; nativeBuildInputs = [ cmake pkgconfig zlib ]; @@ -22,13 +22,14 @@ rustPlatform.buildRustPackage rec { postInstall = '' install -m 444 -Dt $out/share/man/man1 doc/bat.1 + install -m 444 -Dt $out/share/fish/vendor_completions.d assets/completions/bat.fish ''; meta = with stdenv.lib; { description = "A cat(1) clone with syntax highlighting and Git integration"; homepage = https://github.com/sharkdp/bat; license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ dywedir ]; - platforms = platforms.linux ++ platforms.darwin; + maintainers = with maintainers; [ dywedir lilyball ]; + platforms = platforms.all; }; } |