mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
0033f0f1ce
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
18 lines
400 B
Nix
18 lines
400 B
Nix
{ lib
|
|
, python3Packages
|
|
, fetchFromGitHub
|
|
|
|
, withGUI ? true
|
|
}:
|
|
let
|
|
mandown' = python3Packages.mandown.overrideAttrs (prev: {
|
|
propagatedBuildInputs = prev.propagatedBuildInputs ++ lib.optionals withGUI prev.passthru.optional-dependencies.gui;
|
|
});
|
|
mandownApp = python3Packages.toPythonApplication mandown';
|
|
in
|
|
mandownApp // {
|
|
meta = mandownApp.meta // {
|
|
mainProgram = "mandown";
|
|
};
|
|
}
|