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