depot/third_party/nixpkgs/pkgs/development/python-modules/jmespath/default.nix

27 lines
542 B
Nix
Raw Normal View History

{ lib, stdenv
, buildPythonPackage
, fetchPypi
, ply
, nose
}:
buildPythonPackage rec {
pname = "jmespath";
version = "0.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9";
};
buildInputs = [ nose ];
propagatedBuildInputs = [ ply ];
meta = with lib; {
homepage = "https://github.com/boto/jmespath";
description = "JMESPath allows you to declaratively specify how to extract elements from a JSON document";
license = "BSD";
};
}