about summary refs log tree commit diff
path: root/pkgs/tools/games
diff options
context:
space:
mode:
authorZhong Jianxin <azuwis@gmail.com>2024-05-12 20:02:44 +0800
committerZhong Jianxin <azuwis@gmail.com>2024-05-12 20:02:44 +0800
commit4c0f9d5733b7efeed4d32cf2a071a3e0da867b66 (patch)
treea1c043d194a71dbb9678dffa880eaf2643404e1c /pkgs/tools/games
parentadd7fad06c489f6cfa86906bd20df81b48407797 (diff)
dualsensectl: migrate to pkgs/by-name and other enhancements
- Format using nixfmt-rfc-style
- Switch to finalAttrs pattern
- Add passthru.tests.version
- Add passthru.updateScript
- Add meta.changelog
Diffstat (limited to 'pkgs/tools/games')
-rw-r--r--pkgs/tools/games/dualsensectl/default.nix47
1 files changed, 0 insertions, 47 deletions
diff --git a/pkgs/tools/games/dualsensectl/default.nix b/pkgs/tools/games/dualsensectl/default.nix
deleted file mode 100644
index 12b3a8492f621..0000000000000
--- a/pkgs/tools/games/dualsensectl/default.nix
+++ /dev/null
@@ -1,47 +0,0 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-, pkg-config
-, dbus
-, hidapi
-, udev
-}:
-
-stdenv.mkDerivation rec {
-  pname = "dualsensectl";
-  version = "0.5";
-
-  src = fetchFromGitHub {
-    owner = "nowrep";
-    repo = "dualsensectl";
-    rev = "v${version}";
-    hash = "sha256-+OSp9M0A0J4nm7ViDXG63yrUZuZxR7gyckwSCdy3qm0=";
-  };
-
-  postPatch = ''
-    substituteInPlace Makefile --replace "/usr/" "/"
-  '';
-
-  nativeBuildInputs = [
-    pkg-config
-  ];
-
-  buildInputs = [
-    dbus
-    hidapi
-    udev
-  ];
-
-  makeFlags = [
-    "DESTDIR=$(out)"
-  ];
-
-  meta = with lib; {
-    description = "Linux tool for controlling PS5 DualSense controller";
-    homepage = "https://github.com/nowrep/dualsensectl";
-    license = licenses.gpl2Only;
-    mainProgram = "dualsensectl";
-    maintainers = with maintainers; [ azuwis ];
-    platforms = platforms.linux;
-  };
-}