diffr: 0.1.2 -> 0.1.4
This commit is contained in:
parent
7f5400c344
commit
375cb45232
@ -2,23 +2,23 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "diffr";
|
pname = "diffr";
|
||||||
version = "v0.1.2";
|
version = "v0.1.4";
|
||||||
|
|
||||||
# diffr's tests expect the diffr binary to be at `$CARGO_MANIFEST_DIR/target/debug/diffr`.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mookid";
|
owner = "mookid";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1fpcyl4kc4djfl6a2jlj56xqra42334vygz8n7614zgjpyxz3zx2";
|
sha256 = "18ks5g4bx6iz9hdjxmi6a41ncxpb1hnsscdlddp2gr40k3vgd0pa";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "17xgjk8li29b8q8p2bi56klqg0v2q0j6ich438c4p06jrszccx1f";
|
cargoSha256 = "09yn02985yv40n9y0ipz0jmj7iqhz7l8hd3ry9ib3fyw9pyklnfa";
|
||||||
|
|
||||||
nativeBuildInputs = [];
|
|
||||||
buildInputs = (stdenv.lib.optional stdenv.isDarwin Security);
|
buildInputs = (stdenv.lib.optional stdenv.isDarwin Security);
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export DIFFR_TESTS_BINARY_PATH=$releaseDir/diffr
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Yet another diff highlighting tool";
|
description = "Yet another diff highlighting tool";
|
||||||
homepage = https://github.com/mookid/diffr;
|
homepage = https://github.com/mookid/diffr;
|
||||||
|
Loading…
Reference in New Issue
Block a user