2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
2021-10-28 06:52:43 +00:00
|
|
|
, buildDotnetModule
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchFromGitHub
|
2021-06-06 07:54:09 +00:00
|
|
|
}:
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
buildDotnetModule rec {
|
2021-06-06 07:54:09 +00:00
|
|
|
pname = "depotdownloader";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "2.5.0";
|
2021-06-06 07:54:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SteamRE";
|
|
|
|
repo = "DepotDownloader";
|
|
|
|
rev = "DepotDownloader_${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "Kgi0u+H5BIAhrjk9e+8H1h0p5Edm3+2twYBPY3JQGps=";
|
2021-06-06 07:54:09 +00:00
|
|
|
};
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
projectFile = "DepotDownloader.sln";
|
|
|
|
nugetDeps = ./deps.nix;
|
2021-06-06 07:54:09 +00:00
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
passthru.updateScript = ./update.sh;
|
|
|
|
|
2021-06-06 07:54:09 +00:00
|
|
|
meta = with lib; {
|
2021-10-28 06:52:43 +00:00
|
|
|
description = "Steam depot downloader utilizing the SteamKit2 library";
|
2022-09-09 14:08:57 +00:00
|
|
|
changelog = "https://github.com/SteamRE/DepotDownloader/releases/tag/DepotDownloader_${version}";
|
2021-06-06 07:54:09 +00:00
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = [ maintainers.babbaj ];
|
2023-04-12 12:48:02 +00:00
|
|
|
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
2022-09-09 14:08:57 +00:00
|
|
|
mainProgram = "DepotDownloader";
|
2021-06-06 07:54:09 +00:00
|
|
|
};
|
|
|
|
}
|