nixpkgs-suyu/pkgs/development/python-modules/buildout-nix/default.nix

24 lines
648 B
Nix
Raw Normal View History

{ fetchurl, stdenv, buildPythonPackage }:
buildPythonPackage rec {
pname = "zc.buildout";
2018-02-03 10:51:34 +01:00
version = "2.11.0";
name = "${pname}-nix-${version}";
src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz";
2018-02-03 10:51:34 +01:00
sha256 = "092b0a147d5fb4e79ee0afde665570f85738e714463854f9e4f7f38d0b27ea82";
};
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 ];
};
}