mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
wine-discord-ipc-bridge: init at unstable-2023-08-09 (#314298)
This commit is contained in:
commit
0f6841e616
@ -21514,6 +21514,13 @@
|
|||||||
githubId = 12422133;
|
githubId = 12422133;
|
||||||
name = "Chromo-residuum-opec";
|
name = "Chromo-residuum-opec";
|
||||||
};
|
};
|
||||||
|
uku3lig = {
|
||||||
|
name = "uku";
|
||||||
|
email = "hi@uku.moe";
|
||||||
|
matrix = "@uku:m.uku.moe";
|
||||||
|
github = "uku3lig";
|
||||||
|
githubId = 61147779;
|
||||||
|
};
|
||||||
ulrikstrid = {
|
ulrikstrid = {
|
||||||
email = "ulrik.strid@outlook.com";
|
email = "ulrik.strid@outlook.com";
|
||||||
github = "ulrikstrid";
|
github = "ulrikstrid";
|
||||||
|
38
pkgs/by-name/wi/wine-discord-ipc-bridge/package.nix
Normal file
38
pkgs/by-name/wi/wine-discord-ipc-bridge/package.nix
Normal file
@ -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" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user