nixpkgs/pkgs/development/python-modules/buildout-nix/default.nix
2017-10-27 21:34:42 +02:00

24 lines
647 B
Nix

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