2018-10-15 21:40:37 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ply
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jmespath";
|
2020-06-06 07:47:15 +01:00
|
|
|
version = "0.10.0";
|
2018-10-15 21:40:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:15 +01:00
|
|
|
sha256 = "b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9";
|
2018-10-15 21:40:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ ply ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/boto/jmespath";
|
2018-10-15 21:40:37 +01:00
|
|
|
description = "JMESPath allows you to declaratively specify how to extract elements from a JSON document";
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|