diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-17 22:11:44 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-17 22:11:44 +0200 |
commit | fecbd4e7c9267c5e417d34b62d4a6a81c2011172 (patch) | |
tree | e4607362efdf1877529a9c528daa288dbfedcd96 /packages | |
parent | Added vscode extensions (diff) | |
download | nixos-config-fecbd4e7c9267c5e417d34b62d4a6a81c2011172.tar.gz nixos-config-fecbd4e7c9267c5e417d34b62d4a6a81c2011172.tar.bz2 nixos-config-fecbd4e7c9267c5e417d34b62d4a6a81c2011172.zip |
Added anime-downloader package
Diffstat (limited to 'packages')
-rw-r--r-- | packages/anime-downloader/default.nix (renamed from packages/anime-dl/default.nix) | 24 | ||||
-rw-r--r-- | packages/default.nix | 2 |
2 files changed, 12 insertions, 14 deletions
diff --git a/packages/anime-dl/default.nix b/packages/anime-downloader/default.nix index 164eeb8..35f625f 100644 --- a/packages/anime-dl/default.nix +++ b/packages/anime-downloader/default.nix @@ -1,21 +1,17 @@ -{ pkgs -, lib -, fetchFromGitHub -, python3Packages -, python3 -, extraPkgs ? pkgs: [ ] -}: -python3Packages.buildPythonApplication rec { - pname = "anime-dl"; +{ pkgs, lib }: + +pkgs.python38.pkgs.buildPythonPackage rec { + pname = "anime-downloader"; version = "5.0.14"; - src = fetchFromGitHub { + + src = pkgs.fetchFromGitHub { owner = "anime-dl"; repo = "anime-downloader"; rev = version; sha256 = "1ai71g8cp2i37p53lm32nl3h8cq7rcxifhnj1z1cfvxbqjvackaj"; }; - propagatedBuildInputs = with python3.pkgs; [ + propagatedBuildInputs = with pkgs.python38.pkgs; [ pySmartDL cfscrape beautifulsoup4 @@ -26,7 +22,10 @@ python3Packages.buildPythonApplication rec { coloredlogs tabulate pycryptodome - ] ++ extraPkgs pkgs; + + pkgs.nodejs + pkgs.mpv + ]; doCheck = false; @@ -38,4 +37,3 @@ python3Packages.buildPythonApplication rec { platforms = platforms.linux; }; } - diff --git a/packages/default.nix b/packages/default.nix index b1b0b67..e4f4d13 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -3,6 +3,6 @@ final: prev: custom.smart-wallpaper = prev.callPackage ./smart-wallpaper { }; custom.dwmbar = prev.callPackage ./dwmbar { }; custom.xwinwrapr = prev.callPackage ./xwinwrap { }; - custom.anime-dl = prev.callPackage ./anime-dl { }; custom.adl = prev.callPackage ./adl { }; + custom.anime-downloader = prev.callPackage ./anime-downloader { pkgs = prev; }; } |