Skip to content

Commit

Permalink
pythonPackages.jsonpath-python: init at 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dadada committed Dec 27, 2024
1 parent 634fd46 commit f0c7122
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pkgs/development/python-modules/jsonpath-python/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ buildPythonPackage, fetchPypi, lib, pytestCheckHook, setuptools, }:
buildPythonPackage rec {
pname = "jsonpath-python";
version = "1.0.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-3Vvkpy2KKZXD9YPPgr880alUTP2r8tIllbZ6/wc0lmY=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jsonpath" ];
pytestFlagsArray = [ "test/test*.py" ];

meta = with lib; {
homepage = "https://github.com/sean2077/jsonpath-python";
description = "A more powerful JSONPath implementations in modern python.";
maintainers = with maintainers; [ dadada ];
license = with licenses; [ mit ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6719,6 +6719,8 @@ self: super: with self; {

jsonpath-ng = callPackage ../development/python-modules/jsonpath-ng { };

jsonpath-python = callPackage ../development/python-modules/jsonpath-python { };

jsonpickle = callPackage ../development/python-modules/jsonpickle { };

jsonpointer = callPackage ../development/python-modules/jsonpointer { };
Expand Down

0 comments on commit f0c7122

Please sign in to comment.