f4ea1208ec
*Flags implies a list slightly relevant: > stdenv: start deprecating non-list configureFlags https://github.com/NixOS/nixpkgs/pull/173172 the makeInstalledTests function in `nixos/tests/installed-tests/default.nix` isn't available outside of nixpkgs so it's not a breaking change
21 lines
693 B
Nix
21 lines
693 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 ];
|
|
};
|
|
}
|