Updated (almost) all Haskell package expressions with cabal2nix.

The new files ...

 * conform to the coding guidelines,

 * consistently specify meta.maintainers and meta.platforms,

 * have proper descriptions and licenses as specified in their Cabal file, and

 * take advantage of the new cabal.nix extensions, i.e. proper
   distinction between buildInputs and propagatedBuildInputs.

Furthermore, the following updates were performed:

 * haskell-Ranged-sets: updated to version 0.3.0
 * haskell-Shellac-haskeline: updated to version 0.2.0.1
 * haskell-cpphs: updated to version 1.12
 * haskell-hslogger: updated to version 1.1.5
 * haskell-xml: updated to version 1.3.9
 * haskell-HDBC-postgresql: updated to version 2.3.2.0
 * haskell-HDBC-sqlite3: updated to version 2.3.3.0
 * haskell-HDBC: updated to version 2.3.1.0
 * haskell-base-unicode-symbols: updated to version 0.2.2.1
 * haskell-convertible: updated to version 1.0.11.0
 * haskell-monad-control: updated to version 0.2.0.2
 * haskell-murmur-hash: updated to version 0.1.0.4
 * haskell-repa: updated to version 2.1.1.3
 * haskell-statistics: updated to version 0.9.0.0
 * haskell-ansi-terminal: updated to version 0.5.5

haskell-maybench was dropped, because it cannot be built with recent
versions of Cabal:

   Configuring maybench-0.2.4.1...
   Setup: At least the following dependencies are missing:
   Cabal >=1.2 && <1.5

svn path=/nixpkgs/trunk/; revision=28446
This commit is contained in:
Peter Simons
2011-08-09 23:00:20 +00:00
parent 065c0213cf
commit 3685cea8e9
362 changed files with 3276 additions and 1737 deletions

View File

@@ -1,12 +1,15 @@
{cabal, binary, mtl, syb, sybWithClass, sybWithClassInstancesText,
text} :
{ cabal, binary, mtl, syb, sybWithClass, sybWithClassInstancesText
, text, time
}:
cabal.mkDerivation (self : {
cabal.mkDerivation (self: {
pname = "happstack-data";
version = "6.0.0";
sha256 = "1wdvylqgy3iw41ksw2ys4f0vyak8sbk6gginljvz07rrh04klyhl";
propagatedBuildInputs = [
binary mtl syb sybWithClass sybWithClassInstancesText text
isLibrary = true;
isExecutable = true;
buildDepends = [
binary mtl syb sybWithClass sybWithClassInstancesText text time
];
meta = {
homepage = "http://happstack.com";
@@ -14,8 +17,8 @@ cabal.mkDerivation (self : {
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.simons
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@@ -1,14 +1,18 @@
{cabal, MaybeT, blazeHtml, happstackData, happstackUtil, hslogger,
html, mtl, network, parsec, sendfile, syb, text, utf8String, xhtml,
zlib} :
{ cabal, MaybeT, blazeHtml, extensibleExceptions, happstackData
, happstackUtil, hslogger, html, mtl, network, parsec, sendfile
, syb, text, time, utf8String, xhtml, zlib
}:
cabal.mkDerivation (self : {
cabal.mkDerivation (self: {
pname = "happstack-server";
version = "6.1.6";
sha256 = "1z4c2bymyyvhs47ynrlp4d2cwqws2d2isiwj82c33qcmk4znargg";
propagatedBuildInputs = [
MaybeT blazeHtml happstackData happstackUtil hslogger html mtl
network parsec sendfile syb text utf8String xhtml zlib
isLibrary = true;
isExecutable = true;
buildDepends = [
MaybeT blazeHtml extensibleExceptions happstackData happstackUtil
hslogger html mtl network parsec sendfile syb text time utf8String
xhtml zlib
];
meta = {
homepage = "http://happstack.com";
@@ -16,8 +20,8 @@ cabal.mkDerivation (self : {
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.simons
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@@ -1,18 +1,24 @@
{cabal, hslogger, mtl, network, parsec, unixCompat} :
{ cabal, extensibleExceptions, hslogger, mtl, network, parsec, time
, unixCompat
}:
cabal.mkDerivation (self : {
cabal.mkDerivation (self: {
pname = "happstack-util";
version = "6.0.0";
sha256 = "06qla74kb58q0rvlfa9k16s4crnylq99hm80xx4phlddyzn0cy4z";
propagatedBuildInputs = [ hslogger mtl network parsec unixCompat ];
isLibrary = true;
isExecutable = true;
buildDepends = [
extensibleExceptions hslogger mtl network parsec time unixCompat
];
meta = {
homepage = "http://happstack.com";
description = "Web framework";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.simons
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})