mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
pythonPackages.zodb: 4.0.1 -> 5.2.4
This commit is contained in:
parent
f06a5f4935
commit
3ba2300b2d
48
pkgs/development/python-modules/zodb/default.nix
Normal file
48
pkgs/development/python-modules/zodb/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ stdenv
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, zope_testrunner
|
||||
, transaction
|
||||
, six
|
||||
, wheel
|
||||
, zope_interface
|
||||
, zodbpickle
|
||||
, zconfig
|
||||
, persistent
|
||||
, zc_lockfile
|
||||
, BTrees
|
||||
, manuel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ZODB";
|
||||
version = "5.2.4";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1pya0inkkxaqmi14gp796cidf894nz64n603zk670jj9xz0wkhgc";
|
||||
};
|
||||
|
||||
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 = http://pypi.python.org/pypi/ZODB;
|
||||
license = licenses.zpl21;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
}
|
@ -24649,33 +24649,7 @@ EOF
|
||||
};
|
||||
};
|
||||
|
||||
zodb = buildPythonPackage rec {
|
||||
name = "zodb-${version}";
|
||||
disabled = isPyPy;
|
||||
|
||||
version = "4.0.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/Z/ZODB/ZODB-${version}.tar.gz";
|
||||
sha256 = "c5d8ffcca37ab4d0a9bfffead6228d58c00cf1c78135abc98a8dbf05b8c8fb58";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ manuel transaction zc_lockfile zconfig zdaemon zope_interface persistent BTrees ]
|
||||
++ optionals isPy3k [ zodbpickle ];
|
||||
|
||||
preCheck = if isPy3k then ''
|
||||
# test failure on py3.4
|
||||
rm src/ZODB/tests/testDB.py
|
||||
rm src/ZODB/tests/test_fsdump.py # Error with Python 3.6
|
||||
'' else "";
|
||||
|
||||
meta = {
|
||||
description = "An object-oriented database for Python";
|
||||
homepage = http://pypi.python.org/pypi/ZODB;
|
||||
license = licenses.zpl20;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
};
|
||||
zodb = callPackage ../development/python-modules/zodb {};
|
||||
|
||||
zodbpickle = callPackage ../development/python-modules/zodbpickle {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user