diff options
author | tv <tv@krebsco.de> | 2017-07-27 20:43:34 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-07-27 20:43:34 +0200 |
commit | 904b78d7352ddddcc514f325f8bc1e447a4c05ff (patch) | |
tree | 9436bfd0d04bdf84386d5d7399fe6adf13fb9a04 /krebs/5pkgs/simple/buildbot-classic-slave | |
parent | 252d45d212ad0b67336636914a721eb08b5df1c3 (diff) | |
parent | 9e0a791281c216b150e4c35a5d4011353237ddfd (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'krebs/5pkgs/simple/buildbot-classic-slave')
-rw-r--r-- | krebs/5pkgs/simple/buildbot-classic-slave/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/buildbot-classic-slave/default.nix b/krebs/5pkgs/simple/buildbot-classic-slave/default.nix new file mode 100644 index 000000000..c316889e4 --- /dev/null +++ b/krebs/5pkgs/simple/buildbot-classic-slave/default.nix @@ -0,0 +1,21 @@ +{ coreutils, fetchgit, fetchFromGitHub, buildbot-classic, python2Packages, ... }: + +python2Packages.buildPythonApplication { + name = "buildbot-classic-slave-0.8.12"; + namePrefix = ""; + + src = buildbot-classic.src; + postUnpack = "sourceRoot=\${sourceRoot}/slave"; + + patchPhase = '' + substituteInPlace buildslave/scripts/logwatcher.py --replace /usr/bin/tail ${coreutils}/bin/tail + ''; + + propagatedBuildInputs = [ python2Packages.twisted ]; + doCheck = false; + + postInstall = '' + mkdir -p "$out/share/man/man1" + cp docs/buildslave.1 "$out/share/man/man1" + ''; +} |