nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 784 B view raw
1{ 2 buildPythonPackage, 3 fetchPypi, 4 hatchling, 5 lib, 6 pytestCheckHook, 7 pytest-benchmark, 8}: 9buildPythonPackage rec { 10 pname = "jsonpath-python"; 11 version = "1.1.4"; 12 pyproject = true; 13 src = fetchPypi { 14 inherit version; 15 pname = "jsonpath_python"; 16 hash = "sha256-uz4ThU5IB8B4oVA64th8IRuL/02bQLZFXtWDs7UKf90="; 17 }; 18 build-system = [ hatchling ]; 19 nativeCheckInputs = [ 20 pytest-benchmark 21 pytestCheckHook 22 ] 23 ++ pytest-benchmark.optional-dependencies.histogram; 24 pythonImportsCheck = [ "jsonpath" ]; 25 26 meta = { 27 homepage = "https://github.com/sean2077/jsonpath-python"; 28 description = "More powerful JSONPath implementations in modern python"; 29 maintainers = with lib.maintainers; [ dadada ]; 30 license = with lib.licenses; [ mit ]; 31 }; 32}