summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/5pkgs')
-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?
#