2012-02-16 15:05:41 +01:00
|
|
|
{ cabal, filepath, libXrandr, mtl, parsec, stm, time, utf8String
|
2012-06-03 20:52:38 +02:00
|
|
|
, wirelesstools, X11, X11Xft
|
2011-12-10 23:30:49 +01:00
|
|
|
}:
|
2008-04-15 22:03:25 +02:00
|
|
|
|
2011-08-14 01:38:44 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2008-04-15 22:03:25 +02:00
|
|
|
pname = "xmobar";
|
2012-06-04 11:24:14 +02:00
|
|
|
version = "0.15";
|
|
|
|
sha256 = "1wa141bf3krzr8qcd9cyix3cflbw1yr1l3299ashjs7skqnjadcl";
|
2011-08-14 01:38:44 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
2012-02-14 18:00:37 +01:00
|
|
|
buildDepends = [
|
2012-02-16 15:05:41 +01:00
|
|
|
filepath mtl parsec stm time utf8String X11 X11Xft
|
2012-06-03 20:52:38 +02:00
|
|
|
];
|
|
|
|
extraLibraries = [ libXrandr wirelesstools ];
|
|
|
|
configureFlags = "-fwith_xft -fwith_iwlib";
|
2012-06-05 10:09:06 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|mtl ==.*$|mtl,|' xmobar.cabal
|
|
|
|
'';
|
2008-04-15 22:03:25 +02:00
|
|
|
meta = {
|
2011-08-14 01:38:44 +02:00
|
|
|
homepage = "http://projects.haskell.org/xmobar/";
|
|
|
|
description = "A Minimalistic Text Based Status Bar";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-14 12:44:23 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 11:21:28 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2008-04-15 22:03:25 +02:00
|
|
|
};
|
|
|
|
})
|