Unverified Commit 47fb7ae5 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

lparchive2epub: init at 1.2.3 (#355068)

parents eb590b06 6fa722d3
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  fetchFromGitHub,
  lib,
  pkgs,
  python3Packages,
}:

python3Packages.buildPythonApplication rec {
  pname = "lparchive2epub";
  version = "1.2.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Arwalk";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-z8/cIevqPKo7Eukk4WVxgSjzO1EYUYWD8orAdUKR8z8=";
  };

  build-system = with python3Packages; [ poetry-core ];

  dependencies = with python3Packages; [
    ebooklib
    beautifulsoup4
    tqdm
    aiohttp
  ];

  nativeCheckInputs = [
    python3Packages.pytestCheckHook
  ];

  meta = {
    description = "Transform any LP from lparchive into an epub document";
    homepage = "https://github.com/Arwalk/lparchive2epub";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ nsnelson ];
  };
}