From a26df18796ff4e506b16bf32fcec9336233b9e2e Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Tue, 28 Jan 2025 19:12:09 -0500 Subject: New upstream version 1.28.5. --- README.rst | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 2a1a3c2..4033183 100644 --- a/README.rst +++ b/README.rst @@ -76,9 +76,9 @@ Standalone Executable Prebuilt executable files with a Python interpreter and required Python packages included are available for -- `Windows `__ +- `Windows `__ (Requires `Microsoft Visual C++ Redistributable Package (x86) `__) -- `Linux `__ +- `Linux `__ Nightly Builds @@ -117,7 +117,6 @@ Scoop scoop install gallery-dl - Homebrew -------- @@ -174,6 +173,48 @@ This will remove the container after every use so you will always have a fresh e You can also add an alias to your shell for "gallery-dl" or create a simple bash script and drop it somewhere in your $PATH to act as a shim for this command. +Nix and Home Manager +-------------------------- + +Adding *gallery-dl* to your system environment: + +.. code:: nix + + environment.systemPackages = with pkgs; [ + gallery-dl + ]; + +Using :code:`nix-shell` + +.. code:: bash + + nix-shell -p gallery-dl + +.. code:: bash + + nix-shell -p gallery-dl --run "gallery-dl " + +For Home Manager users, you can manage *gallery-dl* declaratively: + +.. code:: nix + + programs.gallery-dl = { + enable = true; + settings = { + extractor.base-directory = "~/Downloads"; + }; + }; + +Alternatively, you can just add it to :code:`home.packages` if you don't want to manage it declaratively: + +.. code:: nix + + home.packages = with pkgs; [ + gallery-dl + ]; + +After making these changes, simply rebuild your configuration and open a new shell to have *gallery-dl* available. + Usage ===== -- cgit v1.2.3