mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
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`.
30 lines
630 B
Nix
30 lines
630 B
Nix
{ stdenv
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, zope_testrunner
|
|
, manuel
|
|
, docutils
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ZConfig";
|
|
version = "3.2.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "de0a802e5dfea3c0b3497ccdbe33a5023c4265f950f33e35dd4cf078d2a81b19";
|
|
};
|
|
|
|
patches = [ ./skip-broken-test.patch ];
|
|
|
|
buildInputs = [ manuel docutils ];
|
|
propagatedBuildInputs = [ zope_testrunner ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Structured Configuration Library";
|
|
homepage = https://pypi.python.org/pypi/ZConfig;
|
|
license = licenses.zpl20;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
};
|
|
}
|