depot/third_party/nixpkgs/pkgs/tools/text/riffdiff/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

23 lines
605 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "riffdiff";
version = "3.3.1";
src = fetchFromGitHub {
owner = "walles";
repo = "riff";
rev = version;
hash = "sha256-V+YR0j0Dpmsc2psXb/sb/Rp4Eu8/uuBAkmYTPOfkC+g=";
};
cargoHash = "sha256-/xUMfORiZVj5RmDweLCDdD6MkgzCIsTdiYpyO3CDT+M=";
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";
};
}