Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 65 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, beautifulsoup4, comicon, feedparser, filetype, lxml, natsort, pillow, python-slugify, requests, typer, pyside6}:
buildPythonPackage rec { pname = "mandown"; version = "1.7.0"; format = "pyproject";
src = fetchFromGitHub { owner = "potatoeggy"; repo = "mandown"; rev = "refs/tags/v${version}"; hash = "sha256-oHa7/2fv+BG5KIKFIICYBqddub5SokDvAI6frbVwGSo="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ beautifulsoup4 comicon feedparser filetype lxml natsort pillow python-slugify requests typer ];
passthru.optional-dependencies = { gui = [ pyside6 ]; };
postPatch = '' substituteInPlace pyproject.toml --replace 'typer = "^0.7.0"' 'typer = "^0"' '';
pythonImportsCheck = [ "mandown" ];
meta = with lib; { description = "Comic/manga/webtoon downloader and CBZ/EPUB/MOBI/PDF converter"; homepage = "https://github.com/potatoeggy/mandown"; license = licenses.agpl3Only; maintainers = with maintainers; [ Scrumplex ]; };}