bat: 0.6.1 -> 0.7.0

This commit is contained in:
Vladyslav Mykhailichenko 2018-09-13 12:56:22 +03:00
parent 595ae18797
commit af5cea59e7
2 changed files with 10 additions and 8 deletions

View File

@ -1,24 +1,24 @@
{ stdenv, rustPlatform, fetchFromGitHub, cmake, pkgconfig, zlib, libiconv, darwin }: { stdenv, rustPlatform, fetchFromGitHub, cmake, pkgconfig, zlib
, Security, libiconv
}:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
name = "bat-${version}"; name = "bat-${version}";
version = "0.6.1"; version = "0.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sharkdp"; owner = "sharkdp";
repo = "bat"; repo = "bat";
rev = "v${version}"; rev = "v${version}";
sha256 = "19xmj3a3npx4v1mlvd31r3icml73mxjq6la5qifb2i35ciqnx9bd"; sha256 = "1dhn88asf08dvl4827v4mkxafcr01m1h5jmicvzda9ywmr82g1cs";
fetchSubmodules = true; fetchSubmodules = true;
}; };
cargoSha256 = "062vvpj514h85h9gm3jipp6z256cnnbxbjy7ja6bm7i6bpglyvvi"; cargoSha256 = "10s8ig08prs1wcsisrllvsixqkrkwjx769y1w5fypldn9kfk2lka";
nativeBuildInputs = [ cmake pkgconfig zlib ]; nativeBuildInputs = [ cmake pkgconfig zlib ];
buildInputs = [ libiconv ] ++ stdenv.lib.optionals stdenv.isDarwin [ buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security libiconv ];
darwin.apple_sdk.frameworks.Security
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A cat(1) clone with syntax highlighting and Git integration"; description = "A cat(1) clone with syntax highlighting and Git integration";

View File

@ -844,7 +844,9 @@ with pkgs;
bashmount = callPackage ../tools/filesystems/bashmount {}; bashmount = callPackage ../tools/filesystems/bashmount {};
bat = callPackage ../tools/misc/bat { }; bat = callPackage ../tools/misc/bat {
inherit (darwin.apple_sdk.frameworks) Security;
};
bc = callPackage ../tools/misc/bc { }; bc = callPackage ../tools/misc/bc { };