Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
1.0 KiB
Nix
50 lines
1.0 KiB
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
python3Packages,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "itch-dl";
|
|
version = "0.6.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DragoonAethis";
|
|
repo = "itch-dl";
|
|
tag = version;
|
|
hash = "sha256-zwsiG38wOVi3pP0gQWkZqfAmdWKadjB65qiTg68tZWg=";
|
|
};
|
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
pythonRelaxDepsHook
|
|
];
|
|
|
|
build-system = with python3Packages; [
|
|
hatchling
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
beautifulsoup4
|
|
lxml
|
|
requests
|
|
tqdm
|
|
urllib3
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"urllib3"
|
|
"beautifulsoup4"
|
|
"lxml"
|
|
];
|
|
|
|
meta = {
|
|
description = "Itch.io game downloader with website, game jam, collection and library support";
|
|
mainProgram = "itch-dl";
|
|
homepage = "https://github.com/DragoonAethis/itch-dl";
|
|
changelog = "https://github.com/DragoonAethis/itch-dl/releases/tag/${src.tag}";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ jopejoe1 ];
|
|
};
|
|
}
|