1{ lib
2, python3Packages
3, fetchFromGitHub
4}:
5
6python3Packages.buildPythonApplication rec {
7 pname = "itchiodl";
8 version = "2.3.0";
9
10 src = fetchFromGitHub {
11 owner = "Emersont1";
12 repo = "itchio";
13 rev = "v${version}";
14 hash = "sha256-XuNkqTAT9LlSwruchGQbombAKHZvKhpnqLfvJdDcrj0=";
15 };
16
17 format = "pyproject";
18
19 nativeBuildInputs = with python3Packages; [
20 poetry-core
21 ];
22
23 propagatedBuildInputs = with python3Packages; [
24 beautifulsoup4
25 clint
26 requests
27 ];
28
29 meta = with lib; {
30 homepage = "https://github.com/Emersont1/itchio";
31 description = "itch.io download tool";
32 license = licenses.mit;
33 maintainers = with maintainers; [ fgaz ];
34 };
35}