depot/third_party/nixpkgs/pkgs/by-name/di/diffedit3/package.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

30 lines
726 B
Nix

{ lib, rustPlatform, fetchCrate
, testers, nix-update-script, diffedit3
}:
rustPlatform.buildRustPackage rec {
pname = "diffedit3";
version = "0.5.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-zBdLz8O2WCR8SN0UXUAaEdIpmmL+LIaGt44STBw6nyU=";
};
cargoHash = "sha256-jZTXM+2Gd4N9D4Pj2KsuQ2MFPuWJdHg30u/5BlM3HEE=";
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 ];
};
}