1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "mergedict";
10 version = "1.0.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-4ZkrNqVCKQFPvLx6nIwo0fSuEx6h2NNFyTlz+fDcb9w=";
16 };
17
18 nativeCheckInputs = [ pytestCheckHook ];
19
20 pythonImportsCheck = [ "mergedict" ];
21
22 meta = with lib; {
23 description = "Python dict with a merge() method";
24 homepage = "https://github.com/schettino72/mergedict";
25 license = licenses.mit;
26 maintainers = with maintainers; [ onny ];
27 };
28}