Skip to content

Commit

Permalink
wine-discord-ipc-bridge: init at unstable-2023-08-09 (NixOS#314298)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin authored Sep 5, 2024
2 parents 36e2bec + 22beb95 commit 0f6841e
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
7 changes: 7 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21514,6 +21514,13 @@
githubId = 12422133;
name = "Chromo-residuum-opec";
};
uku3lig = {
name = "uku";
email = "[email protected]";
matrix = "@uku:m.uku.moe";
github = "uku3lig";
githubId = 61147779;
};
ulrikstrid = {
email = "[email protected]";
github = "ulrikstrid";
Expand Down
38 changes: 38 additions & 0 deletions pkgs/by-name/wi/wine-discord-ipc-bridge/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
lib,
stdenv,
fetchFromGitHub,
}:

stdenv.mkDerivation {
pname = "wine-discord-ipc-bridge";
version = "unstable-2023-08-09";

src = fetchFromGitHub {
owner = "0e4ef622";
repo = "wine-discord-ipc-bridge";
rev = "f8198c9d52e708143301017a296f7557c4387127";
hash = "sha256-tAknITFlG63+gI5cN9SfUIUZkbIq/MgOPoGIcvoNo4Q=";
};

postPatch = ''
patchShebangs winediscordipcbridge-steam.sh
'';

installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp winediscordipcbridge.exe $out/bin
cp winediscordipcbridge-steam.sh $out/bin
runHook postInstall
'';

meta = with lib; {
description = "Enable games running under wine to use Discord Rich Presence";
homepage = "https://github.com/0e4ef622/wine-discord-ipc-bridge";
license = licenses.mit;
maintainers = [ maintainers.uku3lig ];
mainProgram = "winediscordipcbridge";
platforms = [ "mingw32" ];
};
}

0 comments on commit 0f6841e

Please sign in to comment.