chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / wi / wine-discord-ipc-bridge / package.nix
blobbd873bd7ba333c7e8fff97ba34dac7331316b33a
2   lib,
3   stdenv,
4   fetchFromGitHub,
5 }:
7 stdenv.mkDerivation {
8   pname = "wine-discord-ipc-bridge";
9   version = "unstable-2023-08-09";
11   src = fetchFromGitHub {
12     owner = "0e4ef622";
13     repo = "wine-discord-ipc-bridge";
14     rev = "f8198c9d52e708143301017a296f7557c4387127";
15     hash = "sha256-tAknITFlG63+gI5cN9SfUIUZkbIq/MgOPoGIcvoNo4Q=";
16   };
18   postPatch = ''
19     patchShebangs winediscordipcbridge-steam.sh
20   '';
22   installPhase = ''
23     runHook preInstall
24     mkdir -p $out/bin
25     cp winediscordipcbridge.exe $out/bin
26     cp winediscordipcbridge-steam.sh $out/bin
27     runHook postInstall
28   '';
30   meta = with lib; {
31     description = "Enable games running under wine to use Discord Rich Presence";
32     homepage = "https://github.com/0e4ef622/wine-discord-ipc-bridge";
33     license = licenses.mit;
34     maintainers = [ maintainers.uku3lig ];
35     mainProgram = "winediscordipcbridge";
36     platforms = [ "mingw32" ];
37   };