nixpkgs/pkgs/by-name/di/diffedit3/package.nix
2025-06-07 14:13:08 +00:00

36 lines
768 B
Nix

{
lib,
rustPlatform,
fetchCrate,
testers,
nix-update-script,
diffedit3,
}:
rustPlatform.buildRustPackage rec {
pname = "diffedit3";
version = "0.6.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-o3Y3SQLkMxYMepGyvK6m/8aA5ZDwCAYdYUhGplkckjU=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-XAtp5pCKFQRqyF9Y0udrcudgF5i3vWxk//kZ/hRsFaA=";
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 ];
};
}