diff options
author | Albert Safin <xzfcpw@gmail.com> | 2017-10-23 19:29:16 +0700 |
---|---|---|
committer | Albert Safin <xzfcpw@gmail.com> | 2017-10-23 20:38:59 +0700 |
commit | 90729600a8b2dec50c4d0e9cf3d86f1b1e8becad (patch) | |
tree | 3edf45a8b6509e50dcac37308a23a2ac5346b9bb /pkgs/tools/X11/xpointerbarrier | |
parent | 2cbfe0a5dbc37cb7d12dc20075019f1e08bcc00e (diff) |
xpointerbarrier: init at 17.10
Diffstat (limited to 'pkgs/tools/X11/xpointerbarrier')
-rw-r--r-- | pkgs/tools/X11/xpointerbarrier/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
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; + }; +} |