1 { lib, python3, aria2, mpv, nodejs, qt5, fetchFromGitHub }:
3 python3.pkgs.buildPythonApplication rec {
4 pname = "anime-downloader";
7 src = fetchFromGitHub {
9 repo = "anime-downloader";
11 sha256 = "sha256-Uk2mtsSrb8fCD9JCFzvLBzMEB7ViVDrKPSOKy9ALJ6o=";
14 nativeBuildInputs = [ qt5.wrapQtAppsHook ];
16 propagatedBuildInputs = [
20 ] ++ (with python3.pkgs; [
37 wrapQtApp "$out/bin/anime" --prefix PATH : ${lib.makeBinPath propagatedBuildInputs}
41 # FIXME: checks must be disabled because they are lacking the qt env.
42 # They fail like this, even if built and wrapped with all Qt and runtime dependencies.
43 # Ref.: https://github.com/NixOS/nixpkgs/blob/634141959076a8ab69ca2cca0f266852256d79ee/pkgs/applications/misc/openlp/lib.nix#L20-L23
45 passthru.updateScript = ./update.sh;
48 homepage = "https://github.com/anime-dl/anime-downloader";
49 description = "A simple but powerful anime downloader and streamer";
50 license = licenses.unlicense;
51 platforms = platforms.linux;
52 maintainers = with maintainers; [ ];
53 mainProgram = "anime";