2021-05-28 09:39:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, perl, libxcb }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lemonbar";
|
|
|
|
version = "1.4";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LemonBoy";
|
|
|
|
repo = "bar";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-lmppcnQ8r4jEuhegpTBxYqxfTTS/IrbtQVZ44HqnoWo=";
|
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
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
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";
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ meisternu moni ];
|
2021-05-28 09:39:13 +00:00
|
|
|
license = licenses.mit;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "lemonbar";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|