2018-10-15 21:40:37 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ply
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jmespath";
|
2018-11-04 10:35:03 +00:00
|
|
|
version = "0.9.3";
|
2018-10-15 21:40:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:03 +00:00
|
|
|
sha256 = "6a81d4c9aa62caf061cb517b4d9ad1dd300374cd4706997aff9cd6aedd61fc64";
|
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";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|