2023-07-15 17:15:38 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "riffdiff";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "3.1.3";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "walles";
|
|
|
|
repo = "riff";
|
|
|
|
rev = version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-wBLVH4Yrvj3rU5tRaxV8BBWkR2xLMxjkwjJ4rf1hHXk=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
cargoHash = "sha256-4qskpcDE9l+7KjcVRou4GcdG7aF8stKXK12WBy81UBw=";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|