From 2cbfe0a5dbc37cb7d12dc20075019f1e08bcc00e Mon Sep 17 00:00:00 2001 From: Albert Safin Date: Mon, 23 Oct 2017 19:52:44 +0700 Subject: [PATCH 1/2] maintainers: add xzfc --- lib/maintainers.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 4bb12dcfcc8c..1054fd851af3 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -671,6 +671,7 @@ xnwdd = "Guillermo NWDD "; xvapx = "Marti Serra "; xwvvvvwx = "David Terry "; + xzfc = "Albert Safin "; yarr = "Dmitry V. "; yegortimoshenko = "Yegor Timoshenko "; yochai = "Yochai "; From 90729600a8b2dec50c4d0e9cf3d86f1b1e8becad Mon Sep 17 00:00:00 2001 From: Albert Safin Date: Mon, 23 Oct 2017 19:29:16 +0700 Subject: [PATCH 2/2] xpointerbarrier: init at 17.10 --- pkgs/tools/X11/xpointerbarrier/default.nix | 24 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/tools/X11/xpointerbarrier/default.nix diff --git a/pkgs/tools/X11/xpointerbarrier/default.nix b/pkgs/tools/X11/xpointerbarrier/default.nix new file mode 100644 index 000000000000..5eb1faafe2ef --- /dev/null +++ b/pkgs/tools/X11/xpointerbarrier/default.nix @@ -0,0 +1,24 @@ +{ stdenv, xorg, fetchFromGitHub }: +stdenv.mkDerivation rec { + name = "xpointerbarrier-${version}"; + version = "17.10"; + + src = fetchFromGitHub { + owner = "vain"; + repo = "xpointerbarrier"; + rev = "v${version}"; + sha256 = "0p4qc7ggndf74d2xdf38659prx3r3lfi5jc8nmqx52c9fqdshcrk"; + }; + + buildInputs = [ xorg.libX11 xorg.libXfixes xorg.libXrandr ]; + + makeFlags = "prefix=$(out)"; + + meta = { + homepage = https://github.com/vain/xpointerbarrier; + description = "Create X11 pointer barriers around your working area"; + license = stdenv.lib.licenses.mit; + maintainers = stdenv.lib.maintainers.xzfc; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 409913757f94..f469744ee7ea 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17331,6 +17331,8 @@ with pkgs; xpdf = libsForQt5.callPackage ../applications/misc/xpdf { }; + xpointerbarrier = callPackage ../tools/X11/xpointerbarrier {}; + xkb_switch = callPackage ../tools/X11/xkb-switch { }; xkblayout-state = callPackage ../applications/misc/xkblayout-state { };