summary refs log tree commit diff
path: root/pkgs/tools/misc/depotdownloader/default.nix
blob: dfe8cbc055e241d6a84daa10c65b065adb2aa0d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv
, lib
, fetchFromGitHub
, buildDotnetModule
}:

buildDotnetModule rec {
  pname = "depotdownloader";
  version = "2.4.5";

  src = fetchFromGitHub {
    owner = "SteamRE";
    repo = "DepotDownloader";
    rev = "DepotDownloader_${version}";
    sha256 = "0i5qgjnliji1g408ks1034r69vqdmfnzanb0qm7jmyzwww7vwpnh";
  };

  projectFile = "DepotDownloader.sln";
  nugetDeps = ./deps.nix;

  meta = with lib; {
    broken = stdenv.isDarwin;
    description = "Steam depot downloader utilizing the SteamKit2 library";
    license = licenses.gpl2Only;
    maintainers = [ maintainers.babbaj ];
    platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
  };
}