mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
48 lines
1.0 KiB
Nix
48 lines
1.0 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";
|
|
};
|
|
})
|