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