python3Packages.jmespath: 1.0.1 -> 1.1.0
Diff: https://github.com/jmespath/jmespath.py/compare/1.0.1...1.1.0 Changelog: https://github.com/jmespath/jmespath.py/blob/1.1.0/CHANGELOG.rst
This commit is contained in:
@@ -1,31 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
hypothesis,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "jmespath";
|
||||
version = "1.0.1";
|
||||
format = "setuptools";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-kCYbIG1t79WP3V6F9Hi/YzopAXmJBr4q04kVDFxg7b4=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jmespath";
|
||||
repo = "jmespath.py";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-DtRMWKE1LeD+NAmMJOISfBo5w9HJW7XFeQp7A3NjkjE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
enabledTestPaths = [
|
||||
"tests"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/jmespath/jmespath.py";
|
||||
changelog = "https://github.com/jmespath/jmespath.py/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
|
||||
description = "JMESPath allows you to declaratively specify how to extract elements from a JSON document";
|
||||
mainProgram = "jp.py";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user