depot/third_party/nixpkgs/pkgs/by-name/xp/xpointerbarrier/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

47 lines
1 KiB
Nix

{
lib,
stdenv,
fetchurl,
pkg-config,
libX11,
libXfixes,
libXrandr,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xpointerbarrier";
version = "23.08";
src = fetchurl {
url = "https://www.uninformativ.de/git/xpointerbarrier/archives/xpointerbarrier-v${finalAttrs.version}.tar.gz";
hash = "sha256-d0PcZ4z8JgN4ncPUGeJZwIV5vB7M0Jo7o1/L6mrJtUc=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libX11
libXfixes
libXrandr
];
makeFlags = [ "prefix=$(out)" ];
passthru.updateScript = gitUpdater {
url = "https://www.uninformativ.de/git/xpointerbarrier.git/";
rev-prefix = "v";
};
meta = with lib; {
homepage = "https://www.uninformativ.de/git/xpointerbarrier/file/README.html";
description = "Create X11 pointer barriers around your working area";
license = licenses.mit;
maintainers = with maintainers; [
AndersonTorres
xzfc
];
platforms = platforms.linux;
mainProgram = "xpointerbarrier";
};
})