depot/third_party/nixpkgs/pkgs/tools/text/riffdiff/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

23 lines
608 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "riffdiff";
version = "2.30.0";
src = fetchFromGitHub {
owner = "walles";
repo = "riff";
rev = version;
hash = "sha256-P+Q0KrJSXc26LcIHFzzypMwjWsJvYGYFZ/6RsB+ELTA=";
};
cargoHash = "sha256-fhJZMvxGjNfhHP3vMVYUYpA4i5r7w0B0TXaxDZ5Z2YY=";
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";
};
}