Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 48 lines 977 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 setuptools, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "zodbpickle"; 12 version = "4.1.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-38DJFe8Umd0GA5cPXBECxr1+t7asRkNLKabYQL8Cckg="; 20 }; 21 22 postPatch = '' 23 substituteInPlace pyproject.toml \ 24 --replace "setuptools<74" "setuptools" 25 ''; 26 27 build-system = [ setuptools ]; 28 29 pythonImportsCheck = [ "zodbpickle" ]; 30 31 nativeCheckInputs = [ pytestCheckHook ]; 32 33 # fails.. 34 disabledTests = [ 35 "test_dump" 36 "test_dumps" 37 "test_load" 38 "test_loads" 39 ]; 40 41 meta = with lib; { 42 description = "Fork of Python's pickle module to work with ZODB"; 43 homepage = "https://github.com/zopefoundation/zodbpickle"; 44 changelog = "https://github.com/zopefoundation/zodbpickle/blob/${version}/CHANGES.rst"; 45 license = licenses.asl20; 46 maintainers = [ ]; 47 }; 48}