From b4e8ae13698ea1cd32e0b8e187a812687f28715b Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 5 Aug 2017 14:08:51 +0200 Subject: buildbot: bump to 0.8.14 --- krebs/5pkgs/simple/buildbot-classic/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'krebs') diff --git a/krebs/5pkgs/simple/buildbot-classic/default.nix b/krebs/5pkgs/simple/buildbot-classic/default.nix index f723e7255..3f70bf6a8 100644 --- a/krebs/5pkgs/simple/buildbot-classic/default.nix +++ b/krebs/5pkgs/simple/buildbot-classic/default.nix @@ -1,14 +1,15 @@ { pkgs, fetchgit, fetchFromGitHub, python2Packages, git, ... }: -python2Packages.buildPythonApplication { - name = "buildbot-classic-0.8.13"; +python2Packages.buildPythonApplication rec { + name = "buildbot-classic-${version}"; + version = "0.8.14"; namePrefix = ""; patches = []; src = fetchgit { url = "https://github.com/krebscode/buildbot-classic"; - rev = "da5c0204e"; - sha256 = "12aaq8ir9k7n2x9m2jnpcs4rr3pcixncbd3bm36ndh93n80q1z3j"; + rev = "f26147d17"; + sha256 = "096fzcg36qbvfqc3nx3g4608khlkwx81myl1dww1q2i1sa6bgzzh"; leaveDotGit = true; }; -- cgit v1.2.3 From ad7c43c727dcab7931ed0e17ec9b79b63d96766f Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 5 Aug 2017 14:49:59 +0200 Subject: buildbot{-slave}: simplify builder remove obsolete patchPhase, use fetchFromGitHub --- .../simple/buildbot-classic-slave/default.nix | 4 +--- krebs/5pkgs/simple/buildbot-classic/default.nix | 25 ++++++---------------- 2 files changed, 7 insertions(+), 22 deletions(-) (limited to 'krebs') diff --git a/krebs/5pkgs/simple/buildbot-classic-slave/default.nix b/krebs/5pkgs/simple/buildbot-classic-slave/default.nix index bbc824a6a..a48c45ae0 100644 --- a/krebs/5pkgs/simple/buildbot-classic-slave/default.nix +++ b/krebs/5pkgs/simple/buildbot-classic-slave/default.nix @@ -1,14 +1,12 @@ { coreutils, fetchgit, git, buildbot-classic, python2Packages, ... }: python2Packages.buildPythonApplication { - name = "buildbot-classic-slave-0.8.13"; + name = "buildbot-classic-slave-${buildbot-classic.version}"; namePrefix = ""; src = buildbot-classic.src; postUnpack = "sourceRoot=\${sourceRoot}/slave"; - patchPhase = ":"; - nativeBuildInputs = [ git ]; propagatedBuildInputs = [ python2Packages.twisted ]; doCheck = false; diff --git a/krebs/5pkgs/simple/buildbot-classic/default.nix b/krebs/5pkgs/simple/buildbot-classic/default.nix index 3f70bf6a8..d81f31296 100644 --- a/krebs/5pkgs/simple/buildbot-classic/default.nix +++ b/krebs/5pkgs/simple/buildbot-classic/default.nix @@ -1,4 +1,4 @@ -{ pkgs, fetchgit, fetchFromGitHub, python2Packages, git, ... }: +{ pkgs, fetchFromGitHub, python2Packages, git, ... }: python2Packages.buildPythonApplication rec { name = "buildbot-classic-${version}"; @@ -6,26 +6,13 @@ python2Packages.buildPythonApplication rec { namePrefix = ""; patches = []; - src = fetchgit { - url = "https://github.com/krebscode/buildbot-classic"; - rev = "f26147d17"; - sha256 = "096fzcg36qbvfqc3nx3g4608khlkwx81myl1dww1q2i1sa6bgzzh"; - leaveDotGit = true; - + src = fetchFromGitHub { + owner = "krebscode"; + repo = "buildbot-classic"; + rev = "v${version}"; + sha256 = "0j3mb3g3pgx9nar798igfva7pc5hzcg845gwz8lw7dxr504fky30"; }; postUnpack = "sourceRoot=\${sourceRoot}/master"; - buildInputs = [ git ]; - patchPhase = - # The code insists on /usr/bin/tail, /usr/bin/make, etc. - '' echo "patching erroneous absolute path references..." - for i in $(find -name \*.py) - do - sed -i "$i" \ - -e "s|/usr/bin/python|$(type -P python)|g ; s|/usr/bin/||g" - done - - sed -i 's/==/>=/' setup.py - ''; propagatedBuildInputs = [ python2Packages.jinja2 -- cgit v1.2.3 From f056e749e0c6bde171fd4a8feec2fa0b9832d4ad Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 5 Aug 2017 15:59:27 +0200 Subject: buildbot: pin to revision instead of tag --- krebs/5pkgs/simple/buildbot-classic/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'krebs') diff --git a/krebs/5pkgs/simple/buildbot-classic/default.nix b/krebs/5pkgs/simple/buildbot-classic/default.nix index d81f31296..8f37e9385 100644 --- a/krebs/5pkgs/simple/buildbot-classic/default.nix +++ b/krebs/5pkgs/simple/buildbot-classic/default.nix @@ -9,8 +9,9 @@ python2Packages.buildPythonApplication rec { src = fetchFromGitHub { owner = "krebscode"; repo = "buildbot-classic"; - rev = "v${version}"; - sha256 = "0j3mb3g3pgx9nar798igfva7pc5hzcg845gwz8lw7dxr504fky30"; + # rev = "v${version}"; + rev = "5e36c0ee8707dca8a24688d0b17f1047b0bf5bb5"; + sha256 = "13wc0cw5p50npc1skhf22lcdirxp41y08bnhrp10n76l6wg0r4ma"; }; postUnpack = "sourceRoot=\${sourceRoot}/master"; -- cgit v1.2.3 From d1995f035a2f2317243ae257f9f1e5a1b8dfea56 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 5 Aug 2017 16:26:16 +0200 Subject: buildbot: bump to latest rev --- krebs/5pkgs/simple/buildbot-classic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'krebs') diff --git a/krebs/5pkgs/simple/buildbot-classic/default.nix b/krebs/5pkgs/simple/buildbot-classic/default.nix index 8f37e9385..874348181 100644 --- a/krebs/5pkgs/simple/buildbot-classic/default.nix +++ b/krebs/5pkgs/simple/buildbot-classic/default.nix @@ -10,8 +10,8 @@ python2Packages.buildPythonApplication rec { owner = "krebscode"; repo = "buildbot-classic"; # rev = "v${version}"; - rev = "5e36c0ee8707dca8a24688d0b17f1047b0bf5bb5"; - sha256 = "13wc0cw5p50npc1skhf22lcdirxp41y08bnhrp10n76l6wg0r4ma"; + rev = "f40159404"; + sha256 = "0zyjn0bs3vbz89h1vbmn4f27vzl4zkxwnp5kdxnkczdsvpsdycks"; }; postUnpack = "sourceRoot=\${sourceRoot}/master"; -- cgit v1.2.3