nixpkgs/pkgs/applications/window-managers/lemonbar/xft.nix
koral 9ed9457846 lemonbar: 1.1 -> 1.2pre
'bar' has been officially renamed 'lemonbar'.
Last release (1.1) is almost a year old, but some bugfixes and new features are available in the repository, let's include them in the derivation.
2016-01-16 16:03:18 +01:00

27 lines
708 B
Nix

{ stdenv, fetchgit, perl, libxcb, libXft }:
let
version = "2015-07-23";
in
stdenv.mkDerivation rec {
name = "bar-xft-git-${version}";
src = fetchgit {
url = "https://github.com/krypt-n/bar";
rev = "020a3e1848ce03287886e9ff80b0b443e9aed543";
sha256 = "1xzs37syhlwyjfxnk36qnij5bqa0mi53lf1k851viw4qai2bfkgr";
};
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;
};
}