2017-08-05 12:49:59 +00:00
|
|
|
{ pkgs, fetchFromGitHub, python2Packages, git, ... }:
|
2017-07-25 21:10:51 +00:00
|
|
|
|
2017-08-05 12:08:51 +00:00
|
|
|
python2Packages.buildPythonApplication rec {
|
|
|
|
name = "buildbot-classic-${version}";
|
|
|
|
version = "0.8.14";
|
2017-07-25 21:10:51 +00:00
|
|
|
namePrefix = "";
|
|
|
|
patches = [];
|
|
|
|
|
2017-08-05 12:49:59 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "krebscode";
|
|
|
|
repo = "buildbot-classic";
|
2017-08-05 13:59:27 +00:00
|
|
|
# rev = "v${version}";
|
|
|
|
rev = "5e36c0ee8707dca8a24688d0b17f1047b0bf5bb5";
|
|
|
|
sha256 = "13wc0cw5p50npc1skhf22lcdirxp41y08bnhrp10n76l6wg0r4ma";
|
2017-07-25 21:10:51 +00:00
|
|
|
};
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/master";
|
|
|
|
|
2017-08-04 22:13:41 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
python2Packages.jinja2
|
|
|
|
python2Packages.twisted
|
|
|
|
python2Packages.dateutil_1_5
|
|
|
|
python2Packages.sqlalchemy_migrate
|
|
|
|
python2Packages.pysqlite
|
|
|
|
pkgs.coreutils
|
2017-07-25 21:10:51 +00:00
|
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p "$out/share/man/man1"
|
|
|
|
cp docs/buildbot.1 "$out/share/man/man1"
|
|
|
|
'';
|
|
|
|
}
|
|
|
|
|