summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/mergedict/default.nix
blob: 8095593919b15a2d5b2946051add489aaad4afc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  lib,
  fetchPypi,
  buildPythonPackage,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "mergedict";
  version = "1.0.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-4ZkrNqVCKQFPvLx6nIwo0fSuEx6h2NNFyTlz+fDcb9w=";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "mergedict" ];

  meta = {
    description = "Python dict with a merge() method";
    homepage = "https://github.com/schettino72/mergedict";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ onny ];
  };
}