ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
23 lines
546 B
Nix
23 lines
546 B
Nix
{ fetchPypi, stdenv, buildPythonPackage }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zc.buildout";
|
|
version = "2.11.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "537a22715d82362cddd811da08d11a31d30d5161ce7994b208bd85ebb348d122";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|