mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
27 lines
529 B
Nix
27 lines
529 B
Nix
|
{ 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";
|
||
|
};
|
||
|
|
||
|
}
|