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
@@ -1,14 +1,20 @@
{cabal, hint, mtl, network}:
{ cabal, hint, mtl, network, syb }:
cabal.mkDerivation (self : {
cabal.mkDerivation (self: {
pname = "HaRe";
version = "0.6.0.1";
sha256 = "cd3fa312c7fa6a5f761bbc3ebdbc6300e83ba9e285047acded6269d2164d67f8";
propagatedBuildInputs = [hint mtl network];
isLibrary = false;
isExecutable = true;
buildDepends = [ hint mtl network syb ];
meta = {
description = "The Haskell Refactorer";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.andres];
homepage = "http://www.cs.kent.ac.uk/projects/refactor-fp";
description = "the Haskell Refactorer.";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})
})
@@ -1,10 +1,12 @@
{cabal, cpphs, haskellSrcExts, hscolour, transformers, uniplate} :
{ cabal, cpphs, haskellSrcExts, hscolour, transformers, uniplate }:
cabal.mkDerivation (self : {
cabal.mkDerivation (self: {
pname = "hlint";
version = "1.8.13";
sha256 = "125hvljx70b1zai3xdrarjl9fji2fq2g390rlffq428ifjrl9nk2";
propagatedBuildInputs = [
isLibrary = true;
isExecutable = true;
buildDepends = [
cpphs haskellSrcExts hscolour transformers uniplate
];
meta = {
@@ -12,6 +14,9 @@ cabal.mkDerivation (self : {
description = "Source code suggestions";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.simons ];
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})
@@ -1,11 +1,20 @@
{cabal, mtl, network, time}:
{ cabal, mtl, network, time }:
cabal.mkDerivation (self : {
cabal.mkDerivation (self: {
pname = "hslogger";
version = "1.1.4";
sha256 = "0858jbkjda7ccjzxjnlp2ng1jyvfsa1jhd45vr9bbhsr8qwrdky7";
propagatedBuildInputs = [ mtl time network ];
version = "1.1.5";
sha256 = "0lk966csxxyjjdg5jg4pzzl5118zj8ms78vn1n9imb7f4vcs8vk7";
isLibrary = true;
isExecutable = true;
buildDepends = [ mtl network time ];
meta = {
homepage = "http://software.complete.org/hslogger";
description = "Versatile logging framework";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})
@@ -12,6 +12,9 @@ cabal.mkDerivation (self: {
description = "Attribute Grammar System of Universiteit Utrecht";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})