Skip to content

Commit

Permalink
Merge pull request NixOS#212632 from fgaz/itchiodl/init
Browse files Browse the repository at this point in the history
itchiodl: init at 2.1.2
  • Loading branch information
NickCao committed Jan 31, 2023
2 parents 2603076 + 99deccd commit cdd68cd
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/games/itchiodl/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3291,6 +3291,8 @@ with pkgs;

itch = callPackage ../games/itch {};

itchiodl = callPackage ../games/itchiodl { };

itd = callPackage ../applications/misc/itd { };

kord = callPackage ../applications/misc/kord { };
Expand Down

0 comments on commit cdd68cd

Please sign in to comment.