python3Packages.jsonpath: modernize
This commit is contained in:
@@ -3,31 +3,31 @@
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonpath";
|
||||
version = "0.82.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-2H7yvLze1o7pa8NMGAm2lFfs7JsMTdRxZYoSvTkQAtE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "jsonpath" ];
|
||||
|
||||
enabledTestPaths = [ "test/test*.py" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "XPath for JSON";
|
||||
homepage = "https://github.com/json-path/JsonPath";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
homepage = "https://www.ultimate.com/phil/python/#jsonpath";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ mic92 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user