Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
963 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, ply, pytestCheckHook, pythonOlder, setuptools}:
buildPythonPackage rec { pname = "jsonpath-ng"; version = "1.6.1"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "h2non"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-0ErTGxGlMn/k2KMwRV26WJpx85yJUfn6Hgp5pU4RZA4="; };
propagatedBuildInputs = [ ply setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [ # Exclude tests that require oslotest "tests/test_jsonpath_rw_ext.py" ];
pythonImportsCheck = [ "jsonpath_ng" ];
meta = with lib; { description = "JSONPath implementation"; homepage = "https://github.com/h2non/jsonpath-ng"; changelog = "https://github.com/h2non/jsonpath-ng/blob/v${version}/History.md"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };}