summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/buildbot-classic-slave/default.nix
blob: a48c45ae05515a2a8613f5175d9910d880d0a14e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ coreutils, fetchgit, git, buildbot-classic, python2Packages, ... }:

python2Packages.buildPythonApplication {
  name = "buildbot-classic-slave-${buildbot-classic.version}";
  namePrefix = "";

  src = buildbot-classic.src;
  postUnpack = "sourceRoot=\${sourceRoot}/slave";

  nativeBuildInputs = [ git ];
  propagatedBuildInputs = [ python2Packages.twisted ];
  doCheck = false;

  postInstall = ''
    mkdir -p "$out/share/man/man1"
    cp docs/buildslave.1 "$out/share/man/man1"
  '';
}