Commit graph

52 commits

Author SHA1 Message Date
Peter Simons 18250b97ae Remove 'andres' from the meta.maintainer section of all Haskell package where I
had added him earlier.
2014-08-09 13:49:24 +02:00
Peter Simons 5bfb58a8a2 Re-generate Haskell packages with cabal2nix. 2014-07-14 17:33:52 +02:00
Peter Simons d2e731e111 Add "please don't edit" comment at the top of every auto-generated Haskell file. 2014-07-14 13:21:41 +02:00
Peter Simons 6ca2c509c1 haskell-wxcore: jailbreak to fix build with recent versions of array 2014-05-14 15:02:27 +02:00
Peter Simons fd0f9e6fc1 Re-write the Haskell Platform out of haskell-defaults.nix.
1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are
    now called haskell-platform-VVVV.X.Y.Z. The latest version can be
    installed by running "nix-env -i haskell-platform".

 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist.
    Instead, we have attributes like haskellPlatformPackages."2012_4_0_0".
    (The last numeric bit must be quoted when used in a Nix file, but not on
    the command line to nix-env, nix-build, etc.) The latest Platform has a
    top-level alias called simply haskellPlatform.

 3) The haskellPackages_ghcXYZ package sets offer the latest version of every
    library that GHC x.y.z can compile. For example, if 2.7 is the latest
    version of QuickCheck and if GHC 7.0.4 can compile that version, then
    haskellPackages_ghc704.QuickCheck refers to version 2.7.

 4) All intermediate GHC releases were dropped from all-packages.nix to
    simplify our configuration. What remains is a haskellPackages_ghcXYZ set
    for the latest version of every major release branch, i.e. GHC 6.10.4,
    6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot).

 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides
    from newer to older compilers, i.e. an override configured for GHC 7.0.4
    will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has
    reduced the redundancy in those configuration functions. The downside is
    that overriding an attribute for only one particular GHC version has become
    more difficult. In practice, this case doesn't occur much, though.

 6) The 'cabal' builder has a brand-new argument called 'extension'. That
    function is "self : super : {}" by default and users can override it to
    mess with the attribute set passed to cabal.mkDerivation. An example use
    would be the definition of darcs in all-packages.nix:

    | darcs = haskellPackages.darcs.override {
    |   cabal = haskellPackages.cabal.override {
    |     extension = self : super : {
    |       isLibrary = false;
    |       configureFlags = "-f-library " + super.configureFlags or "";
    |     };
    |   };
    | };

    In this case, extension disables building the library part of the package
    to give us an executable-only version that has no dependencies on GHC or
    any other Haskell packages.

    The 'self' argument refers to the final version of the attribute set and
    'super' refers to the original attribute set.

Note that ...

 - Haskell Platform packages always provide the Haddock binary that came with
   the compiler.

 - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and
   cabal-install.

 - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-14 14:59:52 +02:00
Peter Simons 29187bc16a haskell-wxdirect: update to version 0.90.1.1 2014-03-27 13:12:54 +01:00
Peter Simons c53463dcee haskell-wxcore: update to version 0.90.1.1 2014-03-27 13:12:53 +01:00
Peter Simons bbcf732015 haskell-wxc: update to version 0.90.1.1 2014-03-27 13:12:53 +01:00
Peter Simons 9a107da470 wxHaskell: touch files after extracting the tarball to fix broken timestamps 2014-03-22 17:08:47 +01:00
Peter Simons fffe521344 haskell-wxHaskell: drop obsolete patch 2014-03-22 17:08:47 +01:00
Peter Simons 02e8e7021b haskell-wxdirect: update to version 0.90.1.0 2014-03-22 17:08:47 +01:00
Peter Simons 33a55a58c1 haskell-wxcore: update to version 0.90.1.0 2014-03-22 17:08:47 +01:00
Peter Simons 9761a0c49a haskell-wxc: update to version 0.90.1.0 2014-03-22 17:08:47 +01:00
Peter Simons 9fdacd0d6d haskell-wx: update to version 0.90.1.0 2014-03-22 17:08:47 +01:00
Eric Kow d1e8f9c047 haskell-wxc: noHaddock 2013-11-02 18:09:08 +00:00
Peter Simons d64917ad17 Back-port Haskell-related improvements from stdenv-updates.
* There now is full support for building Haskell packages as shared libraries
   for GHC versions 7.4.2 or later. The Cabal builder recognizes the following
   attributes:

    - enableSharedLibraries configures Cabal to build of shared libraries in
      addition to static ones. This option requires that all dependencies of
      the package have been compiled for use in shared libraries, too.

    - enableSharedExecutables configures Cabal to prefer shared libraries when
      linking executables.

   The default values for these attributes are arguments to the haskellPackages
   expression.

 * Haskell builds now run in a LANG="en_US.UTF-8" environment to avoid plenty
   of build and test suite errors. Without this setting, GHC seems unable to
   deal with the UTF-8 character encoding that's generally considered standard
   in the Haskell world.

 * The Cabal builder supports a new attribute 'testTarget' to specify the exact
   set of tests to be run during the check phase.

 * The ghc-wrapper attribute ghcVersion has been removed. Instead, we use the
   ghc.version attribute, which exists in unwrapped GHC derivations, too.
2013-10-27 10:09:36 +01:00
Peter Simons 7b48b3acf6 haskell-wx-core: jailbreak to fix build with Haskell Platform 2013.2.0.0 2013-05-30 12:35:18 +02:00
Peter Simons d7c578285a haskell-wx-direct: jailbreak to fix build with Haskell Platform 2013.2.0.0 2013-05-30 12:33:43 +02:00
Peter Simons 3b2254a3af Remove myself from the meta.maintainer field of most Haskell packages.
There is no point in receiving hundreds of e-mails; I cannot read them anyway.
2013-05-11 00:36:59 +02:00
Peter Simons 6fc2cccfe6 Add myself as a maintainer to all Haskell packages (re-)generated by hackage4nix. 2013-03-23 15:58:14 +01:00
Peter Simons 750ed5b8da wxHaskell: patch wxc to fix build error 2013-01-07 12:14:33 +01:00
Peter Simons 6e6a037272 haskell-wxcore: update to version 0.90.0.3 2012-07-05 11:22:36 +02:00
Peter Simons 5784af1772 haskell-wxc: update to version 0.90.0.4 2012-07-05 11:22:36 +02:00
Peter Simons 201bdca962 Updated Haskell packages.
- cryptocipher: updated to version 0.3.2
 - Crypto: updated to version 4.2.5
 - darcs: updated to version 2.8.1
 - hamlet: updated to version 1.0.1.3
 - monad-par-extras: updated to version 0.3.2
 - persistent-template: updated to version 0.9.0.2
 - pool-conduit: updated to version 0.1.0.2
 - shakespeare-css: updated to version 1.0.1.2
 - shakespeare-i18n: updated to version 1.0.0.2
 - shakespeare-js: updated to version 1.0.0.2
 - shakespeare-text: updated to version 1.0.0.2
 - shakespeare: updated to version 1.0.0.2
 - warp: updated to version 1.2.1
 - wxcore: updated to version 0.90.0.1
 - wxc: updated to version 0.90.0.3
 - wx: updated to version 0.90.0.1
 - xml-conduit: updated to version 0.7.0.3
 - xss-sanitize: updated to version 0.3.2
 - yesod-auth: updated to version 1.0.2.1
 - yesod-core: updated to version 1.0.1.2
 - yesod-default: updated to version 1.0.1.1
 - yesod-form: updated to version 1.0.0.4
 - yesod-json: updated to version 1.0.0.1
 - yesod-persistent: updated to version 1.0.0.1
 - yesod-routes: updated to version 1.0.1.2
 - yesod-static: updated to version 1.0.0.2
 - yesod: updated to version 1.0.1.6

svn path=/nixpkgs/trunk/; revision=34102
2012-05-15 11:50:48 +00:00
Peter Simons 7762bb93ee Updated Haskell packages.
- cabal-install: added support for version 0.14.0 to GHC 7.0.4, 6.12.3, and 6.10.4
 - crypto-conduit: updated to version 0.3.1
 - haskell-src-exts: updated to version 1.13.2
 - hjsmin: updated to version 0.1.0
 - persistent: updated to version 0.9.0.2
 - wai-extra: updated to version 1.2.0.3
 - wxdirect: updated to version 0.90.0.1
 - yesod-core: updated to version 1.0.1
 - yesod-default: updated to version 1.0.1
 - yesod-form: updated to version 1.0.0.2
 - yesod-routes: updated to version 1.0.1
 - yesod: updated to version 1.0.1

svn path=/nixpkgs/trunk/; revision=33838
2012-04-19 10:22:03 +00:00
Peter Simons 5b8103b57c wxHaskell: updated to version 0.90 based on wxGTK version 2.9.3
- wx: updated to version 0.90
 - wxcore: updated to version 0.90
 - wxdirect: updated to version 0.90
 - wxc: this project contains no native Haskell code -- only C++ glue -- so we cannot run Haddock on it

svn path=/nixpkgs/trunk/; revision=33813
2012-04-17 13:56:34 +00:00
Peter Simons d775e93f90 Updated Haskell packages.
- HTTP: added version 4000.2.3
 - RSA: updated to version 1.2.0.0
 - RepLib: updated to version 0.5.2.1
 - conduit: updated to version 0.4.1.1
 - data-accessor: updated to version 0.2.2.2
 - deepseq-th: updated to version 0.1.0.3
 - explicit-exception: updated to version 0.1.7
 - ghc-mod: updated to version 1.10.15
 - gitit: updated to version 0.9.0.1
 - hakyll: updated to version 3.2.7.2
 - hjsmin: updated to version 0.0.16
 - http-conduit: updated to version 1.4.1
 - iteratee: updated to version 0.8.8.2
 - language-javascript: updated to version 0.5.0
 - reactive-banana: updated to version 0.5.0.1
 - repa: updated to version 3.1.1.1
 - rvar: updated to version 0.2.0.1
 - semigroups: updated to version 0.8.3
 - simple-sendfile: updated to version 0.2.3
 - storable-record: updated to version 0.0.2.5
 - unbound: updated to version 0.4.0.2
 - wxc: added version 0.90.0.2

svn path=/nixpkgs/trunk/; revision=33802
2012-04-16 12:07:58 +00:00
Peter Simons 880dcc2c64 Removed myself as a maintainer from Haskell packages that I don't personally use.
By now, it happened twice that a commit broke GHC and thus all Haskell packages
we have in Nixpkgs. On such an occasion, I receive well in excess of 3000
notification e-mails from Hydra, and then I receive another 3000 e-mails after
the bug has been fixed. Under these circumstances, subscribing to these
notifications makes no sense for me.

svn path=/nixpkgs/trunk/; revision=33392
2012-03-24 10:21:28 +00:00
Peter Simons cb28766341 Re-generated Haskell package descriptions with the latest version of cabal2nix.
svn path=/nixpkgs/trunk/; revision=32327
2012-02-16 14:05:41 +00:00
Peter Simons ac69747aa8 Regenerated all Haskell packages with the latest version of cabal2nix.
svn path=/nixpkgs/trunk/; revision=32292
2012-02-14 17:00:37 +00:00
Peter Simons 77f1415102 haskell-wxdirect: updated to version 0.13.1.2
svn path=/nixpkgs/trunk/; revision=32106
2012-02-07 10:34:40 +00:00
Peter Simons a3cab4b496 haskell-wxcore: updated to version 0.13.2.1
svn path=/nixpkgs/trunk/; revision=32105
2012-02-07 10:34:38 +00:00
Peter Simons 99e9375631 haskell-wx: updated to version 0.13.2.1
svn path=/nixpkgs/trunk/; revision=32104
2012-02-07 10:34:35 +00:00
Peter Simons 5331d4e98b haskell-wxdirect: updated to version 0.13.1.1
svn path=/nixpkgs/trunk/; revision=31519
2012-01-13 10:32:11 +00:00
Peter Simons c334c8b547 haskell-wxcore: updated to version 0.13.2
svn path=/nixpkgs/trunk/; revision=31518
2012-01-13 10:32:08 +00:00
Peter Simons e495d3345f haskell-wx: updated to version 0.13.2
svn path=/nixpkgs/trunk/; revision=31517
2012-01-13 10:32:06 +00:00
Peter Simons 058055fd16 haskell-packages: normalize all lists to state their elements in alphabetical order
svn path=/nixpkgs/trunk/; revision=28774
2011-08-23 11:00:05 +00:00
Peter Simons c8ae7cc8bb Updated build expressions for the current version of cabal.nix.
svn path=/nixpkgs/trunk/; revision=28772
2011-08-23 10:35:49 +00:00
Peter Simons 21b26aef25 Updated Haskell package meta sections.
svn path=/nixpkgs/trunk/; revision=28583
2011-08-15 11:27:02 +00:00
Peter Simons b0b297ecb7 Regenerated haskell-wx and haskell-wxdirect expressions; no functional change.
svn path=/nixpkgs/trunk/; revision=28550
2011-08-13 23:38:23 +00:00
Peter Simons c13f967ed5 Replaced the obsolete 'haskellPlatforms' attribute with the platforms exported by GHC.
svn path=/nixpkgs/trunk/; revision=28418
2011-08-09 09:54:50 +00:00
Peter Simons 75dfd9d3c6 wxHaskell: cosmetic, no functional change
svn path=/nixpkgs/trunk/; revision=28363
2011-08-07 22:16:26 +00:00
Peter Simons 24ebfb216f wxHaskell-core: updated to version 0.12.1.7
svn path=/nixpkgs/trunk/; revision=28362
2011-08-07 22:16:22 +00:00
Peter Simons 3ec87421db wxHaskell-wxdirect.nix: updated to version 0.12.1.4
svn path=/nixpkgs/trunk/; revision=28361
2011-08-07 22:16:18 +00:00
Andres Löh b18dd91057 Removing trailing whitespace.
svn path=/nixpkgs/trunk/; revision=26570
2011-03-28 15:04:00 +00:00
Andres Löh 3e0ac9b040 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
2011-03-12 17:28:15 +00:00
Andres Löh 39ec9d91f4 Added new version of wx package for Haskell.
svn path=/nixpkgs/trunk/; revision=15444
2009-05-04 13:33:04 +00:00
Andres Löh 9a216af770 Updating wxHaskell (in progress).
svn path=/nixpkgs/trunk/; revision=15442
2009-05-04 13:32:59 +00:00
Eelco Dolstra d15a5e9625 * Get rid of references to losser.st-lab.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=13707
2009-01-05 14:01:42 +00:00
Eelco Dolstra 1e38eaa5cb * Hopefully this works.
svn path=/nixpkgs/trunk/; revision=7793
2007-01-24 17:50:51 +00:00