nixpkgs/pkgs/development/python-modules/zodb/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

52 lines
921 B
Nix

{ stdenv
, fetchPypi
, buildPythonPackage
, isPy3k
, zope_testrunner
, transaction
, six
, wheel
, zope_interface
, zodbpickle
, zconfig
, persistent
, zc_lockfile
, BTrees
, manuel
}:
buildPythonPackage rec {
pname = "ZODB";
version = "5.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0b306042f4f0d558a477d65c34b0dd6e7604c6e583f55dfda52befa2fa13e076";
};
patches = [
./ZODB-5.3.0-fix-tests.patch
];
propagatedBuildInputs = [
manuel
transaction
zope_testrunner
six
wheel
zope_interface
zodbpickle
zconfig
persistent
zc_lockfile
BTrees
];
meta = with stdenv.lib; {
description = "Zope Object Database: object database and persistence";
homepage = https://pypi.python.org/pypi/ZODB;
license = licenses.zpl21;
maintainers = with maintainers; [ goibhniu ];
};
}