33 lines
791 B
Nix
33 lines
791 B
Nix
{ pkgs, fetchFromGitHub, python2Packages, git, ... }:
|
|
|
|
python2Packages.buildPythonApplication rec {
|
|
name = "buildbot-classic-${version}";
|
|
version = "0.8.14";
|
|
namePrefix = "";
|
|
patches = [];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "krebscode";
|
|
repo = "buildbot-classic";
|
|
# rev = "v${version}";
|
|
rev = "843463911";
|
|
sha256 = "1ybl52ybjw5p09yik6bck9i1pvnvg94i0d32zqrwy67s77yx1mfd";
|
|
};
|
|
postUnpack = "sourceRoot=\${sourceRoot}/master";
|
|
|
|
propagatedBuildInputs = [
|
|
python2Packages.jinja2
|
|
python2Packages.twisted
|
|
python2Packages.dateutil_1_5
|
|
python2Packages.sqlalchemy_migrate
|
|
python2Packages.pysqlite
|
|
pkgs.coreutils
|
|
];
|
|
doCheck = false;
|
|
postInstall = ''
|
|
mkdir -p "$out/share/man/man1"
|
|
cp docs/buildbot.1 "$out/share/man/man1"
|
|
'';
|
|
}
|
|
|