blob: abb7ec231aa81c9ed12f377c8e98913ee206e1a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{
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" ];
enabledTestPaths = [ "test/test*.py" ];
meta = {
homepage = "https://github.com/sean2077/jsonpath-python";
description = "More powerful JSONPath implementations in modern python";
maintainers = with lib.maintainers; [ dadada ];
license = with lib.licenses; [ mit ];
};
}
|