about summary refs log tree commit diff
path: root/pkgs/tools/games
diff options
context:
space:
mode:
authorEmily Trau <13267947+emilytrau@users.noreply.github.com>2023-12-02 03:14:29 +1100
committerGitHub <noreply@github.com>2023-12-02 03:14:29 +1100
commit4052ea54b7761120c99fd144b0671f5615283dcf (patch)
treec54873a4fc528390568dd11ea48ff2dc58bf9e45 /pkgs/tools/games
parent7c12c8615307e2677a5f769e27ddb0ab4e36a940 (diff)
parentbe94fe030857a967e745b4ad261697b62316c59f (diff)
Merge pull request #271340 from azuwis/trigger-control
trigger-control: unstable-2023-06-18 -> 1.5.1
Diffstat (limited to 'pkgs/tools/games')
-rw-r--r--pkgs/tools/games/trigger-control/default.nix69
1 files changed, 0 insertions, 69 deletions
diff --git a/pkgs/tools/games/trigger-control/default.nix b/pkgs/tools/games/trigger-control/default.nix
deleted file mode 100644
index 0d1ef9ef1d47c..0000000000000
--- a/pkgs/tools/games/trigger-control/default.nix
+++ /dev/null
@@ -1,69 +0,0 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-, cmake
-, makeWrapper
-, pkg-config
-, SDL2
-, dbus
-, libdecor
-, libnotify
-, dejavu_fonts
-, gnome
-}:
-
-let
-  inherit (gnome) zenity;
-in
-
-stdenv.mkDerivation rec {
-  pname = "trigger-control";
-  version = "unstable-2023-06-18";
-
-  src = fetchFromGitHub {
-    owner = "Etaash-mathamsetty";
-    repo = "trigger-control";
-    rev = "d457ebd9e0844cfc456bfa4fa4bb694bb8ad982a";
-    hash = "sha256-QWhUQ8xqS8oRVF0KUpEthlrOoXmhcfEkIHauDI1/5a8=";
-  };
-
-  nativeBuildInputs = [
-    cmake
-    makeWrapper
-    pkg-config
-  ];
-
-  buildInputs = [
-    SDL2
-    dbus
-    libnotify
-  ] ++ lib.optionals stdenv.isLinux [
-    libdecor
-  ];
-
-  # The app crashes without a changed fontdir and upstream recommends dejavu as font
-  postPatch = ''
-    substituteInPlace trigger-control.cpp --replace "/usr/share/fonts/" "${dejavu_fonts}/share/fonts/"
-  '';
-
-  installPhase = ''
-    runHook preInstall
-
-    install -D trigger-control $out/bin/trigger-control
-
-    runHook postInstall
-  '';
-
-  postInstall = lib.optionalString stdenv.isLinux ''
-    wrapProgram $out/bin/trigger-control \
-      --prefix PATH : ${lib.makeBinPath [ zenity ]}
-  '';
-
-  meta = with lib; {
-    description = "Control the dualsense's triggers on Linux (and Windows) with a gui and C++ api";
-    homepage = "https://github.com/Etaash-mathamsetty/trigger-control";
-    license = licenses.mit;
-    maintainers = with maintainers; [ azuwis ];
-    platforms = platforms.all;
-  };
-}