2016-04-15 15:55:07 +00:00
|
|
|
{ stdenv, fetchFromGitHub, perl, libxcb, libXft }:
|
2015-08-12 17:05:19 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "2015-07-23";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bar-xft-git-${version}";
|
|
|
|
|
2016-04-15 15:55:07 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "krypt-n";
|
|
|
|
repo = "bar";
|
|
|
|
rev = "3020df19232153f9e98ae0c8111db3de938a2719";
|
|
|
|
sha256 = "0a54yr534jd4l5gjzpypc0y5lh2qb2wsrd662s84jjgq8bpss8av";
|
2015-08-12 17:05:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.hiberno ];
|
|
|
|
license = "Custom";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|