nixpkgs/pkgs/tools/text/riffdiff/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
608 B
Nix
Raw Normal View History

2023-06-20 05:05:17 +00:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "riffdiff";
2023-08-25 15:23:15 +00:00
version = "2.25.2";
2023-06-20 05:05:17 +00:00
src = fetchFromGitHub {
owner = "walles";
repo = "riff";
rev = version;
2023-08-25 15:23:15 +00:00
hash = "sha256-JZWgI4yAsk+jtTyS3QZBxdAOPYmUxb7pn1SbcUeCh6Y=";
2023-06-20 05:05:17 +00:00
};
2023-08-25 15:23:15 +00:00
cargoHash = "sha256-Z33CGF02rPf24LaYh+wEmmGgPPw+oxMNCgMzCrUEKqk=";
2023-06-20 05:05:17 +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";
};
}