Files
nixpkgs/pkgs/development/python-modules/mandown/default.nix
T
Sefa Eyeoglu 479b592b84 python312Packages.mandown: refactor
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-01-19 13:53:43 +01:00

70 lines
1.2 KiB
Nix

{
beautifulsoup4,
buildPythonPackage,
comicon,
feedparser,
fetchFromGitHub,
filetype,
lib,
lxml,
natsort,
nix-update-script,
pillow,
poetry-core,
pyside6,
python-slugify,
requests,
typer,
}:
buildPythonPackage rec {
pname = "mandown";
version = "1.11.1";
pyproject = true;
src = fetchFromGitHub {
owner = "potatoeggy";
repo = "mandown";
tag = "v${version}";
hash = "sha256-xoRUGtZMM1l3gCtF1wFHBo3vTEGJcNxqkO/yeTuEke8=";
};
build-system = [
poetry-core
];
dependencies = [
beautifulsoup4
comicon
feedparser
filetype
lxml
natsort
pillow
python-slugify
requests
typer
];
pythonRelaxDeps = [
"pillow"
"typer"
];
optional-dependencies = {
gui = [ pyside6 ];
};
pythonImportsCheck = [ "mandown" ];
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/potatoeggy/mandown/releases/tag/v${version}";
description = "Comic/manga/webtoon downloader and CBZ/EPUB/MOBI/PDF converter";
homepage = "https://github.com/potatoeggy/mandown";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ Scrumplex ];
};
}