1{
2 lib,
3 rustPlatform,
4 fetchCrate,
5 testers,
6 nix-update-script,
7 diffedit3,
8}:
9
10rustPlatform.buildRustPackage rec {
11 pname = "diffedit3";
12 version = "0.6.0";
13
14 src = fetchCrate {
15 inherit pname version;
16 hash = "sha256-o3Y3SQLkMxYMepGyvK6m/8aA5ZDwCAYdYUhGplkckjU=";
17 };
18
19 cargoHash = "sha256-XAtp5pCKFQRqyF9Y0udrcudgF5i3vWxk//kZ/hRsFaA=";
20
21 passthru = {
22 updateScript = nix-update-script { };
23 tests = testers.testVersion {
24 package = diffedit3;
25 };
26 };
27
28 meta = with lib; {
29 homepage = "https://github.com/ilyagr/diffedit3";
30 description = "3-pane diff editor";
31 license = with licenses; [ asl20 ];
32 mainProgram = "diffedit3";
33 maintainers = with maintainers; [ thoughtpolice ];
34 };
35}