472aeafc57
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
16 lines
379 B
Nix
16 lines
379 B
Nix
{ lib
|
|
, python3Packages
|
|
|
|
, withGUI ? true
|
|
}:
|
|
let
|
|
mandown' = python3Packages.mandown.overridePythonAttrs (prev: {
|
|
propagatedBuildInputs = prev.propagatedBuildInputs ++ lib.optionals withGUI prev.optional-dependencies.gui;
|
|
});
|
|
mandownApp = python3Packages.toPythonApplication mandown';
|
|
in
|
|
mandownApp // {
|
|
meta = mandownApp.meta // {
|
|
mainProgram = "mandown";
|
|
};
|
|
}
|