2018-01-26 23:54:43 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, setuptools }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "buildbot-pkg";
|
2018-06-12 17:47:08 +01:00
|
|
|
version = "1.2.0";
|
2018-01-26 23:54:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 17:47:08 +01:00
|
|
|
sha256 = "70f429311c5812ffd334f023f4f50b904be5c672c8674ee6d28a11a7c096f18a";
|
2018-01-26 23:54:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ setuptools ];
|
|
|
|
|
2018-02-03 09:05:53 +00:00
|
|
|
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" ""
|
|
|
|
'';
|
|
|
|
|
2018-01-26 23:54:43 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://buildbot.net/;
|
|
|
|
description = "Buildbot Packaging Helper";
|
|
|
|
maintainers = with maintainers; [ nand0p ryansydnor ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|