blob: a9d13d9730009c8e750e853d90b7dfc8fc487126 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ lib, python3, fetchPypi }:
python3.pkgs.buildPythonApplication rec {
pname = "distgen";
version = "1.17";
src = fetchPypi {
inherit pname version;
hash = "sha256-Md6R1thUtPQ7BFZsWmTDuNdD7UHMMFlEVksIJZAyjk4=";
};
nativeCheckInputs = with python3.pkgs; [
pytest
mock
];
propagatedBuildInputs = with python3.pkgs; [
distro
jinja2
six
pyyaml
];
checkPhase = "make test-unit PYTHON=${python3.executable}";
meta = with lib; {
description = "Templating system/generator for distributions";
mainProgram = "dg";
license = licenses.gpl2Plus;
homepage = "https://distgen.readthedocs.io/";
maintainers = with maintainers; [ bachp ];
};
}
|