2018-10-15 22:40:37 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ply
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jmespath";
|
2019-04-16 19:15:36 +02:00
|
|
|
version = "0.9.4";
|
2018-10-15 22:40:37 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 19:15:36 +02:00
|
|
|
sha256 = "bde2aef6f44302dfb30320115b17d030798de8c4110e28d5cf6cf91a7a31074c";
|
2018-10-15 22:40:37 +02: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";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|