nixpkgs/pkgs/development/libraries/haskell/vty/default.nix
Andres Löh d8694e68eb * added generic Cabal builder
* transformed zlib, vty, binary, X11 to use generic Cabal builder
* note that Cabal library packages are now by default prefixed with "haskell-"

svn path=/nixpkgs/trunk/; revision=10247
2008-01-22 16:26:57 +00:00

14 lines
362 B
Nix

{cabal}:
cabal.mkDerivation (self : {
pname = "vty";
version = "3.0.0";
sha256 = "44ae53d06b8b45c14cd3861e860a38730ed9995ed56b1b3d9aba6641771f1947";
meta = {
description = "vty is a *very* simplistic library in the niche of ncurses";
};
preConfigure = ''
sed -i 's|^Build-Depends:.*$|&, bytestring, containers|' ${self.pname}.cabal
'';
})