1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build-system 7 setuptools, 8 setuptools-scm, 9 10 # tests 11 pytestCheckHook, 12}: 13 14buildPythonPackage rec { 15 pname = "deepmerge"; 16 version = "2.0"; 17 pyproject = true; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-XD2GCB++vQTdXeA2JqBge4CamPtsy6V3C2JGb+lA/yA="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools 26 setuptools-scm 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "deepmerge" ]; 32 33 meta = with lib; { 34 changelog = "https://github.com/toumorokoshi/deepmerge/releases/tag/v${version}"; 35 description = "Toolset to deeply merge python dictionaries"; 36 downloadPage = "https://github.com/toumorokoshi/deepmerge"; 37 homepage = "http://deepmerge.readthedocs.io/en/latest/"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ hexa ]; 40 }; 41}