Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, decorator, fetchFromGitHub, ply, pytestCheckHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "bc-jsonpath-ng"; version = "1.6.1"; pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub { owner = "bridgecrewio"; repo = "jsonpath-ng"; tag = finalAttrs.version; hash = "sha256-FWP4tzlacAWVXG3YnPwl5MKc12geaCxZ2xyKx9PSarU="; };
build-system = [ setuptools ];
dependencies = [ decorator ply ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [ # Exclude tests that require oslotest "tests/test_jsonpath_rw_ext.py" ];
pythonImportsCheck = [ "bc_jsonpath_ng" ];
meta = { description = "JSONPath implementation for Python"; mainProgram = "bc_jsonpath_ng"; homepage = "https://github.com/bridgecrewio/jsonpath-ng"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };})