1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy27, 6 setuptools, 7 six, 8 pytestCheckHook, 9 hypothesis, 10}: 11 12buildPythonPackage rec { 13 pname = "pyrsistent"; 14 version = "0.20.0"; 15 pyproject = true; 16 17 disabled = isPy27; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-TEj3j2KrWWxnkIYITQ3RMlSuTz1scqg//fXr3vjyZaQ="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ six ]; 27 28 nativeCheckInputs = [ 29 pytestCheckHook 30 hypothesis 31 ]; 32 33 pythonImportsCheck = [ "pyrsistent" ]; 34 35 meta = with lib; { 36 homepage = "https://github.com/tobgu/pyrsistent/"; 37 description = "Persistent/Functional/Immutable data structures"; 38 license = licenses.mit; 39 }; 40}