summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/redo-apenwarr/default.nix
blob: 7d08bbf6df2c0a58cd0fe1e460322dc3cea50528 (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
28
29
30
{stdenv, fetchFromGitHub, python2, which}:
stdenv.mkDerivation {
  pname = "redo-apenwarr";

  version = "unstable-2019-06-21";

  src = fetchFromGitHub {
    owner = "apenwarr";
    repo = "redo";
    rev = "8924fa35fa7363b531f8e6b48a1328d2407ad5cf";
    sha256 = "1dj20w29najqjyvk0jh5kqbcd10k32rad986q5mzv4v49qcwdc1q";
  };

  DESTDIR="";
  PREFIX = placeholder "out";

  patchPhase = ''
    patchShebangs .
  '';

  buildInputs = [ python2 which ];

  meta = with stdenv.lib; {
    description = "Apenwarr version of the redo build tool.";
    homepage = https://github.com/apenwarr/redo/;
    license = stdenv.lib.licenses.asl20;
    platforms = platforms.all;
    maintainers = with stdenv.lib.maintainers; [ andrewchambers ];
  };
}