Skip to content

Commit

Permalink
python312Packages.jsonpath-ng: 1.6.1 -> 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Oct 19, 2024
1 parent abc12d1 commit e7f5a0d
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions pkgs/development/python-modules/jsonpath-ng/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,32 @@

buildPythonPackage rec {
pname = "jsonpath-ng";
version = "1.6.1";
format = "setuptools";
version = "1.7.0";
pypropject = true;

disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";

src = fetchFromGitHub {
owner = "h2non";
repo = pname;
repo = "jsonpath-ng";
rev = "refs/tags/v${version}";
hash = "sha256-0ErTGxGlMn/k2KMwRV26WJpx85yJUfn6Hgp5pU4RZA4=";
hash = "sha256-sfIqEc5SsNQYxK+Ur00fFdVoC0ysOkHrx4Cq/3SpGHw=";
};

propagatedBuildInputs = [
ply
setuptools
];
build-system = [ setuptools ];

nativeCheckInputs = [ pytestCheckHook ];
dependencies = [ ply ];

disabledTestPaths = [
# Exclude tests that require oslotest
"tests/test_jsonpath_rw_ext.py"
];
nativeCheckInputs = [ pytestCheckHook ];

pythonImportsCheck = [ "jsonpath_ng" ];

meta = with lib; {
description = "JSONPath implementation";
mainProgram = "jsonpath_ng";
homepage = "https:/h2non/jsonpath-ng";
changelog = "https:/h2non/jsonpath-ng/blob/v${version}/History.md";
license = with licenses; [ asl20 ];
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "jsonpath_ng";
};
}

0 comments on commit e7f5a0d

Please sign in to comment.