8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
21 lines
696 B
Nix
21 lines
696 B
Nix
{ xorg, stdenv, libev, fetchFromGitHub, pkgconfig }:
|
|
|
|
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 = [ pkgconfig ];
|
|
meta = with stdenv.lib; {
|
|
description = "Middle mouse button primary X selection/clipboard paste disabler";
|
|
homepage = "https://github.com/milaq/XMousePasteBlock";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = [ maintainers.petercommand ];
|
|
};
|
|
}
|