2021-03-12 21:02:35 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2024-01-05 03:14:44 +01:00
|
|
|
|
|
|
|
# build-system
|
|
|
|
, setuptools
|
2021-03-12 21:02:35 +01:00
|
|
|
, setuptools-scm
|
2024-01-05 03:14:44 +01:00
|
|
|
|
|
|
|
# tests
|
2021-03-12 21:02:35 +01:00
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2020-08-02 00:28:10 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "deepmerge";
|
2024-01-05 03:14:44 +01:00
|
|
|
version = "1.1.1";
|
|
|
|
pyproject = true;
|
2020-08-02 00:28:10 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-05 03:14:44 +01:00
|
|
|
hash = "sha256-U6SJ3JRJY25ICnhDWa4qqzGRdIySBklVHI43hiLw7KQ=";
|
2020-08-02 00:28:10 +02:00
|
|
|
};
|
|
|
|
|
2021-03-12 21:02:35 +01:00
|
|
|
nativeBuildInputs = [
|
2024-01-05 03:14:44 +01:00
|
|
|
setuptools
|
2021-03-12 21:02:35 +01:00
|
|
|
setuptools-scm
|
2020-08-02 00:28:10 +02:00
|
|
|
];
|
|
|
|
|
2023-01-21 13:00:00 +01:00
|
|
|
nativeCheckInputs = [
|
2021-03-12 21:02:35 +01:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-08-02 00:28:10 +02:00
|
|
|
|
2024-01-05 03:14:44 +01:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"deepmerge"
|
|
|
|
];
|
2020-08-02 00:28:10 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-01-05 03:14:44 +01:00
|
|
|
changelog = "https://github.com/toumorokoshi/deepmerge/releases/tag/v${version}";
|
2020-08-02 00:28:10 +02:00
|
|
|
description = "A toolset to deeply merge python dictionaries.";
|
2024-01-05 03:14:44 +01:00
|
|
|
downloadPage = "https://github.com/toumorokoshi/deepmerge";
|
2020-08-02 00:28:10 +02:00
|
|
|
homepage = "http://deepmerge.readthedocs.io/en/latest/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ hexa ];
|
|
|
|
};
|
|
|
|
}
|