31 lines
723 B
Nix
31 lines
723 B
Nix
{ pkgs, fetchFromGitHub, python3Packages, git, ... }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
name = "buildbot-classic-${version}";
|
|
version = "0.8.18";
|
|
namePrefix = "";
|
|
patches = [];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "krebs";
|
|
repo = "buildbot-classic";
|
|
rev = version;
|
|
sha256 = "0b4y3n9zd2gdy8xwk1vpvs4n9fbg72vi8mx4ydgijwngcmdqkjmq";
|
|
};
|
|
postUnpack = "sourceRoot=\${sourceRoot}/master";
|
|
|
|
propagatedBuildInputs = [
|
|
python3Packages.jinja2
|
|
python3Packages.twisted
|
|
python3Packages.dateutil
|
|
python3Packages.sqlalchemy_migrate
|
|
pkgs.coreutils
|
|
];
|
|
doCheck = false;
|
|
postInstall = ''
|
|
mkdir -p "$out/share/man/man1"
|
|
cp docs/buildbot.1 "$out/share/man/man1"
|
|
'';
|
|
}
|
|
|