at 22.05-pre 757 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, hypothesis 5, isPy27 6, mock 7, nose 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "dpath"; 13 version = "2.0.5"; 14 15 disabled = isPy27; # uses python3 imports 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "0kk7wl15r305496q13ka4r6n2r13j99rrrpy2b4575j704dk4x7g"; 20 }; 21 22 # use pytest as nosetests hangs 23 checkInputs = [ 24 hypothesis 25 mock 26 nose 27 pytestCheckHook 28 ]; 29 30 pythonImportsCheck = [ "dpath" ]; 31 32 meta = with lib; { 33 description = "Python library for accessing and searching dictionaries via /slashed/paths ala xpath"; 34 homepage = "https://github.com/akesterson/dpath-python"; 35 license = with licenses; [ mit ]; 36 maintainers = with maintainers; [ mmlb ]; 37 }; 38}