2016-10-09 02:52:07 +02:00
|
|
|
{ stdenv, fetchurl, perl, libxcb }:
|
2016-01-16 16:03:18 +01:00
|
|
|
|
2016-10-09 02:52:07 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2018-02-27 05:05:27 +01:00
|
|
|
name = "lemonbar-1.3";
|
2016-01-16 16:03:18 +01:00
|
|
|
|
2016-10-09 02:52:07 +02:00
|
|
|
src = fetchurl {
|
2018-02-27 05:05:27 +01:00
|
|
|
url = "https://github.com/LemonBoy/bar/archive/v1.3.tar.gz";
|
|
|
|
sha256 = "0zd3v8ys4jzi60pm3wq7p3pbbd5y0acimgiq46qx1ckmwg2q9rza";
|
2016-10-09 02:52:07 +02:00
|
|
|
};
|
2016-01-16 16:03:18 +01:00
|
|
|
|
2016-10-09 02:52:07 +02:00
|
|
|
buildInputs = [ libxcb perl ];
|
2016-01-16 16:03:18 +01:00
|
|
|
|
2016-10-09 02:52:07 +02:00
|
|
|
prePatch = ''sed -i "s@/usr@$out@" Makefile'';
|
2016-01-16 16:03:18 +01:00
|
|
|
|
2016-10-09 02:52:07 +02: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 16:03:18 +01:00
|
|
|
}
|