depot/third_party/nixpkgs/pkgs/development/python-modules/jmespath/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

31 lines
634 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hypothesis,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jmespath";
version = "1.0.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-kCYbIG1t79WP3V6F9Hi/YzopAXmJBr4q04kVDFxg7b4=";
};
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/jmespath/jmespath.py";
description = "JMESPath allows you to declaratively specify how to extract elements from a JSON document";
mainProgram = "jp.py";
license = licenses.mit;
maintainers = [ ];
};
}