aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/window-managers/lemonbar/default.nix
blob: 5bdb04688ca54eaa502e9057cb577457c6fdb70e (plain)
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 {
  name = "lemonbar-1.4";
  
  src = fetchurl {
    url    = "https://github.com/LemonBoy/bar/archive/v1.4.tar.gz";
    sha256 = "0fa91vb968zh6fyg97kdaix7irvqjqhpsb6ks0ggcl59lkbkdzbv";
  };
  
  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;
  };
}