1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 flit-core,
6}:
7
8buildPythonPackage rec {
9 pname = "deep-chainmap";
10 version = "0.1.3";
11 pyproject = true;
12
13 src = fetchPypi {
14 pname = "deep_chainmap";
15 inherit version;
16 hash = "sha256-Cw6Eiey501mzeigfdwnMuZH28abG4rcoACUGlmkzECA=";
17 };
18
19 build-system = [ flit-core ];
20
21 # Tests are not published to pypi
22 doCheck = false;
23
24 pythonImportsCheck = [ "deep_chainmap" ];
25
26 # See the guide for more information: https://nixos.org/nixpkgs/manual/#chap-meta
27 meta = with lib; {
28 description = "Recursive subclass of ChainMap";
29 homepage = "https://github.com/neutrinoceros/deep_chainmap";
30 license = licenses.mit;
31 maintainers = with maintainers; [ rehno-lindeque ];
32 };
33}