2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl, libxcb }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2020-11-30 08:33:03 +00:00
|
|
|
name = "lemonbar-1.4";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
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
|
|
|
};
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libxcb perl ];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
prePatch = ''sed -i "s@/usr@$out@" Makefile'';
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A lightweight xcb based bar";
|
|
|
|
homepage = "https://github.com/LemonBoy/bar";
|
|
|
|
maintainers = [ maintainers.meisternu ];
|
2021-02-05 17:12:51 +00:00
|
|
|
license = "Custom";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|