Commit graph

102 commits

Author SHA1 Message Date
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
Ludovic Courtès
1f2cf89914 GNU Bison 2.4.3.
svn path=/nixpkgs/trunk/; revision=23256
2010-08-19 16:55:00 +00:00
Yury G. Kudryashov
e9fd810997 antlr-2: compile library
svn path=/nixpkgs/trunk/; revision=23235
2010-08-18 18:56:03 +00:00
Eelco Dolstra
6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00
Andres Löh
5f8328c461 Preparing for the upcoming Haskell Platform release.
svn path=/nixpkgs/trunk/; revision=22620
2010-07-17 13:23:48 +00:00
Eelco Dolstra
61cb191a5c * Bison 2.4.2.
svn path=/nixpkgs/trunk/; revision=20991
2010-04-09 12:41:48 +00:00
Andres Löh
9370225663 Haskell Platform 2010.1.0.0
svn path=/nixpkgs/trunk/; revision=20904
2010-04-01 10:56:48 +00:00
Lluís Batlle i Rossell
21b2bc74b2 The bison elf may call m4 (I saw that building binutils' gold).
svn path=/nixpkgs/branches/stdenv-updates/; revision=18845
2009-12-08 19:42:18 +00:00
Lluís Batlle i Rossell
7ade207f6b - Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
  keep this branch properly updated from trunk. We agreed with Nicolas Pierron
  doing a massive renaming, so all current buildInputs become hostInputs (input
  as build for the host machine, in autotools terminology) , and
  then buildInputs would mean "input as for the build machine".
  By now, the specific "input as for the build machine" is specified through
  buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
  we start changing nixpkgs expressions so they distinguish the current
  buildInputs into buildInputs and buildNativeInputs, we could break even more
  nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
  to be run in the build machine. This allows, without any special rewriting,
  "fetchurl" derivations to be always results for the build machine to use
  them.
- The change above implies that, for anyone wanting to cross-compile, has to
  build the hostDrv of the wanted derivation. For example, after this commit,
  the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
  the contents of this arm.nix in r18398.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
Andres Löh
107d41f96c New Haskell Platform release.
svn path=/nixpkgs/trunk/; revision=15837
2009-06-03 08:44:41 +00:00
Eelco Dolstra
7689a348c4 * Got rid of a lot of "postInstall=postInstall" and similar lines in
builders.  These are redundant now.
* Inlined some trivial builders.
* Removed a few explicit setup-hook creations.  This is done
  automatically now if setupHook is set.
* Deleted the initscripts package.  NixOS doesn't use it anymore.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
2009-04-23 13:31:10 +00:00
Andres Löh
12a05f1638 More Haskell Platform.
svn path=/nixpkgs/trunk/; revision=15153
2009-04-19 13:38:34 +00:00
Andres Löh
b148543c3e Towards Haskell Platform support.
svn path=/nixpkgs/trunk/; revision=15148
2009-04-19 11:44:37 +00:00
Eelco Dolstra
cee387e845 * Move the composition of Haskell packages out of all-packages.nix
into haskell-packages.nix, which depends on an instance of GHC.
  This allows a consistent set of packages to be built with the same
  GHC.  For instance,

  $ nix-build -A haskellPackages_ghc683.xmonad

  builds xmonad and all its dependencies with GHC 6.8.3, while

  $ nix-build -A haskellPackages_ghc6102.xmonad

  does the same with GHC 6.10.2.  This is the same technique used with
  kernelPackages.  It also means that we don't need things like
  "cabal682" and "cabal683" anymore.

* The setup hook is now in a separate wrapper package so that we don't
  have to recompile all of GHC every time we want to make a small
  change.

* cinelerra: this package appears to have an accidental dependency on
  the "X11" Haskell package.

svn path=/nixpkgs/trunk/; revision=15125
2009-04-18 12:47:11 +00:00
Eelco Dolstra
5986a4d175 * More cleanup. Updated to the latest Stratego/XT 0.17.
svn path=/nixpkgs/trunk/; revision=14610
2009-03-19 14:34:16 +00:00
Peter Simons
22e1286711 Updated ANTLR version 2 from 2.7.6 to 2.7.7.
svn path=/nixpkgs/trunk/; revision=14576
2009-03-17 15:42:54 +00:00
Peter Simons
610aac30c3 Fixed Python StringTemplate library.
Most importantly, this change required updating the ANTLR 2.x expression to
install the Python run-time library. While we're at it, we're building the
run-time library for C++ and Java, too. There is still work to be done: the
stringtemplate library doesn't find antlr.py without help yet.

svn path=/nixpkgs/trunk/; revision=14489
2009-03-10 12:01:22 +00:00
Marc Weber
b56ed35851 replacing applyAndFun by lib.defaultOverridableDelayableArgs
applyAndFun has a bug resulting in the same arg beeing added more than
once when using a concatenating merge function for the attr set.

I've tried giving the function a name "overridableDelayableArgs" which
resembles its usage much more.

important refactoring:
  applyAndFun had .fun and .funMerge only when passing the merge
  function lib.mergeOrApply

  composableDerivation {
    initial = {
      ...
    };
  }

to

  overridableDelayableArgs has always .replace and .merge
  composableDerivation {} {
    ...
  }

svn path=/nixpkgs/trunk/; revision=14428
2009-03-06 23:21:28 +00:00
Nicolas Pierron
507ab31cbe Add ragel: A state machine compiler.
svn path=/nixpkgs/trunk/; revision=13881
2009-01-27 14:00:54 +00:00
Ludovic Courtès
b942701506 GNU Bison 2.4.1.
svn path=/nixpkgs/trunk/; revision=13619
2008-12-12 12:37:29 +00:00
Eelco Dolstra
f7f25d81a7 * Oops.
svn path=/nixpkgs/trunk/; revision=13301
2008-11-14 17:27:54 +00:00
Eelco Dolstra
aa84bce64d * Get rid of all references to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=13299
2008-11-14 16:57:19 +00:00
Eelco Dolstra
c1cbd437dc * Doh.
svn path=/nixpkgs/trunk/; revision=13297
2008-11-14 16:28:15 +00:00
Eelco Dolstra
704e51d3e2 * Reenable the check phase in Bison 2.4.
* Use the passthru attribute.

svn path=/nixpkgs/trunk/; revision=13295
2008-11-14 15:53:07 +00:00
Michael Raskin
8b06e2e228 Try producing release without running bison2.4 testsuite..
svn path=/nixpkgs/trunk/; revision=13189
2008-11-04 18:39:52 +00:00
Ludovic Courtès
d7a1a64e57 GNU Bison 2.3: Fix `meta.license'.
svn path=/nixpkgs/trunk/; revision=13182
2008-11-03 18:28:13 +00:00
Ludovic Courtès
c0960419b2 GNU Bison 2.3: Update `meta' attribute.
svn path=/nixpkgs/trunk/; revision=13181
2008-11-03 18:27:35 +00:00
Ludovic Courtès
8c1408bf27 GNU Bison 2.4 (2.3.x remains the default).
svn path=/nixpkgs/trunk/; revision=13180
2008-11-03 18:25:17 +00:00
Marc Weber
9e55727832 Added:
* dmenu
* gftp
* micropolis
* byacc as a build-time dependency for micropolis
contributed by baldo <baldo@quimby.lan>

svn path=/nixpkgs/trunk/; revision=12526
2008-08-06 20:39:01 +00:00
Eelco Dolstra
aaccd6f6e2 * Fix building the Fortran compiler.
svn path=/nixpkgs/trunk/; revision=12201
2008-06-27 14:43:25 +00:00
Michael Raskin
a3ea4c135b Newer flex.
svn path=/nixpkgs/trunk/; revision=11213
2008-03-20 09:50:15 +00:00
Eelco Dolstra
a1bcd5d936 * No idea what this was for.
svn path=/nixpkgs/trunk/; revision=10779
2008-02-20 13:07:11 +00:00
Ludovic Courtès
3e7da32582 Flex 2.5.34.
svn path=/nixpkgs/trunk/; revision=10713
2008-02-16 19:12:55 +00:00
Sander van der Burg
067aaa8004 Added sdf2-bundle 2.4
svn path=/nixpkgs/trunk/; revision=10371
2008-01-29 09:37:15 +00:00
Andres Löh
61adeec0e5 * update alex to 2.2 and to use the generic Cabal builder
* change default version of ghc to ghc-6.8.2
* some references to ghc-6.6 and ghc-6.6.1 are left; these are
  packages that to my knowledge don't work without ghc-6.8.2 without
  some kind of work (such as upgrading to a later version or some
  patch); I'll try to perform these remaining upgrades soon ...

svn path=/nixpkgs/trunk/; revision=10253
2008-01-22 22:43:38 +00:00
Andres Löh
84e7b463f5 * converted happy and haddock to use generic Cabal builder
svn path=/nixpkgs/trunk/; revision=10252
2008-01-22 21:10:19 +00:00
Andres Löh
432c157293 * added happy-1.17
svn path=/nixpkgs/trunk/; revision=10208
2008-01-17 18:21:50 +00:00
Michael Raskin
4290be9a99 Various fixes to lessen reliance on nix.cs.uu.nl for tarballs; version bumps for unavailabel tarballs; ATI driver builds now
svn path=/nixpkgs/trunk/; revision=9952
2007-12-18 22:56:12 +00:00
Andres Löh
d9b8b152d6 * added alex (lexer generator for Haskell)
svn path=/nixpkgs/trunk/; revision=9906
2007-12-11 13:38:48 +00:00
Eelco Dolstra
544cb9cb83 * Rewrite all URLs to GNU mirrors to mirror://gnu/.
svn path=/nixpkgs/trunk/; revision=9201
2007-08-27 13:42:00 +00:00
Eelco Dolstra
607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Andres Löh
4c05f557a8 * added Ralf Hinze's "frown" parser generator for Haskell
svn path=/nixpkgs/trunk/; revision=8657
2007-05-09 13:10:31 +00:00
Eelco Dolstra
ef9b025dbe * Remove a bunch of unused Nix expressions.
svn path=/nixpkgs/trunk/; revision=6716
2006-10-12 15:43:01 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Eelco Dolstra
6006d61835 * Added a bunch of descriptions.
svn path=/nixpkgs/trunk/; revision=6705
2006-10-11 16:45:55 +00:00
Eelco Dolstra
85230c348a * Some Bison/Flex refactoring.
* Added Bison 2.3.

svn path=/nixpkgs/trunk/; revision=6635
2006-10-02 15:14:17 +00:00
Martin Bravenboer
1cb5a30f34 Added ANTLR 2.7.6
svn path=/nixpkgs/trunk/; revision=6082
2006-08-09 15:09:50 +00:00
Martin Bravenboer
a31de1c856 Added ANTLR 3 beta
svn path=/nixpkgs/trunk/; revision=6033
2006-08-03 16:08:25 +00:00
Eelco Dolstra
4fb1ec6a36 * Flex 2.5.33. This one builds on Darwin.
svn path=/nixpkgs/trunk/; revision=6012
2006-08-01 12:29:54 +00:00