summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/buildbot-slave/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-07-23 23:52:01 +0200
committermakefu <github@syntax-fehler.de>2017-07-23 23:52:01 +0200
commitf5459736cfbf2f3f23d525887184eadd743e6e91 (patch)
tree5b95a8b843b9e2423a8d2e9c0900f4b325942ad3 /krebs/5pkgs/simple/buildbot-slave/default.nix
parent4c698a40dc7a7537b588985130fd6e40fea8ba9b (diff)
buildbot-slave: use buildbot-classic
Diffstat (limited to 'krebs/5pkgs/simple/buildbot-slave/default.nix')
-rw-r--r--krebs/5pkgs/simple/buildbot-slave/default.nix21
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?
#