buildbot-classic-slave: version detection with git

This commit is contained in:
makefu 2017-07-29 00:28:54 +02:00
parent 1b5ab3384c
commit ca33cce610
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -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;