mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
47 lines
935 B
Nix
47 lines
935 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
libX11,
|
|
libXft,
|
|
libXrandr,
|
|
gitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "bevelbar";
|
|
version = "24.07";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.uninformativ.de/git/bevelbar/archives/bevelbar-v${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-PUYgbJCII0JecetoY3dMBUgrtaVhlLKeaJY27JJ78RQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
libX11
|
|
libXft
|
|
libXrandr
|
|
];
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
passthru.updateScript = gitUpdater {
|
|
url = "https://www.uninformativ.de/git/bevelbar.git/";
|
|
rev-prefix = "v";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://www.uninformativ.de/git/bevelbar/file/README.html";
|
|
description = "X11 status bar with beveled borders";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
AndersonTorres
|
|
neeasade
|
|
];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|