Major Haskell packages overhaul.

Several changes, some highlights:

  * Structure of haskell-packages.nix updated. It's now easier to
    select different default versions of packages for different
    versions of GHC.

  * GHC 7.0.2 is now default.

  * Haskell Platform 2011.2.0.0 has been added and is now default.

  * Several packages have been updated
    (gtk2hs, gitit, xmonad, darcs, ...).

  * Some old packages have been removed.

svn path=/nixpkgs/trunk/; revision=26288
This commit is contained in:
Andres Löh 2011-03-12 17:28:15 +00:00
parent 03b3d85fbf
commit 3e0ac9b040
132 changed files with 1011 additions and 667 deletions

View File

@ -3,8 +3,8 @@
cabal.mkDerivation (self : {
pname = "darcs";
name = self.fname;
version = "2.5";
sha256 = "0i99z3wsfc1hhr0a0ax7254gj3i69yg8cb9lhp55wl6lfqvpzcnh";
version = "2.5.1";
sha256 = "0h7i2nw1fkmdrvwgzccqvbbfx8bdhn0h9d5rd98ayjs207dnvrj8";
propagatedBuildInputs = [
curl html parsec regexCompat haskeline hashedStorage zlib tar text

View File

@ -1,11 +1,12 @@
{cabal, X11, mtl, xmessage}:
{cabal, X11, mtl, xmessage, syb}:
cabal.mkDerivation (self : {
pname = "xmonad";
name = "${self.fname}";
version = "0.9.1";
sha256 = "014201200e8a521ee3a0d8c0727392916a7549207b91064fb456f8c660609927";
propagatedBuildInputs = [X11 mtl];
version = "0.9.2";
sha256 = "07w5k3pqmybjn0zh2nr1glp69685xg2fhj3z9zxb37x5nzss7kdd";
noHaddock = true;
propagatedBuildInputs = [X11 mtl syb];
meta = {
description = "xmonad is a tiling window manager for X";
homepage = http://xmonad.org/;

View File

@ -2,9 +2,8 @@
cabal.mkDerivation (self : {
pname = "xmonad-contrib";
name = "${self.fname}";
version = "0.9.1";
sha256 = "b4ca1d71d12903be76187ce58898697086e7af3ef73468987cb7ef03b076ec47";
version = "0.9.2";
sha256 = "06hg5j4w8iz62wmyygq4c7xcbi9dxlhhh3dbic438cjk7c0w1h5p";
propagatedBuildInputs = [X11 xmonad utf8String X11Xft];
meta = {
description = "a huge extension library for xmonad";

View File

@ -1,13 +1,15 @@
{cabal, QuickCheck, binary, haskeline, haskellSrc, mtl, utf8String, xhtml, zlib,
{cabal, QuickCheck, binary, haskeline, haskellSrcExts, mtl, utf8String,
syb, xhtml, zlib,
happy, alex}:
cabal.mkDerivation (self : {
pname = "Agda";
version = "2.2.8";
sha256 = "06j2s7x3h5lanygd6mhhxkzjf4c0m8pw6c0s7gbmwlxqrkz9firg";
version = "2.2.10";
sha256 = "1bh96g5c6b6jzaf3m9gm0vr64avgi86kb45p8i1vg1jbfjdbdlsw";
extraBuildInputs = [happy alex];
propagatedBuildInputs =
[QuickCheck binary haskeline haskellSrc mtl utf8String xhtml zlib];
[QuickCheck binary haskeline haskellSrcExts mtl utf8String
syb xhtml zlib];
meta = {
description = "A dependently typed functional language and proof assistant";
maintainers = [self.stdenv.lib.maintainers.andres];

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "GLUT";
version = "2.1.2.1"; # Haskell Platform 2010.1.0.0 and 2010.2.0.0
sha256 = "0230bfacbfb85c126f1fba45fcd8d02f20da9ee19180b5ada698224362d17264";
version = "2.1.2.1"; # Haskell Platform 2010.1.0.0, 2010.2.0.0, 2011.2.0.0
sha256 = "0r3js5i468lqlsnvb04iw6gdl81gs3cgqids3xpi4p5qpynbyc02";
propagatedBuildInputs = [OpenGL glut libSM libICE libXmu libXi mesa];
meta = {
description = "A binding for the OpenGL Utility Toolkit";

View File

@ -1,25 +0,0 @@
{cabal, mtl, sybWithClass, HaXml, HAppSUtil, bytestring, binary}:
cabal.mkDerivation (self : {
pname = "HAppS-Data";
version = "0.9.3";
sha256 = "b23c6f4a949927194e47f9781edc3b7d38513210de4a24987859d68b375bc335";
propagatedBuildInputs = [mtl sybWithClass HaXml HAppSUtil bytestring binary];
meta = {
description = ''HAppS data manipulation libraries'';
longDescription = ''
This package provides libraries for:
* Deriving instances for your datatypes.
* Producing default values of Haskell datatypes.
* Normalizing values of Haskell datatypes.
* Marshalling Haskell values to and from XML.
* Marshalling Haskell values to and from HTML forms.
'';
license = "free";
};
})

View File

@ -1,12 +0,0 @@
{cabal, mtl, hslogger, HAppSUtil, HAppSState, HAppSData, sybWithClass}:
cabal.mkDerivation (self : {
pname = "HAppS-IxSet";
version = "0.9.3";
sha256 = "ebacd72e153bbcafb18bf4fa607550de98f8a991e9cfd8314b572cacf155a372";
propagatedBuildInputs = [mtl hslogger HAppSUtil HAppSState HAppSData sybWithClass];
meta = {
longDescription = ''Web framework'';
license = "free";
};
})

View File

@ -1,13 +0,0 @@
{cabal, HaXml, parsec, mtl, network, hslogger, HAppSData, HAppSUtil, HAppSState, HAppSIxSet, HTTP, xhtml, html, bytestring}:
cabal.mkDerivation (self : {
pname = "HAppS-Server";
version = "0.9.3.1";
sha256 = "b03129f332c35cd558b0f32bc626321dcfa2647dd7ddf67f3403eca8c4c52038";
propagatedBuildInputs = [HaXml parsec mtl network hslogger HAppSData HAppSUtil HAppSState HAppSIxSet HTTP xhtml html bytestring];
meta = {
description = ''Web related tools and services.'';
longDescription = ''Web framework'';
license = "free";
};
})

View File

@ -1,13 +0,0 @@
{cabal, HaXml, mtl, network, stm, hslogger, HAppSUtil, HAppSData, bytestring, binary, hspread}:
cabal.mkDerivation (self : {
pname = "HAppS-State";
version = "0.9.3";
sha256 = "5099e635f8fcf56f775947a241a24e1aab6eb6d9fee0406e6a2169c4c8b331e4";
propagatedBuildInputs = [HaXml mtl network stm hslogger HAppSUtil HAppSData bytestring binary hspread];
meta = {
description = ''Event-based distributed state.'';
longDescription = ''Web framework'';
license = "free";
};
})

View File

@ -1,12 +0,0 @@
{cabal, mtl, hslogger, bytestring}:
cabal.mkDerivation (self : {
pname = "HAppS-Util";
version = "0.9.3";
sha256 = "f9120d256e37111b6203dfc4eb598dd438c87e53bb9eb37258c999dd49b8e655";
propagatedBuildInputs = [mtl hslogger bytestring];
meta = {
description = ''Web framework'';
license = "free";
};
})

View File

@ -1,10 +1,10 @@
{cabal, parsec, time, text, utf8String, parallel}:
{cabal, parsec, time, text, utf8String, parallel, syb}:
cabal.mkDerivation (self : {
pname = "HStringTemplate";
version = "0.6.5";
sha256 = "e40b69e22900f381ca7fb080ea6e70d623e52e909bd7b896bc24e15c8e43252c";
propagatedBuildInputs = [parsec time text utf8String parallel];
version = "0.6.6";
sha256 = "1ian79az5q6m08pwb5fks52ffs4h2mq02kkcwmr6jb7i0ha2k2si";
propagatedBuildInputs = [parsec time text utf8String parallel syb];
meta = {
description = "StringTemplate implementation in Haskell";
};

View File

@ -0,0 +1,12 @@
{cabal, mtl, network, parsec}:
cabal.mkDerivation (self : {
pname = "HTTP";
version = "4000.1.1"; # Haskell Platform 2011.2.0.0
sha256 = "09khx5fb673a0d7m3bl39xjdxvc60m52rmm4865cha2mby0zidy3";
propagatedBuildInputs = [mtl network parsec];
meta = {
description = "a Haskell library for client-side HTTP";
};
})

View File

@ -0,0 +1,11 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "HUnit";
version = "1.2.2.3"; # Haskell Platform 2011.2.0.0
sha256 = "158i6s014ybh5bflzspd21qzdlhdyk89yqpmk8kwc59lxjvvjsxz";
meta = {
description = "A unit testing framework for Haskell";
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "OpenGL";
version = "2.2.3.0"; # Haskell Platform 2010.1.0.0 and 2010.2.0.0
sha256 = "a75c3277bb20fda9a4ac1eb0e838fe4b5baf92f5539466b92bd255626afb0502";
version = "2.2.3.0"; # Haskell Platform 2010.1.0.0, 2010.2.0.0, 2011.2.0.0
sha256 = "00h5zdm64mfj5fwnd52kyn9aynsbzqwfic0ymjjakz90pdvk4p57";
propagatedBuildInputs = [mesa libX11];
meta = {
description = "A binding for the OpenGL graphics system";

View File

@ -0,0 +1,11 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "QuickCheck";
version = "1.2.0.1"; # version of QuickCheck1 compatible with base-4
sha256 = "1gxpvbc0ab4n35b5zcbzng8qc7y3mzgym8cj42bci984f08y1bld";
meta = {
description = "Automatic testing of Haskell programs";
};
})

View File

@ -0,0 +1,14 @@
{cabal, mtl}:
cabal.mkDerivation (self : {
pname = "QuickCheck";
version = "2.4.0.1"; # Haskell Platform 2011.2.0.0
sha256 = "1x7jc2svpxbll8qkrbswh5q59sqcjf2v5a6jnqslf5gwr5qpq18r";
propagatedBuildInputs = [mtl];
meta = {
description = "Automatic testing of Haskell programs";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "SHA";
version = "1.4.1.1";
sha256 = "8ecdc91679d1aa1d4050e1124cf5af79ae2ece66aee3b907e1078d71bf03169a";
version = "1.4.1.3";
sha256 = "1sx68mvzb2y3dq9hk769fzp8vw4jf4hk5v45i0a9a8b31imlicf0";
propagatedBuildInputs = [binary];
meta = {
description = "Implementations of the SHA suite of message digest functions";

View File

@ -1,11 +1,11 @@
{cabal, mtl, parsec}:
{cabal, mtl, parsec, syb}:
cabal.mkDerivation (self : {
pname = "WebBits";
version = "1.0";
sha256 = "1xqk4ajywlaq9nb9a02i7c25na5p2qbpc2k9zw93gbapppjiapsc";
propagatedBuildInputs = [ mtl parsec ];
propagatedBuildInputs = [ mtl parsec syb ];
meta = {
description = "WebBits is a collection of libraries for working with JavaScript.";

View File

@ -1,11 +1,11 @@
{cabal, mtl, parsec}:
{cabal, mtl, parsec, syb}:
cabal.mkDerivation (self : {
pname = "WebBits";
version = "2.0";
sha256 = "14a1rqlq925f6rdbi8yx44xszj5pvskcmw1gi1bj8hbilgmlwi7f";
propagatedBuildInputs = [ mtl parsec ];
propagatedBuildInputs = [ mtl parsec syb ];
meta = {
description = "WebBits is a collection of libraries for working with JavaScript.";

View File

@ -1,4 +1,4 @@
{cabal, libX11, xineramaSupport ? true, libXinerama ? null, libXext ? null}:
{cabal, syb, libX11, xineramaSupport ? true, libXinerama ? null, libXext ? null}:
assert xineramaSupport -> (libXinerama != null && libXext != null);
@ -6,7 +6,7 @@ cabal.mkDerivation (self : {
pname = "X11";
version = "1.5.0.0";
sha256 = "653ff8aa4053574a36dbb1729459df6e5a1a87a223bc3eeced8e40c6e3a5406f";
propagatedBuildInputs = [libX11] ++ (if xineramaSupport then [libXinerama libXext] else []);
propagatedBuildInputs = [libX11 syb] ++ (if xineramaSupport then [libXinerama libXext] else []);
meta = {
description = "A Haskell binding to the X11 graphics library";
};

View File

@ -3,9 +3,9 @@
{stdenv, fetchurl, lib, ghc, enableLibraryProfiling ? false} :
{
mkDerivation =
transform :
let dtransform =
self : {
args : # arguments for the individual package, can modify the defaults
let defaults =
self : { # self is the final version of the attribute set
# pname should be defined by the client to be the package basename
# version should be defined by the client to be the package version
@ -77,7 +77,7 @@
./Setup build
export GHC_PACKAGE_PATH=$(ghc-packages)
[ -n "$noHadock" ] || ./Setup haddock
[ -n "$noHaddock" ] || ./Setup haddock
eval "$postBuild"
'';
@ -115,5 +115,5 @@
# in Cabal derivations.
inherit stdenv ghc;
};
in stdenv.mkDerivation ((rec { f = dtransform f // transform f; }).f);
in stdenv.mkDerivation ((rec { f = defaults f // args f; }).f);
}

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "cairo";
version = "0.11.1";
sha256 = "6d7209bcdb92b09437980c51646c324f501edd2893393e48aa185462dfc07b58";
version = "0.12.0";
sha256 = "0n2sqbf8wjjvm5m1igkq685vqvc0lil3gmcs3i0g9hy7lsjnlwr9";
extraBuildInputs = [pkgconfig glibc cairo zlib gtk2hsBuildtools];
propagatedBuildInputs = [mtl];
meta = {

View File

@ -0,0 +1,12 @@
{cabal, mtl, network, parsec, xhtml}:
cabal.mkDerivation (self : {
pname = "cgi";
version = "3001.1.7.4"; # Haskell Platform 2011.2.0.0
sha256 = "1fiild4djzhyz683kwwb0k4wvhd89ihbn6vncjl270xvwj5xmrbd";
propagatedBuildInputs = [mtl network parsec xhtml];
meta = {
description = "A library for writing CGI programs";
};
})

View File

@ -0,0 +1,13 @@
{cabal, json, mtl, pandocTypes, parsec, syb, utf8String, xml}:
cabal.mkDerivation (self : {
pname = "citeproc-hs";
version = "0.3.2";
sha256 = "04lq0w1yjasn4i9siqpw41ia9f67xlv7vqwhs2a87hr1jnr09pgf";
propagatedBuildInputs =
[json mtl pandocTypes parsec syb utf8String xml];
meta = {
description = "A Citation Style Language implementation in Haskell";
};
})

View File

@ -3,7 +3,7 @@
cabal.mkDerivation (self : {
pname = "datetime";
version = "0.1";
sha256 = "931acc70cb45922c95f2c3225d04619e19fd9c5947a66ae69e96d6e693195048";
sha256 = "0j2h369ydmlnkvk6m9j7b6fgs6cyc425s8n3yaajr4j5rdqcq6lk";
propagatedBuildInputs = [QuickCheck time];
meta = {
description = "Utilities to make Data.Time.* easier to use";

View File

@ -0,0 +1,11 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "deepseq";
version = "1.1.0.2"; # Haskell Platform 2011.2.0.0
sha256 = "1iqk8lc2an2rd1j9lcr76yabiz18h10lazlmdg5c528yssyd6135";
meta = {
description = "Provides a deep version of seq, for fully evaluating data structures";
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "digest";
version = "0.0.0.5";
sha256 = "dddfcdd325dc7d4fb1ce4772c1f5618cb20504b28dba8a78682011cba1341efd";
version = "0.0.0.9";
sha256 = "15gj3iq3jm4lnkc6hnj9v8p8ia3yzbsajwf9by3b1kpl449k2h29";
propagatedBuildInputs = [zlib];
meta = {
description = "Various cryptographic hashes for bytestrings: CRC32 and Adler32 for now";

View File

@ -0,0 +1,14 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "dlist";
version = "0.5";
sha256 = "1shr5wlpha68h82gwpndr5441847l01gh3j7szyvnmgzkr0fb027";
propagatedBuildInputs = [];
meta = {
description = "Differences lists";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "feed";
version = "0.3.7";
sha256 = "c2d539f763cdce1b1498f1fd0707b12078337aff690f01e41db0b6e3569c08aa";
version = "0.3.8";
sha256 = "1yvigcvb8cvxfa8vb2i11xkrylqw57jwzkaji6m1wp03k80zf576";
propagatedBuildInputs = [utf8String xml];
meta = {
description = "Interfacing with RSS and Atom feeds";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "fgl";
version = "5.4.2.3"; # Haskell Platform 2010.2.0.0
sha256 = "e72142b555a5ab6c5cdced317b42e8cafdbb54b7e2e46ed14e6ca18d71d486b8";
version = "5.4.2.3"; # Haskell Platform 2010.2.0.0 and 2011.2.0.0
sha256 = "1f46siqqv8bc9v8nxr72nxabpzfax117ncgdvif6rax5ansl48g7";
propagatedBuildInputs = [mtl];
meta = {
description = "Martin Erwig's Functional Graph Library";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "filestore";
version = "0.3.4.1";
sha256 = "ad04333fae938ae7de747457a6bdee30c6e4b700733265dbd1f4f8ee363c8230";
version = "0.4.0.3";
sha256 = "098z9niavzxfzwk40xabah3x06vdzprvsjkyx99wlmapi5rynfz3";
propagatedBuildInputs = [datetime parsec regexPosix split time utf8String xml Diff];
meta = {
description = "Interface for versioning file stores";

View File

@ -5,6 +5,9 @@ cabal.mkDerivation (self : {
version = "0.2.0.1";
sha256 = "18cb82ebe143f58a25bf32ee88118a8bfb333b67a53285c2550e866f2afebbc6";
propagatedBuildInputs = [binary mtl];
preConfigure = ''
sed -i 's|\(containers.*\) && < 0.4|\1|' ${self.pname}.cabal
'';
meta = {
description = "Library and tool for parsing .eventlog files from GHC";
license = "BSD";

View File

@ -2,20 +2,20 @@
SHA, cgi, datetime,
filestore, highlightingKate, safe, mtl, network, pandoc, parsec,
recaptcha, utf8String, xhtml, zlib, ConfigFile, url,
cautiousFile, feed}:
cautiousFile, feed, xssSanitize}:
cabal.mkDerivation (self : {
pname = "gitit";
version = "0.7.3.8";
sha256 = "356c82604dcfe2eec4faeb36ee46546ea3e26738780723f457366b2e35f6211a";
version = "0.7.3.12";
sha256 = "1z5cbkgfvwc9h6jciw7ghlj9ra6xph5z4lmliwkdnf38wfparxja";
propagatedBuildInputs = [
HStringTemplate happstackServer happstackUtil HTTP SHA cgi datetime
filestore highlightingKate safe
mtl network pandoc parsec recaptcha utf8String xhtml zlib ConfigFile
url cautiousFile feed
url cautiousFile feed xssSanitize
];
meta = {
description = "Wiki using HAppS, git or darcs, and pandoc";
description = "Wiki using happstack, git or darcs, and pandoc";
license = "GPL";
maintainers = [self.stdenv.lib.maintainers.andres];
};

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "glade";
version = "0.11.1";
sha256 = "0d96a8576f89a81aa1ecdaf172e42e9eb1e7b40ce1b23cff36ab473165832c6a";
version = "0.12.0";
sha256 = "0h7l1kp9y17xqyz16kv0dvwgblph9r70wimyl8aq9gi1r4is5lmq";
extraBuildInputs = [pkgconfig gtk2hsBuildtools gnome.libglade gnome.gtk glibc];
propagatedBuildInputs = [cairo glib gtk mtl pango];
meta = {

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "glib";
version = "0.11.2";
sha256 = "e0fb5f3c22701807db364dff86d55f2a33a57d8a4e58d37a80d367bca50b3dbb";
version = "0.12.0";
sha256 = "1sqkj6adg87ccdnl9yy1p8yrv5xnfcrlaflj52nrh6anwlqy9z19";
extraBuildInputs = [pkgconfig glib glibc gtk2hsBuildtools];
meta = {
description = "Binding to the GLIB library for Gtk2Hs";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "gtk";
version = "0.11.2";
sha256 = "c9de86278780badbd874fb75ef01ca12a70364a9985b75f98957ba940df27aa6";
version = "0.12.0";
sha256 = "1rqy0390rahdrlb1ba1hjrygwin8ynxzif5flcici22bg5ixsgs2";
extraBuildInputs = [pkgconfig gtk2hsBuildtools gtk glibc];
propagatedBuildInputs = [cairo glib mtl pango];
meta = {

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "gtk2hs-buildtools";
version = "0.11.2";
sha256 = "330c52830358966bcff308f58a570e84bb0b4d6004b6f01107d55dd88faa54ad";
version = "0.12.0";
sha256 = "1czlmyr9zhzc0h1j0z3chv06ma77cibq2yc6h1slfphb1lkv66a8";
extraBuildInputs = [alex happy];
meta = {
description = "Tools to build the Gtk2Hs suite of User Interface libraries";

View File

@ -1,44 +0,0 @@
{ stdenv, fetchurl, pkgconfig, gnome, cairo, ghc, mtl }:
stdenv.mkDerivation rec {
pname = "gtk2hs";
version = "0.10.0";
fname = "${pname}-${version}";
name = "haskell-${pname}-ghc${ghc.ghc.version}-${version}";
src = fetchurl {
url = http://nixos.org/tarballs/gtk2hs-0.10.0-20090419.tar.gz;
sha256 = "18a7cfph83yvv91ks37nrgqrn21fvww8bhb8nd8xy1mgb8lnfds1";
};
propagatedBuildInputs = [mtl];
buildInputs = [
pkgconfig cairo ghc gnome.glib gnome.gtk gnome.libglade
gnome.GConf gnome.gtksourceview gnome.librsvg
];
preConfigure =
''
sed -i gio/gio.package.conf.in -e 's|@GIO_LIBDIR_CQ@|"${gnome.glib}/lib", "${gnome.glib}/lib64", @GIO_LIBDIR_CQ@|'
sed -i gtk/gtk.package.conf.in -e 's|@GTK_LIBDIR_CQ@|"${gnome.glib}/lib", "${gnome.glib}/lib64", @GTK_LIBDIR_CQ@|'
'';
configureFlags = ["--without-pkgreg"];
postInstall =
''
local confDir=$out/lib/ghc-pkgs/ghc-${ghc.ghc.version}
local installedPkgConf=$confDir/${fname}.installedconf
ensureDir $out/bin # necessary to get it added to PATH
ensureDir $confDir
echo $installedPkgConf
echo '[]' > $installedPkgConf
for pkgConf in $out/lib/gtk2hs/*.conf; do
cp $pkgConf $confDir/
GHC_PACKAGE_PATH=$installedPkgConf ghc-pkg --global register $pkgConf --force
done
''; # */
passthru = { inherit (gnome) gtksourceview; };
}

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "gtksourceview2";
version = "0.11.1";
sha256 = "1skb13ssp6sd06jb3nshv97wjqvwa0mnzcxgmrxwd5l21r6k1m2v";
version = "0.12.2";
sha256 = "0l9y48kmzqzps6k54fgf0dkmmv0ppxx8amggfdswwk86zsf8j81r";
extraBuildInputs = [pkgconfig gtksourceview gtkC glibc gtk2hsBuildtools];
propagatedBuildInputs = [glib gtk];
meta = {

View File

@ -1,12 +1,12 @@
{cabal, mtl, sybWithClass, sybWithClassInstancesText, HaXml,
{cabal, mtl, syb, sybWithClass, sybWithClassInstancesText, HaXml,
happstackUtil, binary, text}:
cabal.mkDerivation (self : {
pname = "happstack-data";
version = "0.5.0.2";
sha256 = "03795c24acc2268f39d38f18dd6cbfb92893f7de88b0443219d582a1eabdacd5";
version = "0.5.0.3";
sha256 = "0zjsb9n1iawg2jv6i5q52awifly7yi6w0ilndivwp168qvi25awn";
propagatedBuildInputs = [
mtl sybWithClass sybWithClassInstancesText HaXml
mtl syb sybWithClass sybWithClassInstancesText HaXml
happstackUtil binary text
];
meta = {

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "happstack-server";
version = "0.5.0.2";
sha256 = "0184c835958bf9f29009a5aedd2c913bb1ad6ab60b80d9750849381c172dd6b6";
version = "0.5.0.4";
sha256 = "1iyjrlg5x6rlx8bfhn62a0ckjap0zv22hb6yazqph53jx6vn9b7q";
propagatedBuildInputs = [
HUnit HaXml MaybeT happstackData happstackUtil hslogger html
mtl network parsec sendfile utf8String xhtml zlib

View File

@ -3,8 +3,8 @@
cabal.mkDerivation (self : {
pname = "happstack-util";
version = "0.5.0.2";
sha256 = "b6a84a55d6f7aec51095121a240bd6096b0df3c61c6fd25963d91190fcca4657";
version = "0.5.0.3";
sha256 = "1ipr09d0s1d0dffc1g3js8infhybw9rimabrl96a2vw7app3ys44";
propagatedBuildInputs = [
mtl hslogger HUnit QuickCheck strictConcurrency unixCompat
SMTPClient

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "hashed-storage";
version = "0.5.3";
sha256 = "0ql8hgsaazs0wxvr920vm2s2iljcnh6lnivcy3vgd5wjaw6lkd00";
version = "0.5.5";
sha256 = "03wx21kgnvkny8b6fz86wg85pr2sxbm15ndznnpqjg5gf126n842";
propagatedBuildInputs = [mtl zlib mmap binary dataenc];
meta = {
description = "Hashed file storage support code";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "haskeline";
version = "0.6.2.2";
sha256 = "b6307563258802453d65c7e7bd1ef1c6635fefea17af3e01449192b52075b25b";
version = "0.6.3.2";
sha256 = "0ragimzrilsk5r8n0fbq3lyjww28bmc1r1vgjf9pb4kpfpbz0cq8";
propagatedBuildInputs = [extensibleExceptions mtl utf8String];
meta = {
description = "A command-line interface for user input, written in Haskell";

View File

@ -1,6 +1,7 @@
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, cgi, fgl, editline,
haskellSrc, html, parallel, regexBase, regexCompat, regexPosix,
stm, time, xhtml, zlib, cabalInstall, alex, happy, haddock, ghc}:
stm, time, xhtml, zlib, parsec, network,
cabalInstall, alex, happy, haddock, ghc}:
cabal.mkDerivation (self : {
pname = "haskell-platform";
@ -12,7 +13,8 @@ cabal.mkDerivation (self : {
propagatedBuildInputs = [
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl editline
haskellSrc html parallel regexBase regexCompat regexPosix
stm time xhtml zlib cabalInstall alex happy ghc
stm time xhtml zlib parsec network
cabalInstall alex happy ghc
];
meta = {
description = "Haskell Platform meta package";

View File

@ -1,6 +1,7 @@
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, cgi, fgl,
haskellSrc, html, network, parallel, regexBase, regexCompat, regexPosix,
stm, xhtml, zlib, cabalInstall, alex, happy, haddock, ghc}:
stm, xhtml, zlib, parsec,
cabalInstall, alex, happy, haddock, ghc}:
cabal.mkDerivation (self : {
pname = "haskell-platform";
@ -12,7 +13,8 @@ cabal.mkDerivation (self : {
propagatedBuildInputs = [
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl
haskellSrc html network parallel regexBase regexCompat regexPosix
stm xhtml zlib cabalInstall alex happy ghc haddock
stm xhtml zlib parsec
cabalInstall alex happy ghc haddock
];
meta = {
description = "Haskell Platform meta package";

View File

@ -1,6 +1,7 @@
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, cgi, fgl,
haskellSrc, html, network, parallel, regexBase, regexCompat, regexPosix,
stm, xhtml, zlib, cabalInstall, alex, happy, haddock, ghc}:
stm, xhtml, zlib, mtl, parsec, deepseq,
cabalInstall, alex, happy, haddock, ghc}:
cabal.mkDerivation (self : {
pname = "haskell-platform";
@ -12,7 +13,8 @@ cabal.mkDerivation (self : {
propagatedBuildInputs = [
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl
haskellSrc html network parallel regexBase regexCompat regexPosix
stm xhtml zlib cabalInstall alex happy ghc haddock
stm xhtml zlib mtl parsec deepseq
cabalInstall alex happy ghc haddock
];
meta = {
description = "Haskell Platform meta package";

View File

@ -0,0 +1,26 @@
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, cgi, fgl,
haskellSrc, html, network, parallel, parsec, regexBase, regexCompat, regexPosix,
stm, syb, deepseq, text, transformers, mtl, xhtml, zlib,
cabalInstall, alex, happy, haddock, ghc}:
cabal.mkDerivation (self : {
pname = "haskell-platform";
version = "2011.2.0.0";
src = fetchurl {
# url = "http://hackage.haskell.org/platform/${self.version}/cabal/${self.pname}-${self.version}.tar.gz";
url = "http://lambda.haskell.org/hp-tmp/${self.version}/cabal/${self.pname}-${self.version}.tar.gz";
sha256 = "01ppv8jdyvbngml9vgvrvnani6fj1nbk8mqmrkd8c508l7q9g6vb";
};
propagatedBuildInputs = [
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl
haskellSrc html network parallel parsec regexBase regexCompat regexPosix
stm syb deepseq text transformers mtl xhtml zlib
cabalInstall alex happy ghc haddock
];
noHaddock = true;
meta = {
description = "Haskell Platform meta package";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "haskell-src-exts";
version = "1.9.0";
sha256 = "dedb529217dfe393f75f26b735f7dd09eea50006481f60d06e169de6f328d1da";
version = "1.9.6";
sha256 = "1bdbjwhzms962ncwiszp82a8m6jkgz6d9cns5585kipy9n224d3h";
extraBuildInputs = [happy];
propagatedBuildInputs = [cpphs];
meta = {

View File

@ -0,0 +1,13 @@
{cabal, happy, syb}:
cabal.mkDerivation (self : {
pname = "haskell-src";
version = "1.0.1.4"; # Haskell Platform 2011.2.0.0
sha256 = "02h33d7970641p9vi62sgcxb5v4yaz8xx9vf2yxyvxs3hglm7f0j";
extraBuildInputs = [happy];
propagatedBuildInputs = [syb];
meta = {
description = "Manipulating Haskell source code";
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "highlighting-kate";
version = "0.2.7.1";
sha256 = "330c5fdc6b5dae62c12ee2455892319df12723346aa75401aea05ea0b24cf5ed";
version = "0.2.9";
sha256 = "0mk8m01mqw6vnjldr5idc6611475j4m292cm18kn3wa83000mbgk";
propagatedBuildInputs = [parsec pcreLight xhtml];
meta = {
description = "Syntax highlighting";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "hscolour";
version = "1.17";
sha256 = "b645cdde1b7827dae1519a4423031b4c6bed82a8edb52aa295bea86478ce24b0";
version = "1.17"; # Haskell Platform 2011.2.0.0
sha256 = "1c14rrw69a5yjni2mdgdm21fsssc3c1j6i4sa7hxl9vq3ggcsidn";
meta = {
description = "Colourise Haskell code";
};

View File

@ -2,7 +2,7 @@
cabal.mkDerivation (self : {
pname = "html";
version = "1.0.1.2"; # Haskell Platform 2009.0.0 and 2010.1.0.0 and 2010.2.0.0
version = "1.0.1.2"; # Haskell Platform 2009.0.0, 2010.1.0.0, 2010.2.0.0, 2011.2.0.0
sha256 = "0c35495ea33d65e69c69bc7441ec8e1af69fbb43433c2aa3406c0a13a3ab3061";
meta = {
description = "HTML combinator library";

View File

@ -1,10 +1,13 @@
{cabal, mtl}:
# syb isn't listed by the HackageDB web interface, but is
# a dependency for Text.JSON.Generic which is only exposed
# if syb is available.
{cabal, mtl, syb}:
cabal.mkDerivation (self : {
pname = "json";
version = "0.4.4";
sha256 = "102qmz55b2mgcca3q1c2pkcr6hz7kmpldad3f6blhmp1cz15f081";
propagatedBuildInputs = [mtl];
propagatedBuildInputs = [mtl syb];
meta = {
description = "Support for serialising Haskell to and from JSON";
};

View File

@ -0,0 +1,11 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "mtl";
version = "1.1.1.1"; # version of mtl1 compatible with ghc7
sha256 = "157gbrgrg0l9r72nq45dkach53yncysif4qglsaql28g37djc4x6";
meta = {
description = "Monad transformer library";
};
})

View File

@ -0,0 +1,12 @@
{cabal, transformers}:
cabal.mkDerivation (self : {
pname = "mtl";
version = "2.0.1.0"; # Haskell Platform 2011.2.0.0
sha256 = "1w6jpzyl08mringnd6gxwcl3y9q506r240vm1sv0aacml1hy8szk";
propagatedBuildInputs = [transformers];
meta = {
description = "Monad transformer library";
};
})

View File

@ -2,8 +2,9 @@
cabal.mkDerivation (self : {
pname = "multirec";
version = "0.4";
sha256 = "ad7a6ae90e1880b3fd79686ce8012e531b738f8f1d10ba836550fc91cfe3695e";
version = "0.5";
sha256 = "1nrfbiy5g51cpaqqi1adrr32x74wjjvplyyrphvzf4rxhnhj3xpw";
noHaddock = true; # don't know why Haddock causes an error
meta = {
description = "Generic programming with systems of recursive datatypes";
};

View File

@ -0,0 +1,12 @@
{cabal, parsec}:
cabal.mkDerivation (self : {
pname = "network";
version = "2.3.0.2"; # Haskell Platform 2011.2.0.0
sha256 = "1s4hm0ilsd67ircrl0h5b72kwrw1imb3cj5z52h99bv7qjdbag03";
propagatedBuildInputs = [parsec];
meta = {
description = "Networking-related facilities";
};
})

View File

@ -0,0 +1,11 @@
{cabal, syb}:
cabal.mkDerivation (self : {
pname = "pandoc-types";
version = "1.8";
sha256 = "1ikr1dmmdag31hgcswrnhzqacv4kl7z6dc8za2cjdq0cpd2mla98";
propagatedBuildInputs = [syb];
meta = {
description = "Types for representing a structured document";
};
})

View File

@ -1,13 +1,11 @@
{cabal, mtl, network, parsec, utf8String, xhtml, zipArchive, HTTP, xml,
texmath, random ? null}:
{cabal, HTTP, citeprocHs, dlist, tagsoup, texmath, xhtml, zipArchive}:
cabal.mkDerivation (self : {
pname = "pandoc";
version = "1.6";
sha256 = "9b825233293edf1ea414b0e7ea821d6a914711dc2c60546566ab5a97512b079b";
propagatedBuildInputs = [
mtl network parsec utf8String xhtml zipArchive HTTP xml texmath
] ++ (if random != null then [random] else []);
version = "1.8.1.1";
sha256 = "0g680j8x3v19wcb9k2dxgrdrjr48w0vhvlspfzgw0sgzrgfmaqsj";
propagatedBuildInputs =
[HTTP citeprocHs dlist tagsoup texmath xhtml zipArchive];
meta = {
description = "Conversion between markup formats";
};

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "pango";
version = "0.11.2";
sha256 = "fb7f5dc303d3d49a330aaa3acf29560f78746edb9c67f6191756baa1b08fb504";
version = "0.12.0";
sha256 = "1vp0hl4kpgcc3xphml1hmy04hqcn12y0ks03nn32g6g33ni9mwrb";
extraBuildInputs = [pkgconfig gtk2hsBuildtools pango glibc];
propagatedBuildInputs = [cairo glib mtl];
meta = {

View File

@ -0,0 +1,12 @@
{cabal, deepseq}:
cabal.mkDerivation (self : {
pname = "parallel";
version = "3.1.0.1"; # Haskell Platform 2011.2.0.0
sha256 = "0j03i5467iyz98fl4fnzlwrr93j2as733kbrxnlcgyh455kb89ns";
propagatedBuildInputs = [deepseq];
meta = {
description = "parallel programming library";
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "parsec";
version = "3.1.0";
sha256 = "962d39944bae18b0fea60961c77513f455f95c0f67ae4b10ab15484a27b6fb98";
version = "3.1.1"; # Haskell Platform 2011.2.0.0
sha256 = "0x34gwn9k68h69c3hw7yaah6zpdwq8hvqss27f3n4n4cp7dh81fk";
propagatedBuildInputs = [mtl];
meta = {
license = "BSD";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "pcre-light";
version = "0.3";
sha256 = "a8cfec1c265530388efbb187426368e280331d9829fa93d8f49f16db3c3e7794";
version = "0.4";
sha256 = "1xiikiap1bvx9czw64664vifdq64scx0yhfclh5m8mkvn3x6yzxk";
propagatedBuildInputs = [pcre];
meta = {
description = "A small, efficient and portable regex library for Perl 5 compatible regular expressions";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "regex-base";
version = "0.93.2"; # Haskell Platform 2010.2.0.0
sha256 = "20dc5713a16f3d5e2e6d056b4beb9cfdc4368cd09fd56f47414c847705243278";
version = "0.93.2"; # Haskell Platform 2010.2.0.0, 2011.2.0.0
sha256 = "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10";
propagatedBuildInputs = [mtl];
meta = {
description = "Replaces/Ehances Text.Regex";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "regex-compat";
version = "0.93.1"; # Haskell Platform 2010.2.0.0
sha256 = "ee0374f780378e8c04a63d9cbaca525e116dbe2bdce4cff3abaffc28d4e99afe";
version = "0.93.1"; # Haskell Platform 2010.2.0.0, 2011.2.0.0
sha256 = "1zlsx7a2iz5gmgrwzr6w5fz6s4ayab5bm71xlq28r3iph3vp80zf";
propagatedBuildInputs = [regexBase regexPosix];
meta = {
description = "Replaces/Enhances Text.Regex";

View File

@ -0,0 +1,12 @@
{cabal, regexBase}:
cabal.mkDerivation (self : {
pname = "regex-posix";
version = "0.94.4"; # Haskell Platform 2011.2.0.0
sha256 = "1ykirysvz9ganm2k7fmrppklsgh0h35mjfsi9g1icv43pqpr6ldw";
propagatedBuildInputs = [regexBase];
meta = {
description = "Replaces/Enhances Text.Regex";
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "safe";
version = "0.2";
sha256 = "73b9a247c3ba8092236c8c912687399778ff31bf3df42d707563a1528a6fc0e0";
version = "0.3";
sha256 = "174jm7nlqsgvc6namjpfknlix6yy2sf9pxnb3ifznjvx18kgc7m0";
meta = {
description = "Library for safe (pattern match free) functions";
license = "BSD";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "split";
version = "0.1.1";
sha256 = "5f6513e717abfaa8eab46d7181093a21d335fed33dff20fa4628008b770a763f";
version = "0.1.3";
sha256 = "1i43xa11d5jn30j9948bypi8dzdxr7nx4v9xhcgpmaggssv9bvcs";
meta = {
description = "Combinator library for splitting lists";
};

View File

@ -0,0 +1,11 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "stm";
version = "2.2.0.1"; # Haskell Platform 2011.2.0.0
sha256 = "1p0x414ffsd77mmlfz1cmwg2cbhinnbpxypxgvygg05js67msj8q";
meta = {
description = "Software Transactional Memory";
};
})

View File

@ -0,0 +1,14 @@
{cabal, gtk2hsBuildtools, cairo, glib, mtl, pkgconfig, librsvg, glibc}:
cabal.mkDerivation (self : {
pname = "svgcairo";
version = "0.12.0";
sha256 = "1zialw59njmq0sfz9f0rx6v50d4bvld2ivmwljkp5bmxii3hcjl3";
extraBuildInputs = [pkgconfig librsvg glibc gtk2hsBuildtools];
propagatedBuildInputs = [cairo glib mtl];
meta = {
description = "Binding to the Cairo library";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -0,0 +1,10 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "syb";
version = "0.2.2";
sha256 = "0m29vnqkkmpf4m3gi42kcbr2gfyxgkcw85xsyrq0mgbxb0zg6ky9";
meta = {
description = "generics system described in the Scrap Your Boilerplate papers";
};
})

View File

@ -0,0 +1,10 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "syb";
version = "0.3"; # Haskell Platform 2011.2.0.0
sha256 = "1gnqw76zy7xvlabhbyk8hml88hpz2igf7b3mz2ic091f77qkkch7";
meta = {
description = "generics system described in the Scrap Your Boilerplate papers";
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "syb-with-class";
version = "0.6.1";
sha256 = "72cf0a98862181fea81b77c11f35efd22eafa29107f3acd624fd08be68ed850b";
version = "0.6.1.1";
sha256 = "15i6df470c2qcf9vc05yg809c5imrj00mf72p5njapx88qnk2p67";
meta = {
description = "Scrap Your Boilerplate With Class";
};

View File

@ -0,0 +1,13 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "tagsoup";
version = "0.12";
sha256 = "0jaqr6q8asn7gd336xsblcc55lzm8glzlhvs61mhzjvk4hg9pmg7";
meta = {
description = "Parsing and extracting information from (possibly malformed) HTML/XML documents";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -1,10 +1,10 @@
{cabal, cgi, json, parsec, xml}:
{cabal, parsec, syb, xml}:
cabal.mkDerivation (self : {
pname = "texmath";
version = "0.3.0.2";
sha256 = "8d2bb26fc5aab09ae92d2c194ec39acb4e04c054ad2caf1a1db0dc9b53b4b1d4";
propagatedBuildInputs = [cgi json parsec xml];
version = "0.5.0.1";
sha256 = "0kw23b1df7456d2h48g2p7k8nvfv80a8a70xgkq4pn7v50vqipdy";
propagatedBuildInputs = [parsec syb xml];
meta = {
description = "Conversion of LaTeX math formulas to MathML";
license = "GPL";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "text";
version = "0.7.2.1";
sha256 = "13b00db1363219e263a4af5b1318d2a296d67c975883cd7e17265fcd8fb1381c";
version = "0.11.0.5"; # Haskell Platform 2011.2.0.0
sha256 = "1a5y2i7qrkyyvm112q44rhd7jbqxvfxssz2g5ngbx11yypl3hcdv";
propagatedBuildInputs = [deepseq];
meta = {
description = "An efficient package Unicode text type";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "transformers";
version = "0.2.1.0";
sha256 = "1ff9768e60130810e888452b6052d64998d0651fe2835902f032d8f8182a2c6d";
version = "0.2.2.0"; # Haskell Platform 2011.2.0.0
sha256 = "1nkazxy2p0w5ad76vg1lc4l0nla1kdqjdf9pymjgk75dpiyijbdz";
meta = {
description = "Concrete functor and monad transformers";
};

View File

@ -1,10 +1,10 @@
{cabal, mtl}:
{cabal, mtl, syb}:
cabal.mkDerivation (self : {
pname = "uniplate";
version = "1.5.1";
sha256 = "cfeaaaabbbe318992df0c51a0c04729b22dac244f415b80a3b388708ed9cfc33";
propagatedBuildInputs = [mtl];
version = "1.6";
sha256 = "13nlyzsnj6hshgl839ww1kp49r87kpdcdyn7hxahg8k2qkj5zzxr";
propagatedBuildInputs = [mtl syb];
meta = {
description = "Uniform type generic traversals";
};

Some files were not shown because too many files have changed in this diff Show More