about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/window-managers/lemonbar/default.nix
blob: d5763a0489f1ab73f2ca619988c260e94c87b5cd (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
{ lib, stdenv, fetchFromGitHub, perl, libxcb }:

stdenv.mkDerivation rec {
  pname = "lemonbar";
  version = "1.4";

  src = fetchFromGitHub {
    owner = "LemonBoy";
    repo = "bar";
    rev = "v${version}";
    sha256 = "sha256-lmppcnQ8r4jEuhegpTBxYqxfTTS/IrbtQVZ44HqnoWo=";
  };

  buildInputs = [ libxcb perl ];

  installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];

  meta = with lib; {
    description = "A lightweight xcb based bar";
    homepage = "https://github.com/LemonBoy/bar";
    maintainers = with maintainers; [ meisternu moni ];
    license = licenses.mit;
    platforms = platforms.linux;
    mainProgram = "lemonbar";
  };
}