depot/third_party/nixpkgs/pkgs/applications/window-managers/lemonbar/xft.nix

26 lines
697 B
Nix
Raw Normal View History

{ 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 ];
};
}