nixpkgs/pkgs/tools/X11/xpointerbarrier/default.nix

25 lines
676 B
Nix
Raw Normal View History

2017-10-23 13:29:16 +01:00
{ stdenv, xorg, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "xpointerbarrier-${version}";
2018-03-22 19:43:08 +00:00
version = "17.11";
2017-10-23 13:29:16 +01:00
src = fetchFromGitHub {
owner = "vain";
repo = "xpointerbarrier";
rev = "v${version}";
2018-03-22 19:43:08 +00:00
sha256 = "0s6bd58xjyc2nqzjq6aglx6z64x9xavda3i6p8vrmxqmcpik54nm";
2017-10-23 13:29:16 +01:00
};
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 ];
2017-10-23 13:29:16 +01:00
platforms = stdenv.lib.platforms.linux;
};
}