From f5459736cfbf2f3f23d525887184eadd743e6e91 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 23 Jul 2017 23:52:01 +0200 Subject: buildbot-slave: use buildbot-classic --- krebs/5pkgs/simple/buildbot-slave/default.nix | 21 ++++++++++----------- 1 file 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? # -- cgit v1.2.3