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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
723 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";
2023-03-17 10:05:05 +00:00
version = "1.3";
2019-12-24 09:18:07 +00:00
src = fetchFromGitHub {
owner = "milaq";
repo = "XMousePasteBlock";
2023-03-17 10:05:05 +00:00
hash = "sha256-0rpAbYUU0SoeQaVNStmIEuYyiWbRAdTN7Mvm0ySDnhU=";
2019-12-24 09:18:07 +00:00
rev = version;
};
2023-03-17 10:05:05 +00:00
makeFlags = [ "PREFIX=$(out)" "CC=${stdenv.cc.targetPrefix}cc" ];
2019-12-24 09:18:07 +00:00
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 ];
};
}