diff options
-rw-r--r-- | packages/anime-downloader/default.nix | 12 | ||||
-rw-r--r-- | packages/default.nix | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/packages/anime-downloader/default.nix b/packages/anime-downloader/default.nix index 985e5b4..f6ecd85 100644 --- a/packages/anime-downloader/default.nix +++ b/packages/anime-downloader/default.nix @@ -1,17 +1,17 @@ -{ pkgs, lib }: +{ python39, fetchFromGitHub, nodejs, mpv, lib }: -pkgs.python39.pkgs.buildPythonPackage rec { +python39.pkgs.buildPythonPackage rec { pname = "anime-downloader"; version = "5.0.14"; - src = pkgs.fetchFromGitHub { + src = fetchFromGitHub { owner = "anime-dl"; repo = "anime-downloader"; rev = version; sha256 = "1ai71g8cp2i37p53lm32nl3h8cq7rcxifhnj1z1cfvxbqjvackaj"; }; - propagatedBuildInputs = with pkgs.python39.pkgs; [ + propagatedBuildInputs = with python39.pkgs; [ pySmartDL cfscrape beautifulsoup4 @@ -23,8 +23,8 @@ pkgs.python39.pkgs.buildPythonPackage rec { tabulate pycryptodome - pkgs.nodejs - pkgs.mpv + nodejs + mpv ]; doCheck = false; diff --git a/packages/default.nix b/packages/default.nix index 4866b44..92ca52a 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -4,7 +4,7 @@ final: prev: smart-wallpaper = prev.callPackage ./smart-wallpaper { }; dwmbar = prev.callPackage ./dwmbar { }; trackma = prev.callPackage ./trackma { }; - anime-downloader = prev.callPackage ./anime-downloader { pkgs = prev; }; + anime-downloader = prev.callPackage ./anime-downloader { }; adl = prev.callPackage ./adl { anime-downloader = final.custom.anime-downloader; trackma = final.custom.trackma; }; kindlegen = prev.callPackage ./kindlegen { }; }; |