Commit graph

144 commits

Author SHA1 Message Date
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
Armijn Hemel 893557450c add bison 2.3
svn path=/nixpkgs/trunk/; revision=5547
2006-06-30 23:30:45 +00:00
Eelco Dolstra 7682bf3d1e * Make it easier to override parts of stdenv (like gcc or make) per
package using the `overrideGCC' and `overrideInStdenv' functions.

svn path=/nixpkgs/trunk/; revision=5505
2006-06-23 20:11:36 +00:00
Eelco Dolstra 169315dc1d * Revive GNU make 3.80 for programs that need it.
svn path=/nixpkgs/trunk/; revision=5488
2006-06-22 09:38:32 +00:00
Martin Bravenboer a63588689d Added jikespg, an oldskool parser generator
svn path=/nixpkgs/trunk/; revision=5038
2006-03-14 18:20:21 +00:00
Merijn de Jonge b81dde0661 added sglr-3.14
svn path=/nixpkgs/trunk/; revision=4685
2006-02-03 09:23:18 +00:00
Eelco Dolstra 3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Martin Bravenboer 9bdcac2fe9 Upgrade of sdf to 2.3.3
svn path=/nixpkgs/trunk/; revision=4209
2005-11-03 18:15:14 +00:00
Armijn Hemel 3f5a0c251a add bison 2.1
svn path=/nixpkgs/trunk/; revision=4150
2005-10-26 21:30:49 +00:00
Martin Bravenboer a0da6723f3 Update of sdf2-bundle to 2.3.2
svn path=/nixpkgs/trunk/; revision=3714
2005-08-26 21:42:17 +00:00
Eelco Dolstra 454707da23 * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=3660
2005-08-22 08:39:27 +00:00
Martin Bravenboer 0f8f7c03ff sdf2-bundle now needs pkg-config
svn path=/nixpkgs/trunk/; revision=3629
2005-08-17 18:39:04 +00:00
Martin Bravenboer 5d98173434 Upgraded sdf2-bundle to 2.3.1
svn path=/nixpkgs/trunk/; revision=3627
2005-08-17 18:27:05 +00:00
Eelco Dolstra 785fb78cf2 * Fork iputils.
svn path=/nixpkgs/trunk/; revision=3267
2005-06-30 16:05:14 +00:00
Eelco Dolstra cf09d1933d * Revert.
svn path=/nixpkgs/trunk/; revision=3266
2005-06-30 16:03:44 +00:00
Armijn Hemel beaf54c8f9 oops, never ever *ever* forget essential false. I will LART myself now...
svn path=/nixpkgs/trunk/; revision=3265
2005-06-30 16:02:23 +00:00
Armijn Hemel 2bc1da9c9c link $out/bin/lex to $out/bin/flex and $out/lib/libl.a to $out/lib/libfl.a.
This is needed to make iputils build.

svn path=/nixpkgs/trunk/; revision=3264
2005-06-30 15:16:53 +00:00
Martin Bravenboer 3aa13ab39a Typo
svn path=/nixpkgs/trunk/; revision=3082
2005-05-19 11:26:23 +00:00
Martin Bravenboer 1c9690ab2f * pkgs/development/tools/parsing/sdf/default.nix: default.nix
now imports Nix expression of specific version.

* pkgs/development/tools/parsing/sdf/sdf2-bundle-2.2.nix: added
previous version of sdf2-bundle.

* pkgs/development/tools/parsing/sdf2: obsolete.

* pkgs/development/compilers/strategoxt/strategoxt-0.12.nix: use
sdf2-bundle instead of attribute set for the individual packages.

* 


svn path=/nixpkgs/trunk/; revision=3081
2005-05-19 11:23:56 +00:00
Martin Bravenboer b99065a3d9 * Upgraded Stratego/XT to Stratego/XT 0.14
* Clean up of SDF attributes in all-package-generic. There is now a
single attribute, called sdf.


svn path=/nixpkgs/trunk/; revision=3062
2005-05-18 16:50:14 +00:00
Eelco Dolstra e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Martin Bravenboer c8c0c50eb2 Update of sdf2-bundle 2.3
svn path=/nixpkgs/trunk/; revision=2003
2005-01-10 17:24:39 +00:00
Martin Bravenboer b672ffc5b7 Upgrade of SDF2 Bundle to version 2.3
svn path=/nixpkgs/trunk/; revision=1937
2004-12-23 21:18:00 +00:00
Martin Bravenboer 60c13a4e71 Upgraded the sdf2-bundle to 2.2 and added it package to populate-cache.
svn path=/nixpkgs/trunk/; revision=1700
2004-11-05 14:38:57 +00:00
Rob Vermaas d76ffdca83 * flex has moved
svn path=/nixpkgs/trunk/; revision=1233
2004-08-05 15:55:32 +00:00
Martin Bravenboer 6315d6d923 New version of ATerm library and SDF packages
svn path=/nixpkgs/trunk/; revision=1127
2004-07-03 10:47:58 +00:00
Eelco Dolstra 49c1176ec6 * Upgraded Bison to the latest alpha release. This fixes a segfault
in Nix.

svn path=/nixpkgs/trunk/; revision=1092
2004-06-28 12:23:07 +00:00
Martin Bravenboer 3d90f961b4 Added Happy parser generator and HaRP: Haskell Regular Patterns
svn path=/nixpkgs/trunk/; revision=1043
2004-06-09 14:23:05 +00:00
Martin Bravenboer 6b2348542a Added asf library
svn path=/nixpkgs/trunk/; revision=1022
2004-05-13 18:33:12 +00:00
Martin Bravenboer 1d7474bae9 Moved the sdf2 distribution 2.0 packages to a separate Nix attribute set
svn path=/nixpkgs/trunk/; revision=1021
2004-05-13 18:16:56 +00:00
Martin Bravenboer fec8c962ab Added the packages that constitute the sdf2 distribution 2.1 as separate packages, collected in a Nix attribute set
svn path=/nixpkgs/trunk/; revision=1020
2004-05-13 18:06:09 +00:00
Martin Bravenboer 201a93cb13 Use propagated build inputs
svn path=/nixpkgs/trunk/; revision=1019
2004-05-12 16:26:48 +00:00
Martin Bravenboer 172421635c Upgraded all SDF packages
svn path=/nixpkgs/trunk/; revision=1018
2004-05-12 16:10:43 +00:00
Martin Bravenboer 100e0387e5 More upgrades
svn path=/nixpkgs/trunk/; revision=1017
2004-05-12 15:57:23 +00:00
Martin Bravenboer b410599fc4 More upgrades
svn path=/nixpkgs/trunk/; revision=1016
2004-05-12 15:48:39 +00:00
Martin Bravenboer 9ba11d2be6 Upgrade to generic build
svn path=/nixpkgs/trunk/; revision=1015
2004-05-12 15:35:06 +00:00
Eelco Dolstra e50417845d * Fixed Stratego.
* Added Zoom, an interpreter for Z-Code.

svn path=/nixpkgs/trunk/; revision=894
2004-04-01 16:02:53 +00:00
Eelco Dolstra 8e4d58631e * Fixed flex-new.
svn path=/nixpkgs/trunk/; revision=893
2004-04-01 14:24:30 +00:00
Eelco Dolstra 9c711700e4 * Fix bison.
svn path=/nixpkgs/trunk/; revision=892
2004-04-01 13:48:08 +00:00
Eelco Dolstra 12ae5363ea * Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00
Eelco Dolstra 2fcc5fdb08 * "!isNull x" -> "x != null". Done automatically. Hope nothing
broke.

svn path=/nixpkgs/trunk/; revision=870
2004-03-29 10:25:25 +00:00
Eelco Dolstra d74192ee38 * propagated-build-inputs should now be placed in $out/nix-support.
svn path=/nixpkgs/trunk/; revision=823
2004-03-09 10:59:55 +00:00
Eelco Dolstra 3f6bf521fc * Flex required M4 at runtime.
svn path=/nixpkgs/trunk/; revision=734
2004-01-30 17:23:34 +00:00
Eelco Dolstra 9249f4c892 * Bleeding edge Bison.
svn path=/nixpkgs/trunk/; revision=730
2004-01-30 15:52:17 +00:00
Eelco Dolstra c0bdcfe274 * A much newer version of flex. The old (GNU) one was from 1997.
svn path=/nixpkgs/trunk/; revision=727
2004-01-30 10:10:06 +00:00
Martin Bravenboer 7e813f0999 Added all indivudual packages of the sdf2-bundle
svn path=/nixpkgs/trunk/; revision=708
2004-01-22 19:55:37 +00:00
Martin Bravenboer 4c14c369fe Added sglr
svn path=/nixpkgs/trunk/; revision=707
2004-01-22 19:09:49 +00:00
Martin Bravenboer 362cba8ada Added pt-support 1.0
svn path=/nixpkgs/trunk/; revision=706
2004-01-22 18:57:34 +00:00
Martin Bravenboer 3d0e24c639 Added toolbuslib. This is fun
svn path=/nixpkgs/trunk/; revision=705
2004-01-22 18:46:26 +00:00
Eelco Visser e995558293 Nix expressions for sdf, strategoxt, and tiger.
svn path=/nixpkgs/trunk/; revision=581
2003-12-12 14:46:30 +00:00
Eelco Dolstra 026ff9466a * Rename .fix -> .nix.
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00
Eelco Dolstra 48c3faca51 * Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
2003-11-14 09:59:13 +00:00