2020-08-01 23:28:10 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
|
|
, vcver }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "deepmerge";
|
2020-11-04 14:04:22 +00:00
|
|
|
version = "0.1.1";
|
2020-08-01 23:28:10 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-04 14:04:22 +00:00
|
|
|
sha256 = "fa1d44269786bcc12d30a7471b0b39478aa37a43703b134d7f12649792f92c1f";
|
2020-08-01 23:28:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
vcver
|
|
|
|
];
|
|
|
|
|
|
|
|
# depends on https://pypi.org/project/uranium/
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|