Merge pull request #1712 from PkmX/pr-taffybar

Add haskell packages 'gtk-traymanager' and 'taffybar'
This commit is contained in:
Peter Simons 2014-02-10 10:53:08 +01:00
commit e37afbf53c
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ cabal, cairo, dbus, dyre, filepath, gtk, gtkTraymanager
, HStringTemplate, HTTP, mtl, network, parsec, split, stm, text
, time, transformers, utf8String, X11, xdgBasedir, xmonad
, xmonadContrib
}:
cabal.mkDerivation (self: {
pname = "taffybar";
version = "0.3.0";
sha256 = "02vpfbwfprca997ykk746ih7id0ls3i5pnb33gj3nrfgc59fkz7v";
isLibrary = true;
isExecutable = true;
buildDepends = [
cairo dbus dyre filepath gtk gtkTraymanager HStringTemplate HTTP
mtl network parsec split stm text time transformers utf8String X11
xdgBasedir xmonad xmonadContrib
];
pkgconfigDepends = [ gtk ];
meta = {
homepage = "http://github.com/travitch/taffybar";
description = "A desktop bar similar to xmobar, but with more GUI";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,15 @@
{ cabal, glib, gtk, X11 }:
cabal.mkDerivation (self: {
pname = "gtk-traymanager";
version = "0.1.3";
sha256 = "07671f3j3r07djgvrlpbdaqqnm2yc7sc5f5isjn5nczrwh8n0sj4";
buildDepends = [ glib gtk ];
pkgconfigDepends = [ gtk X11 ];
meta = {
homepage = "http://github.com/travitch/gtk-traymanager";
description = "A wrapper around the eggtraymanager library for Linux system trays";
license = self.stdenv.lib.licenses.lgpl21;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1218,6 +1218,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
libc = pkgs.stdenv.gcc.libc;
};
gtkTraymanager = callPackage ../development/libraries/haskell/gtk-traymanager {};
graphviz = callPackage ../development/libraries/haskell/graphviz {};
groups = callPackage ../development/libraries/haskell/groups {};
@ -2776,6 +2778,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
QuickCheck = self.QuickCheck2;
};
taffybar = callPackage ../applications/misc/taffybar {};
yi = callPackage ../applications/editors/yi/yi.nix {};
yiContrib = callPackage ../applications/editors/yi/yi-contrib.nix {};