3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/X11/xmousepasteblock/default.nix

22 lines
689 B
Nix
Raw Normal View History

{ xorg, lib, stdenv, libev, fetchFromGitHub, pkg-config }:
2019-12-24 09:18:07 +00: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 ];
nativeBuildInputs = [ pkg-config ];
meta = with lib; {
2019-12-24 09:18:07 +00:00
description = "Middle mouse button primary X selection/clipboard paste disabler";
homepage = "https://github.com/milaq/XMousePasteBlock";
2021-01-15 09:19:50 +00:00
license = lib.licenses.gpl2;
2019-12-24 09:18:07 +00:00
maintainers = [ maintainers.petercommand ];
};
}