nixpkgs/pkgs/development/python-modules/mergedb/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
858 B
Nix
Raw Normal View History

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";
format = "setuptools";
2022-04-04 20:52:15 +00:00
disabled = pythonOlder "3.7";
2022-04-04 20:52:15 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "2034c18dca23456c5b166b63d94300bcd8ec9f386e6cd639c2f66e141c0313f9";
};
nativeBuildInputs = [
setuptools-scm
];
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
];
nativeCheckInputs = [
2022-04-04 20:52:15 +00:00
pytestCheckHook
];
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;
maintainers = with maintainers; [ graysonhead ];
2022-04-04 20:52:15 +00:00
};
}