2021-01-17 10:17:16 +01:00
|
|
|
{ xorg, lib, stdenv, libev, fetchFromGitHub, pkg-config }:
|
2019-12-24 10:18:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xmousepasteblock";
|
|
|
|
version = "1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "milaq";
|
|
|
|
repo = "XMousePasteBlock";
|
|
|
|
sha256 = "0vidckfp277cg2gsww8a8q5b18m10iy4ppyp2qipr89771nrcmns";
|
|
|
|
rev = version;
|
|
|
|
};
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
buildInputs = with xorg; [ libX11 libXext libXi libev ];
|
2021-01-17 10:17:16 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-12-24 10:18:07 +01:00
|
|
|
description = "Middle mouse button primary X selection/clipboard paste disabler";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/milaq/XMousePasteBlock";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl2;
|
2019-12-24 10:18:07 +01:00
|
|
|
maintainers = [ maintainers.petercommand ];
|
|
|
|
};
|
|
|
|
}
|