diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-03-31 16:30:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 16:30:45 +0100 |
commit | 61666e0b18018f51cf4934f16c4915819ec3ce1b (patch) | |
tree | 61f545a06bdc59cb693d9f175a71da042c74ec16 | |
parent | 83fd89945d355892e0e95747c9a2c519491c1600 (diff) | |
parent | 375cb452328925214ddfda9ede89a5b4721abfef (diff) |
Merge pull request #83866 from davidtwco/diffr-0.1.4
diffr: 0.1.2 -> 0.1.4
-rw-r--r-- | pkgs/tools/text/diffr/default.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/tools/text/diffr/default.nix b/pkgs/tools/text/diffr/default.nix index 9ddaa3468ff34..7ce9c31630426 100644 --- a/pkgs/tools/text/diffr/default.nix +++ b/pkgs/tools/text/diffr/default.nix @@ -2,23 +2,23 @@ rustPlatform.buildRustPackage rec { pname = "diffr"; - version = "v0.1.2"; - - # diffr's tests expect the diffr binary to be at `$CARGO_MANIFEST_DIR/target/debug/diffr`. - doCheck = false; + version = "v0.1.4"; src = fetchFromGitHub { owner = "mookid"; repo = pname; rev = version; - sha256 = "1fpcyl4kc4djfl6a2jlj56xqra42334vygz8n7614zgjpyxz3zx2"; + sha256 = "18ks5g4bx6iz9hdjxmi6a41ncxpb1hnsscdlddp2gr40k3vgd0pa"; }; - cargoSha256 = "17xgjk8li29b8q8p2bi56klqg0v2q0j6ich438c4p06jrszccx1f"; + cargoSha256 = "09yn02985yv40n9y0ipz0jmj7iqhz7l8hd3ry9ib3fyw9pyklnfa"; - nativeBuildInputs = []; buildInputs = (stdenv.lib.optional stdenv.isDarwin Security); + preCheck = '' + export DIFFR_TESTS_BINARY_PATH=$releaseDir/diffr + ''; + meta = with stdenv.lib; { description = "Yet another diff highlighting tool"; homepage = https://github.com/mookid/diffr; |