summaryrefslogtreecommitdiff
path: root/gallery-dl.nix
blob: c5cec581b1178047b321998c491f68cd0a4c021c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ inputs }:
self: super: {
  gallery-dl =
    with super;
    with self.shiton3.pkgs;
    self.shiton3.pkgs.buildPythonPackage rec {
      pname = "gallery-dl";
      version = "git";
      format = "setuptools";
      src = fetchGit {
        url = "https://github.com/mikf/gallery-dl";
        ref = "master";
        #    rev = "842f964c498ab38e953229e95b0889514263311c";
      };

      propagatedBuildInputs = [
        requests
        self.yt-dlp
      ];

      doCheck = false;

      pythonImportsCheck = [
        "gallery_dl"
      ];

      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";
        changelog = "";
        license = licenses.gpl2Only;
      };
    };
}