2022-06-16 17:23:12 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2021-10-28 06:52:43 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, buildDotnetModule
|
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";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "2.4.7";
|
2021-06-06 07:54:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SteamRE";
|
|
|
|
repo = "DepotDownloader";
|
|
|
|
rev = "DepotDownloader_${version}";
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "F67bRIIN9aRbcPVFge3o0I9RF5JqHNDlTPhOpwqdADY=";
|
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 ];
|
|
|
|
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
|
2022-09-09 14:08:57 +00:00
|
|
|
mainProgram = "DepotDownloader";
|
2021-06-06 07:54:09 +00:00
|
|
|
};
|
|
|
|
}
|