mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
4071a3089e
Diff: https://github.com/walles/riff/compare/refs/tags/3.3.3...3.3.6 Changelog: https://github.com/walles/riff/releases/tag/3.3.6
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.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "walles";
|
|
repo = "riff";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-qXFSO2VIPaGnB+5Wp/u0FTcKnpcMLxW6uNykKL681lU=";
|
|
};
|
|
|
|
cargoHash = "sha256-i6/wa2/ogyLwLBdIXqTYdJX9+SFf+p7Zm2j2Q3mje6w=";
|
|
|
|
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";
|
|
};
|
|
}
|