about summary refs log tree commit diff
path: root/pkgs/development/libraries/discord-gamesdk/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/discord-gamesdk/default.nix')
-rw-r--r--pkgs/development/libraries/discord-gamesdk/default.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/pkgs/development/libraries/discord-gamesdk/default.nix b/pkgs/development/libraries/discord-gamesdk/default.nix
deleted file mode 100644
index 86e1a70accdea..0000000000000
--- a/pkgs/development/libraries/discord-gamesdk/default.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ lib
-, stdenv
-, fetchzip
-, autoPatchelfHook
-}:
-
-stdenv.mkDerivation rec {
-  pname = "discord-gamesdk";
-  version = "3.2.1";
-
-  src = fetchzip {
-    url = "https://dl-game-sdk.discordapp.net/${version}/discord_game_sdk.zip";
-    sha256 = "sha256-83DgL9y3lHLLJ8vgL3EOVk2Tjcue64N+iuDj/UpSdLc=";
-    stripRoot = false;
-  };
-
-  outputs = [ "out" "dev" ];
-
-  buildInputs = [ (stdenv.cc.cc.libgcc or null) ];
-
-  nativeBuildInputs = [ autoPatchelfHook ];
-
-  installPhase =
-    let
-      processor = stdenv.hostPlatform.uname.processor;
-      sharedLibrary = stdenv.hostPlatform.extensions.sharedLibrary;
-    in
-    ''
-      runHook preInstall
-
-      install -Dm555 lib/${processor}/discord_game_sdk${sharedLibrary} $out/lib/discord_game_sdk${sharedLibrary}
-
-      install -Dm444 c/discord_game_sdk.h $dev/lib/include/discord_game_sdk.h
-
-      runHook postInstall
-    '';
-
-  meta = with lib; {
-    homepage = "https://discord.com/developers/docs/game-sdk/sdk-starter-guide";
-    description = "Library to allow other programs to interact with the Discord desktop application";
-    license = licenses.unfree;
-    maintainers = with maintainers; [ tomodachi94 ];
-    sourceProvenance = with sourceTypes; [ binaryNativeCode ];
-    platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" "x86_64-windows" ];
-  };
-}