2023-07-15 17:15:38 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "riffdiff";
|
2024-10-11 05:15:48 +00:00
|
|
|
version = "3.3.3";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "walles";
|
|
|
|
repo = "riff";
|
|
|
|
rev = version;
|
2024-10-11 05:15:48 +00:00
|
|
|
hash = "sha256-IdYQ8vD3ZIzqdNY4JtR8f2huV/DWOhV8FUn7tuRe7IQ=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2024-10-11 05:15:48 +00:00
|
|
|
cargoHash = "sha256-1on4CTstEvjNLtk1RG6dcNl0XhaPYAy+U0DYn/aVzEg=";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Diff filter highlighting which line parts have changed";
|
2023-07-15 17:15:38 +00:00
|
|
|
homepage = "https://github.com/walles/riff";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ johnpyp ];
|
|
|
|
mainProgram = "riff";
|
|
|
|
};
|
|
|
|
}
|