2024-05-14 00:44:10 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate
|
|
|
|
, testers, nix-update-script, diffedit3
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "diffedit3";
|
2024-10-02 02:39:44 +00:00
|
|
|
version = "0.5.0";
|
2024-05-14 00:44:10 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-10-02 02:39:44 +00:00
|
|
|
hash = "sha256-zBdLz8O2WCR8SN0UXUAaEdIpmmL+LIaGt44STBw6nyU=";
|
2024-05-14 00:44:10 +00:00
|
|
|
};
|
|
|
|
|
2024-10-02 02:39:44 +00:00
|
|
|
cargoHash = "sha256-jZTXM+2Gd4N9D4Pj2KsuQ2MFPuWJdHg30u/5BlM3HEE=";
|
2024-05-14 00:44:10 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = nix-update-script { };
|
|
|
|
tests = testers.testVersion {
|
|
|
|
package = diffedit3;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/ilyagr/diffedit3";
|
|
|
|
description = "3-pane diff editor";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
mainProgram = "diffedit3";
|
|
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|