2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-15 20:40:37 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-07-16 10:59:14 +00:00
|
|
|
, hypothesis
|
|
|
|
, pytestCheckHook
|
2018-10-15 20:40:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jmespath";
|
2022-07-16 10:59:14 +00:00
|
|
|
version = "1.0.1";
|
|
|
|
format = "setuptools";
|
2018-10-15 20:40:37 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-07-16 10:59:14 +00:00
|
|
|
sha256 = "sha256-kCYbIG1t79WP3V6F9Hi/YzopAXmJBr4q04kVDFxg7b4=";
|
2018-10-15 20:40:37 +00:00
|
|
|
};
|
|
|
|
|
2022-07-16 10:59:14 +00:00
|
|
|
checkInputs = [
|
|
|
|
hypothesis
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2018-10-15 20:40:37 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2022-07-16 10:59:14 +00:00
|
|
|
homepage = "https://github.com/jmespath/jmespath.py";
|
2018-10-15 20:40:37 +00:00
|
|
|
description = "JMESPath allows you to declaratively specify how to extract elements from a JSON document";
|
2022-07-16 10:59:14 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ];
|
2018-10-15 20:40:37 +00:00
|
|
|
};
|
|
|
|
}
|