distgen: init at 1.3
This tool is mainly used in openshift to build source to image containers.
This commit is contained in:
parent
9983820e93
commit
195e30b74a
32
pkgs/development/tools/distgen/default.nix
Normal file
32
pkgs/development/tools/distgen/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib, python3 }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "distgen";
|
||||
version = "1.3";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "03jwy08wgp1lp6208vks1hv9g1f3aj45cml6k99mm3nw1jfnlbbq";
|
||||
};
|
||||
|
||||
checkInputs = 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";
|
||||
license = licenses.gpl2Plus;
|
||||
homepage = "https://distgen.readthedocs.io/";
|
||||
maintainers = with maintainers; [ bachp ];
|
||||
};
|
||||
}
|
|
@ -1423,6 +1423,8 @@ in
|
|||
|
||||
dislocker = callPackage ../tools/filesystems/dislocker { };
|
||||
|
||||
distgen = callPackage ../development/tools/distgen {};
|
||||
|
||||
distrobuilder = callPackage ../tools/virtualization/distrobuilder { };
|
||||
|
||||
ditaa = callPackage ../tools/graphics/ditaa { };
|
||||
|
|
Loading…
Reference in a new issue