forked from mirrors/nixpkgs
xpointerbarrier: 18.06 -> 20.07
This commit is contained in:
parent
5baf267efa
commit
08bf830a2d
|
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue