summary refs log tree commit diff
path: root/pkgs/applications/window-managers/lemonbar/default.nix
blob: 27cb564d2c6b6025cfffbbffcc2b84b025514453 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, perl, libxcb }:

stdenv.mkDerivation rec {
  name = "lemonbar-1.2";
  
  src = fetchurl {
    url    = "https://github.com/LemonBoy/bar/archive/v1.2.tar.gz";
    sha256 = "1smz8lh930bnb6a4lrm07l3z2k071kc8p2pljk5wsrch3x2xhimq";
  };
  
  buildInputs = [ libxcb perl ];
  
  prePatch = ''sed -i "s@/usr@$out@" Makefile'';
  
  meta = with stdenv.lib; {
    description = "A lightweight xcb based bar";
    homepage = https://github.com/LemonBoy/bar;
    maintainers = [ maintainers.meisternu ];
    license = "Custom";   
    platforms = platforms.linux;
  };
}