1{ fetchPypi, stdenv, buildPythonPackage }:
2
3buildPythonPackage rec {
4 pname = "zc.buildout";
5 version = "2.12.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1e180b62fd129a68cb3a9ec8eb0ef457e18921269a93e87ef2cc34519415332d";
10 };
11
12 patches = [ ./nix.patch ];
13
14 postInstall = "mv $out/bin/buildout{,-nix}";
15
16 meta = {
17 homepage = http://www.buildout.org;
18 description = "A software build and configuration system";
19 license = stdenv.lib.licenses.zpl21;
20 maintainers = [ stdenv.lib.maintainers.goibhniu ];
21 };
22}