nixpkgs/pkgs/development/python-modules/buildout-nix/default.nix
2017-08-18 10:46:03 +03:00

23 lines
647 B
Nix

{ fetchurl, stdenv, buildPythonPackage }:
buildPythonPackage rec {
pname = "zc.buildout";
version = "2.9.4";
name = "${pname}-nix-${version}";
src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz";
sha256 = "df56cc55735e984510986c633090ad0d64f59d7e42d1aac57ecf04ab183d1053";
};
patches = [ ./nix.patch ];
postInstall = "mv $out/bin/buildout{,-nix}";
meta = {
homepage = http://www.buildout.org;
description = "A software build and configuration system";
license = stdenv.lib.licenses.zpl21;
maintainers = [ stdenv.lib.maintainers.goibhniu ];
};
}