Merge pull request #310649 from tomodachi94/enhance/discord-gamesdk/by-name-nixfmt

discord-gamesdk: modernize (move to by-name, format with nixfmt-rfc-style)
This commit is contained in:
éclairevoyant 2024-05-10 20:21:13 +00:00 committed by GitHub
commit 8e9745496f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 8 deletions

View File

@ -1,7 +1,8 @@
{ lib
, stdenv
, fetchzip
, autoPatchelfHook
{
lib,
stdenv,
fetchzip,
autoPatchelfHook,
}:
stdenv.mkDerivation rec {
@ -14,7 +15,10 @@ stdenv.mkDerivation rec {
stripRoot = false;
};
outputs = [ "out" "dev" ];
outputs = [
"out"
"dev"
];
buildInputs = [ (stdenv.cc.cc.libgcc or null) ];
@ -41,6 +45,11 @@ stdenv.mkDerivation rec {
license = licenses.unfree;
maintainers = with maintainers; [ tomodachi94 ];
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" "x86_64-windows" ];
platforms = [
"x86_64-linux"
"x86_64-darwin"
"aarch64-darwin"
"x86_64-windows"
];
};
}

View File

@ -20566,8 +20566,6 @@ with pkgs;
directfb = callPackage ../development/libraries/directfb { };
discord-gamesdk = callPackage ../development/libraries/discord-gamesdk { };
discord-rpc = callPackage ../development/libraries/discord-rpc {
inherit (darwin.apple_sdk.frameworks) AppKit;
};