Files
nixpkgs/pkgs/development/python-modules/mandown/default.nix
T
Sefa Eyeoglu 92afd29cd0 python312Packages.mandown: 1.10.0 -> 1.10.1
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-01-05 20:16:29 +01:00

69 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
beautifulsoup4,
comicon,
feedparser,
filetype,
lxml,
natsort,
nix-update-script,
pillow,
python-slugify,
requests,
typer,
pyside6,
}:
buildPythonPackage rec {
pname = "mandown";
version = "1.10.1";
pyproject = true;
src = fetchFromGitHub {
owner = "potatoeggy";
repo = "mandown";
tag = "v${version}";
hash = "sha256-6i0a2jEJy7aL6W801Xki7jmHhO5kkFL8rJI+y+MhWVo=";
};
nativeBuildInputs = [
poetry-core
];
pythonRelaxDeps = [
"pillow"
"typer"
];
propagatedBuildInputs = [
beautifulsoup4
comicon
feedparser
filetype
lxml
natsort
pillow
python-slugify
requests
typer
];
optional-dependencies = {
gui = [ pyside6 ];
updateScript = nix-update-script { };
};
pythonImportsCheck = [ "mandown" ];
meta = with lib; {
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 = licenses.agpl3Only;
maintainers = with maintainers; [ Scrumplex ];
};
}