nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, ply
5, nose
6}:
7
8buildPythonPackage rec {
9 pname = "jmespath";
10 version = "1.0.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-pJDigO3R9X1t6IY2mS0Ftx6X1pomoZ8Fjs99MER0v14=";
15 };
16
17 buildInputs = [ nose ];
18 propagatedBuildInputs = [ ply ];
19
20 meta = with lib; {
21 homepage = "https://github.com/boto/jmespath";
22 description = "JMESPath allows you to declaratively specify how to extract elements from a JSON document";
23 license = "BSD";
24 };
25
26}