nixpkgs/pkgs/development/python-modules/deepmerge/default.nix
2021-12-20 00:15:00 +01:00

38 lines
696 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, setuptools-scm
, vcver
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "deepmerge";
version = "1.0.1";
disabled = isPy27;
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-S0R3ntPS+3kbsYH8JoNCNJb+pCirt683/rIyht5/Cho=";
};
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "deepmerge" ];
meta = with lib; {
description = "A toolset to deeply merge python dictionaries.";
homepage = "http://deepmerge.readthedocs.io/en/latest/";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}