Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 perl, 6 libxcb, 7 libXft, 8}: 9 10stdenv.mkDerivation { 11 pname = "lemonbar-xft"; 12 version = "unstable-2020-09-10"; 13 14 src = fetchFromGitHub { 15 owner = "drscream"; 16 repo = "lemonbar-xft"; 17 rev = "481e12363e2a0fe0ddd2176a8e003392be90ed02"; 18 sha256 = "sha256-BNYBbUouqqsRQaPkpg+UKg62IV9uI34gKJuiAM94CBU="; 19 }; 20 21 buildInputs = [ 22 libxcb 23 libXft 24 perl 25 ]; 26 27 installFlags = [ 28 "DESTDIR=$(out)" 29 "PREFIX=" 30 ]; 31 32 meta = with lib; { 33 description = "Lightweight xcb based bar with XFT-support"; 34 mainProgram = "lemonbar"; 35 homepage = "https://github.com/drscream/lemonbar-xft"; 36 license = licenses.mit; 37 platforms = platforms.linux; 38 maintainers = with maintainers; [ moni ]; 39 }; 40}