diff options
Diffstat (limited to 'packages/anime-downloader/default.nix')
-rw-r--r-- | packages/anime-downloader/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/anime-downloader/default.nix b/packages/anime-downloader/default.nix new file mode 100644 index 0000000..35f625f --- /dev/null +++ b/packages/anime-downloader/default.nix @@ -0,0 +1,39 @@ +{ pkgs, lib }: + +pkgs.python38.pkgs.buildPythonPackage rec { + pname = "anime-downloader"; + version = "5.0.14"; + + src = pkgs.fetchFromGitHub { + owner = "anime-dl"; + repo = "anime-downloader"; + rev = version; + sha256 = "1ai71g8cp2i37p53lm32nl3h8cq7rcxifhnj1z1cfvxbqjvackaj"; + }; + + propagatedBuildInputs = with pkgs.python38.pkgs; [ + pySmartDL + cfscrape + beautifulsoup4 + requests + requests-cache + click + fuzzywuzzy + coloredlogs + tabulate + pycryptodome + + pkgs.nodejs + pkgs.mpv + ]; + + doCheck = false; + + meta = with lib; { + homepage = "https://github.com/anime-dl/anime-downloader"; + description = "A simple but powerful anime downloader and streamer."; + license = licenses.unlicense; + maintainers = [ ]; + platforms = platforms.linux; + }; +} |