Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
933 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, decorator, fetchFromGitHub, ply, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "bc-jsonpath-ng"; version = "1.6.1"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "bridgecrewio"; repo = "jsonpath-ng"; tag = version; hash = "sha256-FWP4tzlacAWVXG3YnPwl5MKc12geaCxZ2xyKx9PSarU="; };
propagatedBuildInputs = [ decorator ply ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [ # Exclude tests that require oslotest "tests/test_jsonpath_rw_ext.py" ];
pythonImportsCheck = [ "bc_jsonpath_ng" ];
meta = with lib; { description = "JSONPath implementation for Python"; mainProgram = "bc_jsonpath_ng"; homepage = "https://github.com/bridgecrewio/jsonpath-ng"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };}