aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/misc/gallery-dl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/gallery-dl/default.nix')
-rw-r--r--pkgs/applications/misc/gallery-dl/default.nix21
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/applications/misc/gallery-dl/default.nix b/pkgs/applications/misc/gallery-dl/default.nix
index 8135dce4d7a3..a93ebb12ed4c 100644
--- a/pkgs/applications/misc/gallery-dl/default.nix
+++ b/pkgs/applications/misc/gallery-dl/default.nix
@@ -1,27 +1,28 @@
-{ lib, python3Packages }:
+{ lib, buildPythonApplication, fetchPypi, requests, pytestCheckHook }:
-python3Packages.buildPythonApplication rec {
+buildPythonApplication rec {
pname = "gallery_dl";
- version = "1.15.2";
+ version = "1.15.4";
- src = python3Packages.fetchPypi {
+ src = fetchPypi {
inherit pname version;
- sha256 = "0f2d1ixg0ir7ispxxggv378dc0m55k9y19075swf893maxf07f35";
+ sha256 = "0byn1ggrb9yg9d29205q312v95jy66qp4z384kys8cmrd3mky111";
};
- propagatedBuildInputs = with python3Packages; [ requests ];
+ propagatedBuildInputs = [ requests ];
- checkInputs = with python3Packages; [ pytestCheckHook ];
+ checkInputs = [ pytestCheckHook ];
pytestFlagsArray = [
# requires network access
"--ignore=test/test_results.py"
"--ignore=test/test_downloader.py"
];
- meta = {
+ meta = with lib; {
description = "Command-line program to download image-galleries and -collections from several image hosting sites";
homepage = "https://github.com/mikf/gallery-dl";
- license = lib.licenses.gpl2;
- maintainers = with lib.maintainers; [ dawidsowa ];
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ dawidsowa ];
+ platforms = platforms.unix;
};
}