fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, python3 }:
2
3python3.pkgs.buildPythonApplication rec {
4 pname = "distgen";
5 version = "1.5";
6
7 src = python3.pkgs.fetchPypi {
8 inherit pname version;
9 sha256 = "08f9rw5irgv0gw7jizk5f9csn0yhrdnb84k40px1zbypsylvr5c5";
10 };
11
12 checkInputs = with python3.pkgs; [
13 pytest
14 mock
15 ];
16
17 propagatedBuildInputs = with python3.pkgs; [
18 distro
19 jinja2
20 six
21 pyyaml
22 ];
23
24 checkPhase = "make test-unit PYTHON=${python3.executable}";
25
26 meta = with lib; {
27 description = "Templating system/generator for distributions";
28 license = licenses.gpl2Plus;
29 homepage = "https://distgen.readthedocs.io/";
30 maintainers = with maintainers; [ bachp ];
31 };
32}