2024-05-13 00:03:43 +00:00
|
|
|
{
|
|
|
|
lib,
|
2022-12-26 13:07:29 +00:00
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
pkg-config,
|
|
|
|
libX11,
|
|
|
|
libXft,
|
|
|
|
libXrandr,
|
2024-05-13 00:06:18 +00:00
|
|
|
gitUpdater,
|
2022-12-26 13:07:29 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "bevelbar";
|
2024-05-13 00:07:14 +00:00
|
|
|
version = "23.08";
|
2022-12-26 13:07:29 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.uninformativ.de/git/bevelbar/archives/bevelbar-v${finalAttrs.version}.tar.gz";
|
2024-05-13 00:07:14 +00:00
|
|
|
hash = "sha256-4wMSPi9tu+z1AW2uvPefxkeT/5DYo2oJybhNnpe82QU=";
|
2022-12-26 13:07:29 +00:00
|
|
|
};
|
|
|
|
|
2024-05-13 00:03:43 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2022-12-26 13:07:29 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libXft
|
|
|
|
libXrandr
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
2024-05-13 00:06:18 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
url = "https://www.uninformativ.de/git/bevelbar.git/";
|
|
|
|
rev-prefix = "v";
|
|
|
|
};
|
|
|
|
|
2024-05-13 00:03:43 +00:00
|
|
|
meta = {
|
2022-12-26 13:07:29 +00:00
|
|
|
homepage = "https://www.uninformativ.de/git/bevelbar/file/README.html";
|
|
|
|
description = "X11 status bar with beveled borders";
|
2024-05-13 00:03:43 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
AndersonTorres
|
|
|
|
neeasade
|
|
|
|
];
|
|
|
|
platforms = lib.platforms.linux;
|
2022-12-26 13:07:29 +00:00
|
|
|
};
|
|
|
|
})
|