nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 653 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "jsonpath"; 11 version = "0.82.2"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-2H7yvLze1o7pa8NMGAm2lFfs7JsMTdRxZYoSvTkQAtE="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "jsonpath" ]; 24 25 enabledTestPaths = [ "test/test*.py" ]; 26 27 meta = { 28 description = "XPath for JSON"; 29 homepage = "https://www.ultimate.com/phil/python/#jsonpath"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ mic92 ]; 32 }; 33}