depot/third_party/nixpkgs/pkgs/development/python-modules/mergedict/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

26 lines
549 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "mergedict";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4ZkrNqVCKQFPvLx6nIwo0fSuEx6h2NNFyTlz+fDcb9w=";
};
checkInputs = [ 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 ];
};
}