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-03-12 20:02:35 +00:00
|
|
|
version = "0.2.1";
|
2020-08-01 23:28:10 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-12 20:02:35 +00:00
|
|
|
sha256 = "082bvlk65pkf9qzkzzl8fq7s6zfz1b2v5pcb0ikwg1nx0xspggaz";
|
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
|
|
|
vcver
|
|
|
|
];
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|