anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / tools / misc / depotdownloader / default.nix
blobb7c3e1414be934b3a6f1f1c1086fbd6b7c865541
1 { lib
2 , buildDotnetModule
3 , fetchFromGitHub
4 , dotnetCorePackages
5 }:
7 buildDotnetModule rec {
8   pname = "depotdownloader";
9   version = "2.7.3";
11   src = fetchFromGitHub {
12     owner = "SteamRE";
13     repo = "DepotDownloader";
14     rev = "DepotDownloader_${version}";
15     sha256 = "TKPUE9PzTUoYmhT1O+Qvb0lukPY6fGs70wSiCdEJUMQ=";
16   };
18   projectFile = "DepotDownloader.sln";
19   nugetDeps = ./deps.nix;
20   dotnet-sdk = dotnetCorePackages.sdk_8_0;
21   dotnet-runtime = dotnetCorePackages.runtime_8_0;
23   passthru.updateScript = ./update.sh;
25   meta = with lib; {
26     description = "Steam depot downloader utilizing the SteamKit2 library";
27     changelog = "https://github.com/SteamRE/DepotDownloader/releases/tag/DepotDownloader_${version}";
28     license = licenses.gpl2Only;
29     maintainers = [ maintainers.babbaj ];
30     platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
31     mainProgram = "DepotDownloader";
32   };