2022-04-04 20:52:15 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, colorama
|
|
|
|
, fetchPypi
|
|
|
|
, jinja2
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, pyyaml
|
2022-04-06 09:21:22 +00:00
|
|
|
, setuptools
|
2022-04-04 20:52:15 +00:00
|
|
|
, setuptools-scm
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mergedb";
|
|
|
|
version = "0.1.1";
|
2022-04-06 09:10:06 +00:00
|
|
|
format = "setuptools";
|
2022-04-04 20:52:15 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2022-04-06 09:10:06 +00:00
|
|
|
|
2022-04-04 20:52:15 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "2034c18dca23456c5b166b63d94300bcd8ec9f386e6cd639c2f66e141c0313f9";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
2022-04-06 09:10:06 +00:00
|
|
|
|
2022-04-04 20:52:15 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyyaml
|
|
|
|
colorama
|
|
|
|
jinja2
|
2022-04-06 09:21:22 +00:00
|
|
|
setuptools
|
2022-04-04 20:52:15 +00:00
|
|
|
];
|
2022-04-06 09:10:06 +00:00
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2022-04-04 20:52:15 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2022-04-06 09:10:06 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"mergedb"
|
|
|
|
];
|
2022-04-04 20:52:15 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A tool/library for deep merging YAML files";
|
|
|
|
homepage = "https://github.com/graysonhead/mergedb";
|
|
|
|
license = licenses.gpl3Only;
|
2022-04-06 09:10:06 +00:00
|
|
|
maintainers = with maintainers; [ graysonhead ];
|
2022-04-04 20:52:15 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|