2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, perl, libxcb, libXft }:
|
2015-08-12 18:05:19 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2021-05-22 15:05:03 +01:00
|
|
|
pname = "lemonbar-xft";
|
|
|
|
version = "unstable-2020-09-10";
|
2015-08-12 18:05:19 +01:00
|
|
|
|
2016-10-09 02:20:34 +01:00
|
|
|
src = fetchFromGitHub {
|
2021-05-22 15:05:03 +01:00
|
|
|
owner = "drscream";
|
|
|
|
repo = "lemonbar-xft";
|
|
|
|
rev = "481e12363e2a0fe0ddd2176a8e003392be90ed02";
|
|
|
|
sha256 = "sha256-BNYBbUouqqsRQaPkpg+UKg62IV9uI34gKJuiAM94CBU=";
|
2016-10-09 02:20:34 +01:00
|
|
|
};
|
2015-08-12 18:05:19 +01:00
|
|
|
|
2016-10-09 02:20:34 +01:00
|
|
|
buildInputs = [ libxcb libXft perl ];
|
2015-08-12 18:05:19 +01:00
|
|
|
|
2021-05-22 15:05:03 +01:00
|
|
|
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
2015-08-12 18:05:19 +01:00
|
|
|
|
2021-05-22 15:05:03 +01:00
|
|
|
meta = with lib; {
|
2016-10-09 02:20:34 +01:00
|
|
|
description = "A lightweight xcb based bar with XFT-support";
|
2021-05-22 15:08:21 +01:00
|
|
|
homepage = "https://github.com/drscream/lemonbar-xft";
|
2021-05-22 15:05:03 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ fortuneteller2k ];
|
2016-10-09 02:20:34 +01:00
|
|
|
};
|
2015-08-12 18:05:19 +01:00
|
|
|
}
|