about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/build-managers/kati/default.nix
blob: 03cc0518ab517487837a56193e6d6c226b615fb1 (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
{ fetchgit, stdenv }:

stdenv.mkDerivation rec {
  pname = "kati-unstable";
  version = "2017-05-23";
  rev = "2dde61e46ab789f18956ff3b7c257dd8eb97993f";

  src = fetchgit {
    inherit rev;
    url = "https://github.com/google/kati.git";
    sha256 = "1das1fvycra546lmh72cr5qpgblhbzqqy7gfywiijjgx160l75vq";
  };

  patches = [ ./version.patch ];

  installPhase = ''
    install -D ckati $out/bin/ckati
  '';

  meta = {
    description = "An experimental GNU make clone";
    homepage = https://github.com/google/kati;
    platforms = stdenv.lib.platforms.all;
    license = stdenv.lib.licenses.asl20;
  };
}