Merge pull request #207832 from atorres1985-contrib/bevelbar

misc updates
This commit is contained in:
Anderson Torres 2022-12-26 20:51:14 -03:00 committed by GitHub
commit 4b64461057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 70 additions and 41 deletions

View File

@ -1,25 +0,0 @@
{ lib, stdenv, fetchFromGitHub, libX11, libXrandr, libXft }:
stdenv.mkDerivation rec {
pname = "bevelbar";
version = "16.11";
src = fetchFromGitHub {
owner = "vain";
repo = "bevelbar";
rev = "v${version}";
sha256 = "1hbwg3vdxw9fyshy85skv476p0zr4ynvhcz2xkijydpzm2j3rmjm";
};
buildInputs = [ libX11 libXrandr libXft ];
installFlags = [ "prefix=$(out)" ];
meta = with lib; {
description = "An X11 status bar with fancy schmancy 1985-ish beveled borders";
inherit (src.meta) homepage;
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.neeasade ];
};
}

View File

@ -0,0 +1,38 @@
{ lib,
stdenv,
fetchurl,
pkg-config,
libX11,
libXft,
libXrandr,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bevelbar";
version = "22.06";
src = fetchurl {
url = "https://www.uninformativ.de/git/bevelbar/archives/bevelbar-v${finalAttrs.version}.tar.gz";
hash = "sha256-8ceFwQFHhJ1qEXJtzoDXU0XRgudaAfsoWq7LYgGEqsM=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libX11
libXft
libXrandr
];
makeFlags = [ "prefix=$(out)" ];
meta = with lib; {
homepage = "https://www.uninformativ.de/git/bevelbar/file/README.html";
description = "X11 status bar with beveled borders";
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres neeasade ];
platforms = platforms.linux;
};
})

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 = {
homepage = "https://uninformativ.de/git/xpointerbarrier";
meta = with lib; {
homepage = "https://www.uninformativ.de/git/xpointerbarrier/file/README.html";
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;
};
}
})

View File

@ -5595,6 +5595,8 @@ with pkgs;
bfs = callPackage ../tools/system/bfs { };
bevelbar = callPackage ../tools/X11/bevelbar { };
bgs = callPackage ../tools/X11/bgs { };
bibclean = callPackage ../tools/typesetting/bibclean { };
@ -27832,8 +27834,6 @@ with pkgs;
enableVST2 = true;
};
bevelbar = callPackage ../applications/window-managers/bevelbar { };
bfcal = libsForQt5.callPackage ../applications/misc/bfcal { };
bibletime = libsForQt5.callPackage ../applications/misc/bibletime { };