about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/window-managers/lemonbar/xft.nix
blob: b318b39709a7cf7d73705f78d23a8f774c25e7a7 (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
{ lib, stdenv, fetchFromGitHub, perl, libxcb, libXft }:

stdenv.mkDerivation {
  name = "lemonbar-xft-unstable-2016-02-17";

  src = fetchFromGitHub {
    owner  = "krypt-n";
    repo   = "bar";
    rev    = "a43b801ddc0f015ce8b1211f4c062fad12cd63a9";
    sha256 = "0iqas07qjvabxyvna2m9aj5bcwnkdii1izl9jxha63vz0zlsc4gd";
  };

  buildInputs = [ libxcb libXft perl ];

  prePatch = ''sed -i "s@/usr@$out@" Makefile'';

  meta = {
    description = "A lightweight xcb based bar with XFT-support";
    homepage = "https://github.com/krypt-n/bar";
    license = "Custom";
    platforms = lib.platforms.linux;
  };
}