evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / jsonpath / default.nix
blobbe1054c04df739d073bff32408b5349b2aeab97c
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "jsonpath";
11   version = "0.82.2";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-2H7yvLze1o7pa8NMGAm2lFfs7JsMTdRxZYoSvTkQAtE=";
19   };
21   nativeCheckInputs = [ pytestCheckHook ];
23   pythonImportsCheck = [ "jsonpath" ];
25   pytestFlagsArray = [ "test/test*.py" ];
27   meta = with lib; {
28     description = "XPath for JSON";
29     homepage = "https://github.com/json-path/JsonPath";
30     license = licenses.mit;
31     maintainers = with maintainers; [ mic92 ];
32   };