about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/window-managers/lemonbar/xft.nix
blob: 8d009a3458b3ca252ad9fed02270fdd73ff634be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchFromGitHub, perl, libxcb, libXft }:

stdenv.mkDerivation {
  pname = "lemonbar-xft";
  version = "unstable-2020-09-10";

  src = fetchFromGitHub {
    owner = "drscream";
    repo = "lemonbar-xft";
    rev = "481e12363e2a0fe0ddd2176a8e003392be90ed02";
    sha256 = "sha256-BNYBbUouqqsRQaPkpg+UKg62IV9uI34gKJuiAM94CBU=";
  };

  buildInputs = [ libxcb libXft perl ];

  installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];

  meta = with lib; {
    description = "A lightweight xcb based bar with XFT-support";
    homepage = "https://github.com/drscream/lemonbar-xft";
    license = licenses.mit;
    platforms = platforms.linux;
    maintainers = with maintainers; [ moni ];
  };
}