buildbot: bump to version 0.8.7p1 (latest stable)

* 0.8.7p1 doesn't contain *.info documentation; use manpage
  instead
* Update meta.description to not contain the package name (redundant)
* 0.8.7p1 only builds with python dateutil==1.5, so that has to be added
  as well

Runtime tested with the buildbot slave that is added in the next commit.
This commit is contained in:
Bjørn Forsman
2013-05-08 22:09:05 +02:00
parent 9a08612286
commit a36577367e
3 changed files with 51 additions and 14 deletions
@@ -1,12 +1,20 @@
{ fetchurl, stdenv, buildPythonPackage, twisted, texinfo }:
{ stdenv, buildPythonPackage, fetchurl, twisted, dateutil, jinja2
, sqlalchemy , sqlalchemy_migrate
, enableDebugClient ? false, pygobject ? null, pyGtkGlade ? null
}:
# enableDebugClient enables "buildbot debugclient", a Gtk-based debug control
# panel. Its mostly for developers.
assert enableDebugClient -> pygobject != null && pyGtkGlade != null;
buildPythonPackage (rec {
name = "buildbot-0.7.11p3";
name = "buildbot-0.8.7p1";
namePrefix = "";
src = fetchurl {
url = "mirror://sourceforge/buildbot/${name}.tar.gz";
sha256 = "0h77ijf5iqvc8bnfxpsh3hvpr7wj23pkcywd3hcyphv1wwlhmhjv";
url = "http://buildbot.googlecode.com/files/${name}.tar.gz";
sha256 = "0xjpk8510fhryl1g4mczz319h62il8hw9rh1rzvsfmffgf43zvld";
};
patchPhase =
@@ -19,17 +27,27 @@ buildPythonPackage (rec {
done
'';
buildInputs = [ texinfo ];
propagatedBuildInputs = [ twisted ];
buildInputs = [ ];
# FIXME: Some tests fail.
propagatedBuildInputs =
[ twisted dateutil jinja2 sqlalchemy sqlalchemy_migrate
] ++ stdenv.lib.optional enableDebugClient [ pygobject pyGtkGlade ];
# What's up with this?! 'trial' should be 'test', no?
#
# running tests
# usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
# or: setup.py --help [cmd1 cmd2 ...]
# or: setup.py --help-commands
# or: setup.py cmd --help
#
# error: invalid command 'trial'
doCheck = false;
postInstall =
'' mkdir -p "$out/share/info"
make -C docs buildbot.info
cp -v "docs/buildbot.info"* "$out/share/info"
'';
postInstall = ''
mkdir -p "$out/share/man/man1"
cp docs/buildbot.1 "$out/share/man/man1"
'';
meta = {
homepage = http://buildbot.net/;
@@ -37,7 +55,7 @@ buildPythonPackage (rec {
license = "GPLv2+";
# Of course, we don't really need that on NixOS. :-)
description = "BuildBot, a system to automate the software compile/test cycle";
description = "Continuous integration system that automates the build/test cycle";
longDescription =
'' The BuildBot is a system to automate the compile/test cycle