1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 04:48:10 +00:00
nixpkgs/pkgs/development/python-modules/zconfig/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
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`.
2018-06-23 18:14:26 +02:00

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 ];
};
}