xpointerbarrier: 18.06 -> 20.07

This commit is contained in:
Anderson Torres 2022-12-26 09:33:31 -03:00
parent 5baf267efa
commit 08bf830a2d

View file

@ -1,22 +1,38 @@
{ lib, stdenv, xorg, fetchgit }:
stdenv.mkDerivation rec {
{ lib,
stdenv,
fetchurl,
pkg-config,
libX11,
libXfixes,
libXrandr,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xpointerbarrier";
version = "18.06";
src = fetchgit {
url = "https://www.uninformativ.de/git/xpointerbarrier.git";
rev = "v${version}";
sha256 = "1k7i641x18qhjm0llsaqn2h2g9k31kgv6p8sildllmbvgxyrgvq7";
version = "20.07";
src = fetchurl {
url = "https://www.uninformativ.de/git/xpointerbarrier/archives/xpointerbarrier-v${finalAttrs.version}.tar.gz";
hash = "sha256-V1sNAQjsPVSjJ2nhCSdZqZQA78pjUE0z3IU4+I85CpI=";
};
buildInputs = [ xorg.libX11 xorg.libXfixes xorg.libXrandr ];
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libX11
libXfixes
libXrandr
];
makeFlags = [ "prefix=$(out)" ];
meta = {
meta = with lib; {
homepage = "https://uninformativ.de/git/xpointerbarrier";
description = "Create X11 pointer barriers around your working area";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.xzfc ];
platforms = lib.platforms.linux;
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres xzfc ];
platforms = platforms.linux;
};
}
})