about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/n2/n2/package.nix
blob: 4e88285c3e0f11c7b3b9b3e819ca3e0c3c9537b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, rustPlatform
, fetchFromGitHub
}:

rustPlatform.buildRustPackage {
  pname = "n2";
  version = "unstable-2023-10-10";

  src = fetchFromGitHub {
    owner = "evmar";
    repo = "n2";
    rev = "90041c1f010d27464e3b18e38440ed9855ea62ef";
    hash = "sha256-svJPcriSrqloJlr7pIp/k84O712l4ZEPlSr58GPANXY=";
  };

  cargoHash = "sha256-jrIo0N3o2fYe3NgNG33shkMd0rJxi5evtidCL9BcfVc=";

  meta = with lib; {
    homepage = "https://github.com/evmar/n2";
    description = "A ninja compatible build system";
    mainProgram = "n2";
    license = licenses.asl20;
    maintainers = with maintainers; [ fgaz ];
    platforms = platforms.all;
  };
}