From 2bb1a8dfa40b475666d6fc4241392a1aae4b8910 Mon Sep 17 00:00:00 2001
From: Alexander Khodyrev
Date: Sat, 24 Jul 2021 20:45:09 +0300
Subject: maintainers: add akho
---
maintainers/maintainer-list.nix | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 94007a0274c41..618b8c555b4bf 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -390,6 +390,12 @@
githubId = 1318982;
name = "Anders Claesson";
};
+ akho = {
+ name = "Alexander Khodyrev";
+ email = "a@akho.name";
+ github = "akho";
+ githubId = 104951;
+ };
akru = {
email = "mail@akru.me";
github = "akru";
--
cgit 1.4.1
From 3fe085cb14ead9f5f4a7684e16687be7af576acb Mon Sep 17 00:00:00 2001
From: Alexander Khodyrev
Date: Sat, 24 Jul 2021 20:57:28 +0300
Subject: xplugd: init at 1.4
---
pkgs/tools/X11/xplugd/default.nix | 30 ++++++++++++++++++++++++++++++
pkgs/top-level/all-packages.nix | 2 ++
2 files changed, 32 insertions(+)
create mode 100644 pkgs/tools/X11/xplugd/default.nix
diff --git a/pkgs/tools/X11/xplugd/default.nix b/pkgs/tools/X11/xplugd/default.nix
new file mode 100644
index 0000000000000..aa07c7f37b1b4
--- /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 ];
+ };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index efbe8000fc1b9..dfa4a846bd4e9 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -28289,6 +28289,8 @@ in
xpdf = libsForQt5.callPackage ../applications/misc/xpdf { };
+ xplugd = callPackage ../tools/X11/xplugd { };
+
xpointerbarrier = callPackage ../tools/X11/xpointerbarrier {};
xkb-switch = callPackage ../tools/X11/xkb-switch { };
--
cgit 1.4.1