mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
73d985f1b5
Fixes issue mentioned in https://github.com/NixOS/nixpkgs/pull/33992#issuecomment-360937226
28 lines
752 B
Nix
28 lines
752 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, setuptools }:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
pname = "buildbot-pkg";
|
|
version = "0.9.15.post1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0gsa5fi1gkwnz8dsrl2s5kzcfawnj3nl8g8h6z1winz627l9n8sh";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|