2023-06-20 07:05:17 +02:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "riffdiff";
|
2023-09-30 01:49:34 +02:00
|
|
|
version = "2.27.0";
|
2023-06-20 07:05:17 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "walles";
|
|
|
|
repo = "riff";
|
|
|
|
rev = version;
|
2023-09-30 01:49:34 +02:00
|
|
|
hash = "sha256-yrIZsCxoFV9LFh96asYxpAYv1KvrLq+RlqL8gZXaeak=";
|
2023-06-20 07:05:17 +02:00
|
|
|
};
|
|
|
|
|
2023-09-30 01:49:34 +02:00
|
|
|
cargoHash = "sha256-tO49qAEW15q76hLcHOtniwLqGy29MZ/dabyZHYAsiME=";
|
2023-06-20 07:05:17 +02: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";
|
|
|
|
};
|
|
|
|
}
|