Files
nixpkgs/pkgs/development/python-modules/mandown/default.nix
Sefa Eyeoglu 80b6599455 python3Packages.mandown: 1.11.2 -> 1.12.1
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-04-30 23:46:04 +02:00

72 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.12.1";
pyproject = true;
src = fetchFromGitHub {
owner = "potatoeggy";
repo = "mandown";
tag = "v${version}";
hash = "sha256-dx92a1YI1BW90E2u+v9fggWzrg0mqsV+INNq+2aLmFI=";
};
build-system = [
poetry-core
];
dependencies = [
beautifulsoup4
comicon
feedparser
filetype
lxml
natsort
pillow
python-slugify
requests
typer
];
pythonRelaxDeps = [
"beautifulsoup4"
"lxml"
"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 ];
};
}