27 lines
758 B
Nix
27 lines
758 B
Nix
{ stdenv, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication (rec {
|
|
name = "${pname}-${version}";
|
|
pname = "buildbot-worker";
|
|
version = "1.0.0";
|
|
|
|
src = pythonPackages.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0ws31ypmksah1c83h4npwg560p8v7n9j6l94p79y5pispjsgzqzl";
|
|
};
|
|
|
|
buildInputs = with pythonPackages; [ setuptoolsTrial mock ];
|
|
propagatedBuildInputs = with pythonPackages; [ twisted future ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace buildbot_worker/scripts/logwatcher.py --replace '/usr/bin/tail' "$(type -P tail)"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://buildbot.net/;
|
|
description = "Buildbot Worker Daemon";
|
|
maintainers = with maintainers; [ nand0p ryansydnor ];
|
|
license = licenses.gpl2;
|
|
};
|
|
})
|