nixpkgs/pkgs/development/python-modules/buildout-nix/default.nix
2017-12-04 22:13:16 +02:00

24 lines
636 B
Nix

{ fetchurl, stdenv, buildPythonPackage }:
buildPythonPackage rec {
pname = "zc.buildout";
version = "2.10.0";
name = "${pname}-nix-${version}";
src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz";
sha256 = "00wi0f6wpfl2gywr02x2yqvx6i1k0ll5w4lhdl0khijk4g7mk8dq";
};
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 ];
};
}