stockholm/krebs/5pkgs/simple/buildbot-classic/default.nix
2018-03-29 11:15:13 +02:00

32 lines
760 B
Nix

{ pkgs, fetchFromGitHub, python2Packages, git, ... }:
python2Packages.buildPythonApplication rec {
name = "buildbot-classic-${version}";
version = "0.8.15";
namePrefix = "";
patches = [];
src = fetchFromGitHub {
owner = "krebscode";
repo = "buildbot-classic";
rev = version;
sha256 = "0hmmpqxs1i3nvwj9681yi0q3qz0xdcbbm0774lkn1ic5fg3c68fm";
};
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"
'';
}