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