depot/third_party/nixpkgs/pkgs/tools/text/riffdiff/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

23 lines
605 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "riffdiff";
version = "3.3.0";
src = fetchFromGitHub {
owner = "walles";
repo = "riff";
rev = version;
hash = "sha256-Vbze2WSrZOboLFcsnRYbfsWz6gbMEszDWEMQUNZAzLY=";
};
cargoHash = "sha256-/R2RSsNRpCI/LTXlF0UtdIjWrBDJaEOASTeAtyNwS0M=";
meta = with lib; {
description = "Diff filter highlighting which line parts have changed";
homepage = "https://github.com/walles/riff";
license = licenses.mit;
maintainers = with maintainers; [ johnpyp ];
mainProgram = "riff";
};
}