diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-17 19:09:27 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-17 19:09:27 +0200 |
commit | ad58b57df7b298bc3e25c578f590d44da3ce36c9 (patch) | |
tree | 28be43da790fa014e13a7284e5a5979537a8721a /packages/anime-dl/default.nix | |
download | nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.tar.gz nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.tar.bz2 nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.zip |
Initial commit
Diffstat (limited to '')
-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; + }; +} + |