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