1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-24 02:00:41 +03:00
nixpkgs/pkgs/development/python-modules/buildbot/worker.nix

33 lines
831 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, buildbot, setuptoolsTrial, mock, twisted,
future, coreutils, nixosTests }:
2017-12-16 23:06:43 -05:00
buildPythonPackage (rec {
pname = "buildbot-worker";
inherit (buildbot) version;
2017-12-16 23:06:43 -05:00
src = fetchPypi {
inherit pname version;
2021-04-07 00:21:38 -04:00
sha256 = "0n5p9x9gz276nv1m8vn3d74jfbd35gff332cjxxqvabk06iqcjp6";
};
2017-12-16 23:06:43 -05:00
propagatedBuildInputs = [ twisted future ];
checkInputs = [ setuptoolsTrial mock ];
postPatch = ''
2019-06-22 20:39:14 -04:00
substituteInPlace buildbot_worker/scripts/logwatcher.py \
--replace /usr/bin/tail "${coreutils}/bin/tail"
'';
passthru.tests = {
smoke-test = nixosTests.buildbot;
};
2017-12-16 23:06:43 -05:00
meta = with lib; {
2019-10-26 21:27:30 -04:00
homepage = "https://buildbot.net/";
description = "Buildbot Worker Daemon";
2019-08-18 13:20:18 -04:00
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
};
})