2021-06-05 13:05:30 +00:00
|
|
|
{ pkgs, fetchFromGitHub, python3Packages, git, ... }:
|
2017-07-25 21:10:51 +00:00
|
|
|
|
2021-06-05 13:05:30 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2017-08-05 12:08:51 +00:00
|
|
|
name = "buildbot-classic-${version}";
|
2018-09-24 07:05:53 +00:00
|
|
|
version = "0.8.18";
|
2017-07-25 21:10:51 +00:00
|
|
|
namePrefix = "";
|
|
|
|
patches = [];
|
|
|
|
|
2017-08-05 12:49:59 +00:00
|
|
|
src = fetchFromGitHub {
|
2018-06-12 16:43:12 +00:00
|
|
|
owner = "krebs";
|
2017-08-05 12:49:59 +00:00
|
|
|
repo = "buildbot-classic";
|
2018-03-29 09:15:13 +00:00
|
|
|
rev = version;
|
2018-09-24 07:05:53 +00:00
|
|
|
sha256 = "0b4y3n9zd2gdy8xwk1vpvs4n9fbg72vi8mx4ydgijwngcmdqkjmq";
|
2017-07-25 21:10:51 +00:00
|
|
|
};
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/master";
|
|
|
|
|
2017-08-04 22:13:41 +00:00
|
|
|
propagatedBuildInputs = [
|
2021-06-05 13:05:30 +00:00
|
|
|
python3Packages.jinja2
|
|
|
|
python3Packages.twisted
|
|
|
|
python3Packages.dateutil
|
|
|
|
python3Packages.sqlalchemy_migrate
|
2017-08-04 22:13:41 +00:00
|
|
|
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"
|
|
|
|
'';
|
|
|
|
}
|
|
|
|
|