at master 903 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hypothesis, 6 pythonOlder, 7 mock, 8 nose2, 9 pytestCheckHook, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "dpath"; 15 version = "2.2.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-NPfmMNxV6j8hnlVXJvXaS0sl8iADGcjmkCw5Qljdaj4="; 23 }; 24 25 nativeBuildInputs = [ setuptools ]; 26 27 nativeCheckInputs = [ 28 hypothesis 29 mock 30 nose2 31 pytestCheckHook 32 ]; 33 34 pythonImportsCheck = [ "dpath" ]; 35 36 meta = with lib; { 37 description = "Python library for accessing and searching dictionaries via /slashed/paths ala xpath"; 38 homepage = "https://github.com/akesterson/dpath-python"; 39 changelog = "https://github.com/dpath-maintainers/dpath-python/releases/tag/v${version}"; 40 license = with licenses; [ mit ]; 41 maintainers = with maintainers; [ mmlb ]; 42 }; 43}