2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, perl, libxcb, libXft }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-05-28 09:39:13 +00:00
|
|
|
pname = "lemonbar-xft";
|
|
|
|
version = "unstable-2020-09-10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-05-28 09:39:13 +00:00
|
|
|
owner = "drscream";
|
|
|
|
repo = "lemonbar-xft";
|
|
|
|
rev = "481e12363e2a0fe0ddd2176a8e003392be90ed02";
|
|
|
|
sha256 = "sha256-BNYBbUouqqsRQaPkpg+UKg62IV9uI34gKJuiAM94CBU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libxcb libXft perl ];
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A lightweight xcb based bar with XFT-support";
|
2021-05-28 09:39:13 +00:00
|
|
|
homepage = "https://github.com/drscream/lemonbar-xft";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ fortuneteller2k ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|