diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2023-01-25 16:40:44 +0100 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2023-01-30 09:28:54 +0100 |
commit | 99deccdceca76ed562187d1a8139d3d9cbf4c587 (patch) | |
tree | b0d8f55b8e32c7a96874ce90a7c40ed1daade98f /pkgs/games/itchiodl | |
parent | 7f6757e4f2f6f68096988240940268dc4fd853d4 (diff) |
itchiodl: init at 2.1.2
Diffstat (limited to 'pkgs/games/itchiodl')
-rw-r--r-- | pkgs/games/itchiodl/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/games/itchiodl/default.nix b/pkgs/games/itchiodl/default.nix new file mode 100644 index 0000000000000..ba84b5c3e8181 --- /dev/null +++ b/pkgs/games/itchiodl/default.nix @@ -0,0 +1,35 @@ +{ lib +, python3Packages +, fetchFromGitHub +}: + +python3Packages.buildPythonApplication rec { + pname = "itchiodl"; + version = "2.1.2"; + + src = fetchFromGitHub { + owner = "Emersont1"; + repo = "itchio"; + rev = "v${version}"; + hash = "sha256-U9oLrocwVdTqTQ26/MMiYO++yFGdOjnn8g+ea1jCl/A="; + }; + + 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 ]; + }; +} |