Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
72 lines
1.2 KiB
Nix
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.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "potatoeggy";
|
|
repo = "mandown";
|
|
tag = "v${version}";
|
|
hash = "sha256-kbzh6qbex3PzdE53rx9Sxff1lhh1yYjehdEJ9Srq5gY=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|