2021-05-22 16:08:21 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, perl, libxcb }:
|
2016-01-16 16:03:18 +01:00
|
|
|
|
2021-05-22 16:08:21 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lemonbar";
|
|
|
|
version = "1.4";
|
2021-01-19 22:20:11 +01:00
|
|
|
|
2021-05-22 16:08:21 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LemonBoy";
|
|
|
|
repo = "bar";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-lmppcnQ8r4jEuhegpTBxYqxfTTS/IrbtQVZ44HqnoWo=";
|
2016-10-09 02:52:07 +02:00
|
|
|
};
|
2021-01-19 22:20:11 +01:00
|
|
|
|
2016-10-09 02:52:07 +02:00
|
|
|
buildInputs = [ libxcb perl ];
|
2021-01-19 22:20:11 +01:00
|
|
|
|
2021-05-22 16:08:21 +02:00
|
|
|
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
2021-01-19 22:20:11 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-10-09 02:52:07 +02:00
|
|
|
description = "A lightweight xcb based bar";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/LemonBoy/bar";
|
2021-05-22 16:08:21 +02:00
|
|
|
maintainers = with maintainers; [ meisternu fortuneteller2k ];
|
|
|
|
license = licenses.mit;
|
2016-10-09 02:52:07 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2016-01-16 16:03:18 +01:00
|
|
|
}
|