Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildPythonPackage,
4 colorama,
5 fetchPypi,
6 jinja2,
7 pytestCheckHook,
8 pyyaml,
9 setuptools,
10 setuptools-scm,
11}:
12
13buildPythonPackage rec {
14 pname = "mergedb";
15 version = "0.1.1";
16 format = "setuptools";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "2034c18dca23456c5b166b63d94300bcd8ec9f386e6cd639c2f66e141c0313f9";
21 };
22
23 nativeBuildInputs = [ setuptools-scm ];
24
25 propagatedBuildInputs = [
26 pyyaml
27 colorama
28 jinja2
29 setuptools
30 ];
31
32 nativeCheckInputs = [ pytestCheckHook ];
33
34 pythonImportsCheck = [ "mergedb" ];
35
36 meta = {
37 description = "Tool/library for deep merging YAML files";
38 mainProgram = "mergedb";
39 homepage = "https://github.com/graysonhead/mergedb";
40 license = lib.licenses.gpl3Only;
41 maintainers = with lib.maintainers; [ graysonhead ];
42 };
43}