2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, perl, libxcb }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2020-11-30 08:33:03 +00:00
|
|
|
name = "lemonbar-1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-11-30 08:33:03 +00:00
|
|
|
url = "https://github.com/LemonBoy/bar/archive/v1.4.tar.gz";
|
|
|
|
sha256 = "0fa91vb968zh6fyg97kdaix7irvqjqhpsb6ks0ggcl59lkbkdzbv";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|