nixpkgs/pkgs/tools/misc/depotdownloader/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
818 B
Nix
Raw Normal View History

{ lib
2021-10-25 23:36:45 +00:00
, buildDotnetModule
, 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 ];
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
};
}