about summary refs log tree commit diff
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorAnomalocaridid <29845794+Anomalocaridid@users.noreply.github.com>2023-12-11 14:02:42 -0500
committerAnomalocaridid <29845794+Anomalocaridid@users.noreply.github.com>2023-12-11 14:02:42 -0500
commit6221bbdb87cd24e4a1e783295acb27b943aeed2a (patch)
treee23a92dabf191461bb0218da25e1050edf8de984 /pkgs/tools/inputmethods
parenta8dac2fa64af92360f126d2e20f47cd4ccf1c905 (diff)
footswitch: migrate to pkgs/by-name
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r--pkgs/tools/inputmethods/footswitch/default.nix35
1 files changed, 0 insertions, 35 deletions
diff --git a/pkgs/tools/inputmethods/footswitch/default.nix b/pkgs/tools/inputmethods/footswitch/default.nix
deleted file mode 100644
index a01069c9284fa..0000000000000
--- a/pkgs/tools/inputmethods/footswitch/default.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, pkg-config, hidapi }:
-
-stdenv.mkDerivation {
-  pname = "footswitch";
-  version = "unstable-2022-04-12";
-
-  src = fetchFromGitHub {
-    owner = "rgerganov";
-    repo = "footswitch";
-    rev = "1cf63643e18e688e4ebe96451db24edf52338cc0";
-    sha256 = "0gfvi2wgrljndyz889cjjh2q13994fnaf11n7hpdd82c4wgg06kj";
-  };
-
-  nativeBuildInputs = [ pkg-config ];
-  buildInputs = [ hidapi ];
-
-  postPatch = ''
-    substituteInPlace Makefile \
-      --replace /usr/local $out \
-      --replace /usr/bin/install install \
-      --replace /etc/udev $out/lib/udev
-  '';
-
-  preInstall = ''
-    mkdir -p $out/bin $out/lib/udev/rules.d
-  '';
-
-  meta = with lib; {
-    description = "Command line utlities for programming PCsensor and Scythe foot switches.";
-    homepage    = "https://github.com/rgerganov/footswitch";
-    license     = licenses.mit;
-    platforms   = platforms.linux;
-    maintainers = with maintainers; [ baloo ];
-  };
-}