1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-18 15:14:49 -04:00
nixpkgs/pkgs/by-name/co/comic-mandown/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
379 B
Nix
Raw Permalink Normal View History

{ 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";
};
}