diff options
Diffstat (limited to 'packages/anime-dl/default.nix')
-rw-r--r-- | packages/anime-dl/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/anime-dl/default.nix b/packages/anime-dl/default.nix new file mode 100644 index 0000000..164eeb8 --- /dev/null +++ b/packages/anime-dl/default.nix @@ -0,0 +1,41 @@ +{ pkgs +, lib +, fetchFromGitHub +, python3Packages +, python3 +, extraPkgs ? pkgs: [ ] +}: +python3Packages.buildPythonApplication rec { + pname = "anime-dl"; + version = "5.0.14"; + src = fetchFromGitHub { + owner = "anime-dl"; + repo = "anime-downloader"; + rev = version; + sha256 = "1ai71g8cp2i37p53lm32nl3h8cq7rcxifhnj1z1cfvxbqjvackaj"; + }; + + propagatedBuildInputs = with python3.pkgs; [ + pySmartDL + cfscrape + beautifulsoup4 + requests + requests-cache + click + fuzzywuzzy + coloredlogs + tabulate + pycryptodome + ] ++ extraPkgs pkgs; + + 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; + }; +} + |