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