summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-07-28 23:47:07 +0200
committermakefu <github@syntax-fehler.de>2017-07-28 23:47:07 +0200
commita4382f83ec341f664b49995653ebc96a38c850df (patch)
tree561a18495abe158b82e669609e90b4122ddf9840 /krebs/5pkgs
parent9884b522fe922a1f20cc1217ece0e79a49a64e92 (diff)
buildbot-classic: guess version name with git
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r--krebs/5pkgs/simple/buildbot-classic/default.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/krebs/5pkgs/simple/buildbot-classic/default.nix b/krebs/5pkgs/simple/buildbot-classic/default.nix
index a3d924c4a..3cb766e92 100644
--- a/krebs/5pkgs/simple/buildbot-classic/default.nix
+++ b/krebs/5pkgs/simple/buildbot-classic/default.nix
@@ -1,4 +1,4 @@
-{ fetchgit, fetchFromGitHub, python2Packages, ... }:
+{ fetchgit, fetchFromGitHub, python2Packages, git, ... }:
let
# https://github.com/NixOS/nixpkgs/issues/14026
nixpkgs-fix = import (fetchgit {
@@ -8,7 +8,7 @@ let
}) {};
in nixpkgs-fix.buildPythonApplication {
- name = "buildbot-classic-0.8.12";
+ name = "buildbot-classic-0.8.13";
namePrefix = "";
patches = [];
@@ -19,7 +19,7 @@ in nixpkgs-fix.buildPythonApplication {
sha256 = "1j3xn1gjzvsf90jvfmyln71fzlhjx642ivrqf47zfxpkacljja93";
};
postUnpack = "sourceRoot=\${sourceRoot}/master";
-
+ nativeBuildInputs = [ nixpkgs-fix.git ];
patchPhase =
# The code insists on /usr/bin/tail, /usr/bin/make, etc.
'' echo "patching erroneous absolute path references..."
@@ -32,11 +32,11 @@ in nixpkgs-fix.buildPythonApplication {
sed -i 's/==/>=/' setup.py
'';
- propagatedBuildInputs = [
- python2Packages.jinja2
- python2Packages.twisted
- nixpkgs-fix.pythonPackages.dateutil_1_5
- nixpkgs-fix.pythonPackages.sqlalchemy_migrate_0_7
+ propagatedBuildInputs = with nixpkgs-fix.pythonPackages; [
+ jinja2
+ twisted
+ dateutil_1_5
+ sqlalchemy_migrate_0_7
];
doCheck = false;
postInstall = ''