summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-07-29 00:28:54 +0200
committermakefu <github@syntax-fehler.de>2017-07-29 00:28:54 +0200
commitca33cce6101091075fdffbb866eda58b40b0334e (patch)
tree7b9fbf168eecb0d814df44f16727d939b0f774e6
parent1b5ab3384c7f1b695551d288a7464c6e838fee1f (diff)
buildbot-classic-slave: version detection with git
-rw-r--r--krebs/5pkgs/simple/buildbot-classic-slave/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/krebs/5pkgs/simple/buildbot-classic-slave/default.nix b/krebs/5pkgs/simple/buildbot-classic-slave/default.nix
index c316889e4..bbc824a6a 100644
--- a/krebs/5pkgs/simple/buildbot-classic-slave/default.nix
+++ b/krebs/5pkgs/simple/buildbot-classic-slave/default.nix
@@ -1,16 +1,15 @@
-{ coreutils, fetchgit, fetchFromGitHub, buildbot-classic, python2Packages, ... }:
+{ coreutils, fetchgit, git, buildbot-classic, python2Packages, ... }:
python2Packages.buildPythonApplication {
- name = "buildbot-classic-slave-0.8.12";
+ name = "buildbot-classic-slave-0.8.13";
namePrefix = "";
src = buildbot-classic.src;
postUnpack = "sourceRoot=\${sourceRoot}/slave";
- patchPhase = ''
- substituteInPlace buildslave/scripts/logwatcher.py --replace /usr/bin/tail ${coreutils}/bin/tail
- '';
+ patchPhase = ":";
+ nativeBuildInputs = [ git ];
propagatedBuildInputs = [ python2Packages.twisted ];
doCheck = false;