nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ buildPythonPackage
2, fetchFromGitHub
3, lib
4, pytestCheckHook
5, six
6}:
7
8buildPythonPackage rec {
9 pname = "nested-lookup";
10 version = "0.2.23";
11
12 src = fetchFromGitHub {
13 owner = "russellballestrini";
14 repo = "nested-lookup";
15 # https://github.com/russellballestrini/nested-lookup/issues/47
16 rev = "c1b0421479efa378545bc71efa3b72882e8fec17";
17 sha256 = "sha256-jgfYLSsFLQSsOH4NzbDPKFIG+tWWZ1zTWcZEaX2lthg=";
18 };
19
20 propagatedBuildInputs = [
21 six
22 ];
23
24 checkInputs = [
25 pytestCheckHook
26 ];
27
28 pythonImportsCheck = [ "nested_lookup" ];
29
30 meta = with lib; {
31 description = "Python functions for working with deeply nested documents (lists and dicts)";
32 homepage = "https://github.com/russellballestrini/nested-lookup";
33 license = licenses.publicDomain;
34 maintainers = with maintainers; [ tboerger ];
35 };
36}