about summary refs log tree commit diff
path: root/packages/anime-downloader
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-22 16:11:39 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-22 16:11:39 +0200
commitbccc0e5a4cbaf992ab91f85f284cf82371af945d (patch)
treee6b95d9d80d81b487b49cb9c121e6baedc4e47a8 /packages/anime-downloader
parentMove hosts variable up (diff)
downloadnixos-config-bccc0e5a4cbaf992ab91f85f284cf82371af945d.tar.gz
nixos-config-bccc0e5a4cbaf992ab91f85f284cf82371af945d.tar.bz2
nixos-config-bccc0e5a4cbaf992ab91f85f284cf82371af945d.zip
Custom packages: anime-downloader: pass pkgs individually
Diffstat (limited to 'packages/anime-downloader')
-rw-r--r--packages/anime-downloader/default.nix12
1 files changed, 6 insertions, 6 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;