@@ -0,0 +1,30 @@
1+{stdenv, fetchFromGitHub, python2, which}:
2+stdenv.mkDerivation rec {
3+ name = "redo-apenwarr-${version}";
4+
5+ version = "unstable-2019-06-21";
6+
7+ src = fetchFromGitHub {
8+ owner = "apenwarr";
9+ repo = "redo";
10+ rev = "8924fa35fa7363b531f8e6b48a1328d2407ad5cf";
11+ sha256 = "1dj20w29najqjyvk0jh5kqbcd10k32rad986q5mzv4v49qcwdc1q";
12+ };
13+
14+ DESTDIR="";
15+ PREFIX = placeholder "out";
16+
17+ patchPhase = ''
18+ patchShebangs .
19+ '';
20+
21+ buildInputs = [ python2 which ];
22+
23+ meta = with stdenv.lib; {
24+ description = "Apenwarr version of the redo build tool.";
25+ homepage = https://github.com/apenwarr/redo/;
26+ license = stdenv.lib.licenses.asl20;
27+ platforms = platforms.all;
28+ maintainers = with stdenv.lib.maintainers; [ andrewchambers ];
29+ };
30+}