summary refs log tree commit diff
path: root/pkgs/tools/X11/xplugd
diff options
context:
space:
mode:
authorAlexander Khodyrev <a@akho.name>2021-07-24 20:57:28 +0300
committerAlexander Khodyrev <a@akho.name>2021-07-26 09:16:20 +0300
commit3fe085cb14ead9f5f4a7684e16687be7af576acb (patch)
tree480a9c9908dd1ddf76e8b78054e3143e40987118 /pkgs/tools/X11/xplugd
parent2bb1a8dfa40b475666d6fc4241392a1aae4b8910 (diff)
downloadnixpkgs-3fe085cb14ead9f5f4a7684e16687be7af576acb.tar
nixpkgs-3fe085cb14ead9f5f4a7684e16687be7af576acb.tar.gz
nixpkgs-3fe085cb14ead9f5f4a7684e16687be7af576acb.tar.bz2
nixpkgs-3fe085cb14ead9f5f4a7684e16687be7af576acb.tar.lz
nixpkgs-3fe085cb14ead9f5f4a7684e16687be7af576acb.tar.xz
nixpkgs-3fe085cb14ead9f5f4a7684e16687be7af576acb.tar.zst
nixpkgs-3fe085cb14ead9f5f4a7684e16687be7af576acb.zip
xplugd: init at 1.4
Diffstat (limited to 'pkgs/tools/X11/xplugd')
-rw-r--r--pkgs/tools/X11/xplugd/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/X11/xplugd/default.nix b/pkgs/tools/X11/xplugd/default.nix
new file mode 100644
index 00000000000..aa07c7f37b1
--- /dev/null
+++ b/pkgs/tools/X11/xplugd/default.nix
@@ -0,0 +1,30 @@
+{ lib
+, stdenv
+, xorg
+, pkg-config
+, fetchFromGitHub
+, autoreconfHook
+}:
+
+stdenv.mkDerivation rec {
+  pname = "xplugd";
+  version = "1.4";
+
+  src = fetchFromGitHub {
+    owner = "troglobit";
+    repo = "xplugd";
+    rev = "v${version}";
+    sha256 = "11vjr69prrs4ir9c267zwq4g9liipzrqi0kmw1zg95dbn7r7zmql";
+  };
+
+  buildInputs = with xorg; [ libX11 libXi libXrandr libXext ];
+  nativeBuildInputs = [ pkg-config autoreconfHook ];
+
+  meta = with lib; {
+    homepage = "https://github.com/troglobit/xplugd";
+    description = "A UNIX daemon that executes a script on X input and RandR changes";
+    license = licenses.mit;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ akho ];
+  };
+}