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

25 lines
676 B
Nix
Raw Normal View History

2017-10-23 14:29:16 +02:00
{ 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 ];
2017-10-23 14:29:16 +02:00
platforms = stdenv.lib.platforms.linux;
};
}