nixpkgs/pkgs/tools/text/riffdiff/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
608 B
Nix
Raw Normal View History

2023-06-20 05:05:17 +00:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "riffdiff";
2023-08-15 15:34:41 +00:00
version = "2.25.0";
2023-06-20 05:05:17 +00:00
src = fetchFromGitHub {
owner = "walles";
repo = "riff";
rev = version;
2023-08-15 15:34:41 +00:00
hash = "sha256-/V9xp5ew+oL3AIBsgDaAa6LE5Ko/ae7VW47QATtqG1I=";
2023-06-20 05:05:17 +00:00
};
2023-08-15 15:34:41 +00:00
cargoHash = "sha256-pWMsmQ4JqlHgdP5TUgwZ6fwdEjKrilI5Rla6XLjaBF8=";
2023-06-20 05:05:17 +00:00
meta = with lib; {
description = "A diff filter highlighting which line parts have changed";
homepage = "https://github.com/walles/riff";
license = licenses.mit;
maintainers = with maintainers; [ johnpyp ];
mainProgram = "riff";
};
}