diff options
Diffstat (limited to 'pkgs/tools/text/riffdiff/default.nix')
-rw-r--r-- | pkgs/tools/text/riffdiff/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/text/riffdiff/default.nix b/pkgs/tools/text/riffdiff/default.nix new file mode 100644 index 000000000000..7511f69c70c8 --- /dev/null +++ b/pkgs/tools/text/riffdiff/default.nix @@ -0,0 +1,23 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "riffdiff"; + version = "2.23.3"; + + src = fetchFromGitHub { + owner = "walles"; + repo = "riff"; + rev = version; + hash = "sha256-5C2Q9moFo39zeLK0PkY6S74I/MI8TVpD3tRAaX4TMT4="; + }; + + cargoHash = "sha256-xHdlU9YXvEvfspDntLLgWr/knAfjMmiWK9JCV9wtIIE="; + + 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"; + }; +} |