File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
pkgs/development/python-modules/zodb Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3- fetchPypi ,
3+ fetchFromGitHub ,
44 buildPythonPackage ,
55 python ,
6+ setuptools ,
7+ zope-testing ,
68 zope-testrunner ,
79 transaction ,
8- six ,
910 zope-interface ,
1011 zodbpickle ,
1112 zconfig ,
1819buildPythonPackage rec {
1920 pname = "zodb" ;
2021 version = "6.0" ;
22+ pyproject = true ;
2123
22- src = fetchPypi {
23- pname = "ZODB" ;
24- inherit version ;
25- hash = "sha256-5Rx5IRXF2q1OgGdXuvovdUwADCPmurw75eQHdf5Jtdw=" ;
24+ src = fetchFromGitHub {
25+ owner = "zopefoundation" ;
26+ repo = "zodb" ;
27+ tag = version ;
28+ hash = "sha256-AFlRDci/OnRDGVNHAMAssefZshaGT0XlkhaO/Aee2Ao=" ;
2629 } ;
2730
2831 # remove broken test
2932 postPatch = ''
3033 rm -vf src/ZODB/tests/testdocumentation.py
3134 '' ;
3235
33- propagatedBuildInputs = [
36+ build-system = [ setuptools ] ;
37+
38+ dependencies = [
3439 transaction
35- six
3640 zope-interface
3741 zodbpickle
3842 zconfig
@@ -43,18 +47,19 @@ buildPythonPackage rec {
4347
4448 nativeCheckInputs = [
4549 manuel
50+ zope-testing
4651 zope-testrunner
4752 ] ;
4853
4954 checkPhase = ''
5055 ${ python . interpreter } -m zope.testrunner --test-path=src []
5156 '' ;
5257
53- meta = with lib ; {
58+ meta = {
5459 description = "Zope Object Database: object database and persistence" ;
5560 homepage = "https://zodb-docs.readthedocs.io/" ;
5661 changelog = "https://github.com/zopefoundation/ZODB/blob/${ version } /CHANGES.rst" ;
57- license = licenses . zpl21 ;
62+ license = lib . licenses . zpl21 ;
5863 maintainers = [ ] ;
5964 } ;
6065}
You can’t perform that action at this time.
0 commit comments