2021-03-12 20:02:35 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
, setuptools-scm
|
|
|
|
, vcver
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2020-08-01 23:28:10 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "deepmerge";
|
2021-12-19 23:15:00 +00:00
|
|
|
version = "1.0.1";
|
2020-08-01 23:28:10 +01:00
|
|
|
disabled = isPy27;
|
2021-12-19 23:15:00 +00:00
|
|
|
format = "pyproject";
|
2020-08-01 23:28:10 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-19 23:15:00 +00:00
|
|
|
sha256 = "sha256-S0R3ntPS+3kbsYH8JoNCNJb+pCirt683/rIyht5/Cho=";
|
2020-08-01 23:28:10 +01:00
|
|
|
};
|
|
|
|
|
2021-03-12 20:02:35 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
2020-08-01 23:28:10 +01:00
|
|
|
];
|
|
|
|
|
2021-03-12 20:02:35 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-08-01 23:28:10 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|