mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 06:23:36 +00:00
26 lines
846 B
Nix
26 lines
846 B
Nix
{ cabal, alsaCore, alsaMixer, filepath, HTTP, libmpd, libXrandr
|
|
, mtl, parsec, regexCompat, stm, time, utf8String, wirelesstools
|
|
, X11, X11Xft
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "xmobar";
|
|
version = "0.20.1";
|
|
sha256 = "16jfgn6ciqxrwj6qjhbcpms7mzlbxfaxyxfxp64xvnw626xlpjvk";
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
alsaCore alsaMixer filepath HTTP libmpd mtl parsec regexCompat stm
|
|
time utf8String X11 X11Xft
|
|
];
|
|
extraLibraries = [ libXrandr wirelesstools ];
|
|
configureFlags = "-fwith_xft -fwith_iwlib -fwith_alsa -fwith_mpd";
|
|
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 ];
|
|
};
|
|
})
|