diff options
author | makefu <github@syntax-fehler.de> | 2017-07-23 23:52:01 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-07-23 23:52:01 +0200 |
commit | f5459736cfbf2f3f23d525887184eadd743e6e91 (patch) | |
tree | 5b95a8b843b9e2423a8d2e9c0900f4b325942ad3 | |
parent | 4c698a40dc7a7537b588985130fd6e40fea8ba9b (diff) |
buildbot-slave: use buildbot-classic
-rw-r--r-- | krebs/5pkgs/simple/buildbot-slave/default.nix | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/krebs/5pkgs/simple/buildbot-slave/default.nix b/krebs/5pkgs/simple/buildbot-slave/default.nix index 30fbe0569..7cf7cd5e3 100644 --- a/krebs/5pkgs/simple/buildbot-slave/default.nix +++ b/krebs/5pkgs/simple/buildbot-slave/default.nix @@ -1,19 +1,18 @@ -{ stdenv, buildPythonApplication, fetchurl, coreutils, twisted }: +{ stdenv, python2Packages, fetchFromGitHub, coreutils }: -buildPythonApplication (rec { - name = "buildbot-slave-0.8.10"; - namePrefix = ""; +python2Packages.buildPythonApplication (rec { + name = "buildbot-slave-classic-2017-07-23"; - src = fetchurl { - url = "https://pypi.python.org/packages/source/b/buildbot-slave/${name}.tar.gz"; - sha256 = "09pncw44c7vqrl7zyn1nvfismiqi9s51axk9cqxn9gq7jhj38mpg"; + src = fetchFromGitHub { + owner = "krebscode"; + repo = "buildbot-classic"; + rev = "7c2826756a00ade7a1d6d20b4e9430710d2bc29e"; + sha256 = "0za2k5kap6zky304rjknlvm3gyvw0q0p52c3jjmkf708s9gmyfyg"; }; - patchPhase = '' - substituteInPlace buildslave/scripts/logwatcher.py --replace /usr/bin/tail ${coreutils}/bin/tail - ''; + postUnpack = "sourceRoot=\${sourceRoot}/slave"; - propagatedBuildInputs = [ twisted ]; + propagatedBuildInputs = with python2Packages; [ twisted pathlib ]; # What's up with this?! 'trial' should be 'test', no? # |