Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 fetchurl,
5 pkg-config,
6 libX11,
7 libXft,
8 libXrandr,
9 gitUpdater,
10}:
11
12stdenv.mkDerivation (finalAttrs: {
13 pname = "bevelbar";
14 version = "24.07";
15
16 src = fetchurl {
17 url = "https://www.uninformativ.de/git/bevelbar/archives/bevelbar-v${finalAttrs.version}.tar.gz";
18 hash = "sha256-PUYgbJCII0JecetoY3dMBUgrtaVhlLKeaJY27JJ78RQ=";
19 };
20
21 nativeBuildInputs = [ pkg-config ];
22
23 buildInputs = [
24 libX11
25 libXft
26 libXrandr
27 ];
28
29 makeFlags = [ "prefix=$(out)" ];
30
31 passthru.updateScript = gitUpdater {
32 url = "https://www.uninformativ.de/git/bevelbar.git/";
33 rev-prefix = "v";
34 };
35
36 meta = {
37 homepage = "https://www.uninformativ.de/git/bevelbar/file/README.html";
38 description = "X11 status bar with beveled borders";
39 license = lib.licenses.mit;
40 maintainers = with lib.maintainers; [
41 neeasade
42 ];
43 platforms = lib.platforms.linux;
44 };
45})