Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 31 lines 764 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5}: 6 7buildPythonPackage rec { 8 pname = "dill"; 9 version = "0.3.1.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "42d8ef819367516592a825746a18073ced42ca169ab1f5f4044134703e7a049c"; 14 }; 15 16 # Messy test suite. Even when running the tests like tox does, it fails 17 doCheck = false; 18 checkPhase = '' 19 for test in tests/*.py; do 20 ${python.interpreter} $test 21 done 22 ''; 23 # Following error without setting checkPhase 24 # TypeError: don't know how to make test from: {'byref': False, 'recurse': False, 'protocol': 3, 'fmode': 0} 25 26 meta = { 27 description = "Serialize all of python (almost)"; 28 homepage = "https://github.com/uqfoundation/dill/"; 29 license = lib.licenses.bsd3; 30 }; 31}