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