nixpkgs/pkgs/development/tools/build-managers/buildbot/pkg.nix

28 lines
757 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, setuptools }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "buildbot-pkg";
2018-04-08 08:35:05 +02:00
version = "1.1.1";
src = fetchPypi {
inherit pname version;
2018-04-08 08:35:05 +02:00
sha256 = "7b255f5ec97946c3d32e822b8fcbff0459cfe4f94fb26ee4813ffd80440c93e8";
};
propagatedBuildInputs = [ setuptools ];
postPatch = ''
# Their listdir function filters out `node_modules` folders.
# Do we have to care about that with Nix...?
substituteInPlace buildbot_pkg.py --replace "os.listdir = listdir" ""
'';
meta = with stdenv.lib; {
homepage = http://buildbot.net/;
description = "Buildbot Packaging Helper";
maintainers = with maintainers; [ nand0p ryansydnor ];
license = licenses.gpl2;
};
}