mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +00:00
b2ed0f2cb9
Changelog: https://github.com/walles/riff/releases/tag/3.3.7 Diff: https://github.com/walles/riff/compare/3.3.6...3.3.7
40 lines
895 B
Nix
40 lines
895 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
riffdiff,
|
|
testers,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "riffdiff";
|
|
version = "3.3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "walles";
|
|
repo = "riff";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-PlE94OikRabxSr+23903nveXXa0DqqQmGgUJJfSZg1M=";
|
|
};
|
|
|
|
cargoHash = "sha256-ZDlhU6izva0lPi66Gv0fjpLcGiBBo/Ym6FizBhqmcuQ=";
|
|
|
|
passthru = {
|
|
tests.version = testers.testVersion { package = riffdiff; };
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
description = "Diff filter highlighting which line parts have changed";
|
|
homepage = "https://github.com/walles/riff";
|
|
changelog = "https://github.com/walles/riff/releases/tag/${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
johnpyp
|
|
getchoo
|
|
];
|
|
mainProgram = "riff";
|
|
};
|
|
}
|