forked from mirrors/nixpkgs
85546a8e31
* Updated scons to version 1.0.0. Also added appropriate makeWrapper calls to ensure that the python binary finds its library files. * Updated Twisted from 2.5 to 8.1. * Added an expression for buildbot. svn path=/nixpkgs/trunk/; revision=12782
22 lines
732 B
Nix
22 lines
732 B
Nix
{stdenv, fetchurl, python, twisted, makeWrapper}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "buildbot-${version}";
|
|
version = "0.7.8";
|
|
meta = {
|
|
homepage = "http://buildbot.net/";
|
|
description = "A system to automate the compile/test cycle to validate code changes.";
|
|
};
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/buildbot/buildbot-${version}.tar.gz";
|
|
sha256 = "0f3qkbs1y4a1djxbfkvsr1639qkc7bzzsz2wpas2mk1zg8zrci2v";
|
|
};
|
|
propagatedBuildInputs = [python twisted makeWrapper];
|
|
buildPhase = "true";
|
|
installPhase =
|
|
''
|
|
python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) -O1
|
|
for n in $out/bin/*; do wrapProgram $n --set PYTHONPATH "$(toPythonPath $out):$PYTHONPATH"; done
|
|
'';
|
|
}
|