depot/third_party/nixpkgs/pkgs/tools/X11/xmousepasteblock/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

21 lines
689 B
Nix

{ xorg, lib, stdenv, libev, fetchFromGitHub, pkg-config }:
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; {
description = "Middle mouse button primary X selection/clipboard paste disabler";
homepage = "https://github.com/milaq/XMousePasteBlock";
license = lib.licenses.gpl2;
maintainers = [ maintainers.petercommand ];
};
}