Merge pull request #131368 from akho/xplugd-1.4

This commit is contained in:
Artturi 2021-08-07 02:40:58 +03:00 committed by GitHub
commit e525b9eaca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View file

@ -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";

View file

@ -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 ];
};
}

View file

@ -28506,6 +28506,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 { };