1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "frozendict"; 10 version = "2.3.4"; 11 format = "setuptools"; 12 13 disabled = !isPy3k; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "15b4b18346259392b0d27598f240e9390fafbff882137a9c48a1e0104fb17f78"; 18 }; 19 20 pythonImportsCheck = [ 21 "frozendict" 22 ]; 23 24 checkInputs = [ 25 pytestCheckHook 26 ]; 27 28 preCheck = '' 29 pushd test 30 ''; 31 32 postCheck = '' 33 popd 34 ''; 35 36 meta = with lib; { 37 homepage = "https://github.com/Marco-Sulla/python-frozendict"; 38 description = "A simple immutable dictionary"; 39 license = licenses.lgpl3Only; 40 }; 41}