git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.zodb: 4.0.1 -> 5.2.4
commit3ba2300b2d24fd90e97468a605d50b5441c2770f authoradisbladis <adis@blad.is> dateWed 9 Aug 2017, 13:18 (9 years ago) parentf06a5f4
2 files changed+49−27
pkgs/development/python-modules/zodb/default.nix+48 pkgs/top-level/python-packages.nix+1−27
pkgs/development/python-modules/zodb/default.nixnew file+48
@@ -0,0 +1,48 @@
1+{ stdenv
2+, fetchPypi
3+, buildPythonPackage
4+, isPy3k
5+, zope_testrunner
6+, transaction
7+, six
8+, wheel
9+, zope_interface
10+, zodbpickle
11+, zconfig
12+, persistent
13+, zc_lockfile
14+, BTrees
15+, manuel
16+}:
17+
18+buildPythonPackage rec {
19+ pname = "ZODB";
20+ version = "5.2.4";
21+ name = "${pname}-${version}";
22+
23+ src = fetchPypi {
24+ inherit pname version;
25+ sha256 = "1pya0inkkxaqmi14gp796cidf894nz64n603zk670jj9xz0wkhgc";
26+ };
27+
28+ propagatedBuildInputs = [
29+ manuel
30+ transaction
31+ zope_testrunner
32+ six
33+ wheel
34+ zope_interface
35+ zodbpickle
36+ zconfig
37+ persistent
38+ zc_lockfile
39+ BTrees
40+ ];
41+
42+ meta = with stdenv.lib; {
43+ description = "Zope Object Database: object database and persistence";
44+ homepage = http://pypi.python.org/pypi/ZODB;
45+ license = licenses.zpl21;
46+ maintainers = with maintainers; [ goibhniu ];
47+ };
48+}
pkgs/top-level/python-packages.nix+1−27
@@ -24649,33 +24649,7 @@ EOF
2464924649 };
2465024650 };
2465124651
24652− zodb = buildPythonPackage rec {
24653− name = "zodb-${version}";
24654− disabled = isPyPy;
24655−
24656− version = "4.0.1";
24657−
24658− src = pkgs.fetchurl {
24659− url = "mirror://pypi/Z/ZODB/ZODB-${version}.tar.gz";
24660− sha256 = "c5d8ffcca37ab4d0a9bfffead6228d58c00cf1c78135abc98a8dbf05b8c8fb58";
24661− };
24662−
24663− propagatedBuildInputs = with self; [ manuel transaction zc_lockfile zconfig zdaemon zope_interface persistent BTrees ]
24664− ++ optionals isPy3k [ zodbpickle ];
24665−
24666− preCheck = if isPy3k then ''
24667− # test failure on py3.4
24668− rm src/ZODB/tests/testDB.py
24669− rm src/ZODB/tests/test_fsdump.py # Error with Python 3.6
24670− '' else "";
24671−
24672− meta = {
24673− description = "An object-oriented database for Python";
24674− homepage = http://pypi.python.org/pypi/ZODB;
24675− license = licenses.zpl20;
24676− maintainers = with maintainers; [ goibhniu ];
24677− };
24678− };
24652+ zodb = callPackage ../development/python-modules/zodb {};
2467924653
2468024654 zodbpickle = callPackage ../development/python-modules/zodbpickle {};
2468124655