2018-10-15 21:40:37 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ply
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jmespath";
|
2020-03-18 18:43:36 +00:00
|
|
|
version = "0.9.5";
|
2018-10-15 21:40:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-18 18:43:36 +00:00
|
|
|
sha256 = "1nf2ipzvigspy17r16dpkhzn1bqdmlak162rm8dy4wri2n6mr9fc";
|
2018-10-15 21:40:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ ply ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/boto/jmespath;
|
|
|
|
description = "JMESPath allows you to declaratively specify how to extract elements from a JSON document";
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|