about summary refs log tree commit diff
path: root/packages/anime-downloader/default.nix
blob: 985e5b4072472b4c8452066e6690e2a8044df094 (plain) (blame)
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
35
36
37
38
39
{ pkgs, lib }:

pkgs.python39.pkgs.buildPythonPackage rec {
  pname = "anime-downloader";
  version = "5.0.14";

  src = pkgs.fetchFromGitHub {
    owner = "anime-dl";
    repo = "anime-downloader";
    rev = version;
    sha256 = "1ai71g8cp2i37p53lm32nl3h8cq7rcxifhnj1z1cfvxbqjvackaj";
  };

  propagatedBuildInputs = with pkgs.python39.pkgs; [
    pySmartDL
    cfscrape
    beautifulsoup4
    requests
    requests-cache
    click
    fuzzywuzzy
    coloredlogs
    tabulate
    pycryptodome

    pkgs.nodejs
    pkgs.mpv
  ];

  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/anime-dl/anime-downloader";
    description = "A simple but powerful anime downloader and streamer.";
    license = licenses.unlicense;
    maintainers = [ ];
    platforms = platforms.linux;
  };
}