depot/third_party/nixpkgs/pkgs/development/python-modules/mergedict/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
578 B
Nix

{ 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 = with lib; {
description = "A Python dict with a merge() method";
homepage = "https://github.com/schettino72/mergedict";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}