nixpkgs/pkgs/games/itchiodl/default.nix
2023-01-31 08:55:52 +01:00

35 lines
694 B
Nix

{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "itchiodl";
version = "2.2.0";
src = fetchFromGitHub {
owner = "Emersont1";
repo = "itchio";
rev = "v${version}";
hash = "sha256-tylMEsUdeMUuLcxRMkkJE7vPAVuqc/cVJ4DB3xmV+iA=";
};
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 ];
};
}