23 lines
802 B
Nix
23 lines
802 B
Nix
{ cabal, filepath, libXrandr, mtl, parsec, regexCompat, stm, time
|
|
, utf8String, wirelesstools, X11, X11Xft, alsaCore, alsaMixer
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "xmobar";
|
|
version = "0.19";
|
|
sha256 = "1lwbww9vpqscip16lqiax2qvfyksxms5xx4n0s61mzw7v61hyxq2";
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
filepath mtl parsec regexCompat stm time utf8String X11 X11Xft
|
|
];
|
|
extraLibraries = [ libXrandr wirelesstools alsaCore alsaMixer ];
|
|
configureFlags = "-fwith_xft -fwith_iwlib -fwith_alsa";
|
|
meta = {
|
|
homepage = "http://projects.haskell.org/xmobar/";
|
|
description = "A Minimalistic Text Based Status Bar";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|