depot/third_party/nixpkgs/pkgs/tools/misc/depotdownloader/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

31 lines
810 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, buildDotnetModule
}:
buildDotnetModule rec {
pname = "depotdownloader";
version = "2.4.7";
src = fetchFromGitHub {
owner = "SteamRE";
repo = "DepotDownloader";
rev = "DepotDownloader_${version}";
sha256 = "F67bRIIN9aRbcPVFge3o0I9RF5JqHNDlTPhOpwqdADY=";
};
projectFile = "DepotDownloader.sln";
nugetDeps = ./deps.nix;
passthru.updateScript = ./update.sh;
meta = with lib; {
description = "Steam depot downloader utilizing the SteamKit2 library";
changelog = "https://github.com/SteamRE/DepotDownloader/releases/tag/DepotDownloader_${version}";
license = licenses.gpl2Only;
maintainers = [ maintainers.babbaj ];
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
mainProgram = "DepotDownloader";
};
}