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