about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/itchiodl/default.nix
blob: 57a5d1473e178c11160dcb4e086a4fec9a22c42c (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
{ lib
, python3Packages
, fetchFromGitHub
}:

python3Packages.buildPythonApplication rec {
  pname = "itchiodl";
  version = "2.3.0";

  src = fetchFromGitHub {
    owner = "Emersont1";
    repo = "itchio";
    rev = "v${version}";
    hash = "sha256-XuNkqTAT9LlSwruchGQbombAKHZvKhpnqLfvJdDcrj0=";
  };

  format = "pyproject";

  nativeBuildInputs = with python3Packages; [
    poetry-core
  ];

  propagatedBuildInputs = with python3Packages; [
    beautifulsoup4
    clint
    requests
  ];

  meta = with lib; {
    homepage = "https://github.com/Emersont1/itchio";
    description = "itch.io download tool";
    license = licenses.mit;
    maintainers = with maintainers; [ fgaz ];
  };
}