nixpkgs-suyu/pkgs/development/python-modules/jmespath/default.nix

27 lines
529 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, ply
, nose
}:
buildPythonPackage rec {
pname = "jmespath";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "0g9xvl69y7nr3w7ag4fsp6sm4fqf6vrqjw7504x2hzrrsh3ampq8";
};
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";
};
}