about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/X11/bevelbar/default.nix
blob: 7eab7a65e80aa76dcc32d3f04303ae33a8b36760 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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;
  };
})