Commit Graph

12418 Commits

Author SHA1 Message Date
Bjørn Forsman e0b7eeb0ad uhd: new package
UHD is USRP Hardware Driver (for Software Defined Radio).
2013-11-09 22:15:52 +01:00
Peter Simons 981c287355 ghc: several enhancements to the new "with-packages" wrapper
1) The wrapper erroneously used the ghc-pkg flag "--package-db" instead of
    "--global-package-db". The result was that packages installed locally in
    ~/.ghc and ~/.cabal were invisible to GHC. This has been fixed.

 2) The wrapper now deals gracefully with an empty package set: if no package
    is requested to be included in the wrapped environment, the wrapper just
    installs a pristine GHC.

 3) Correctly configure the "docdir" path returned by ghc-paths.

 4) Added some comments that describe the idea behind our ghc-paths patches and
    gives users same sample shell code that can be used to import our special
    environment variables into the currently running shell, so that programs
    outside of the wrapped environment can use them, too.
2013-11-09 20:36:25 +01:00
Vladimír Čunát 619a1f5614 changes proposed for 13-10 update
One feature change: polkit update 8d14c7ba
2013-11-09 18:41:42 +01:00
Jonas Hoersch 2923631287 libunibreak: meta.platforms attribute 2013-11-09 18:16:16 +01:00
Jason "Don" O'Conal 62ebdd7a6a rubyLibs.resque_web: add expression 2013-11-09 17:44:28 +01:00
Vladimír Čunát 8d14c7baa6 polkit: major update 0.105 -> 0.112
- It now uses JavaScript for configuration (only),
  so I had to "convert" config for NetworkManager.
- I tested suspend/restart/(un)mount on KDE/Xfce,
  Phreedom tested NetworkManager config conversion.
2013-11-09 16:29:18 +01:00
Vladimír Čunát 35a3d07c4f Merge #1082: Update QtCreator to 2.8.1, add Qt 5.1.1 and QtSDK 2013-11-09 16:26:59 +01:00
Vladimír Čunát 61528849e3 mesa: bugfix update 9.1.6 -> .7
Thist is just for master before the official release,
x-updates has 9.2.* already.
2013-11-09 16:26:54 +01:00
Vladimír Čunát 2a9bdac39a gtk2: minor update .20 -> .22 2013-11-09 16:26:53 +01:00
Moritz Ulrich 698065715a Leiningen: Update to 2.3.3
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-11-08 21:30:34 +01:00
Lluís Batlle i Rossell 3e8e635be7 Updating gdb to 7.6.1 2013-11-08 17:27:57 +01:00
Peter Simons 29588edfe1 python-wrapper: split 'extraLibs' into 'stdLibs' and 'extraLibs', and add 'postBuild' step
The default setting for extraLibs used to be the set of modules that come with
python by default but aren't usually enabled in our standard python derivation
because they require additional libraries. This meant that users who want to
*add* libraries to that set had to use a fairly complicated override, to add
more entries without loosing the ones set by default.

After this patch, the "standard libraries" such as "curses' are listed in
stdLibs while the extraLibs argument remains empty by default. This allows
users to override extraLibs without overriding the standard libraries.

Furthermore, the wrapper environment can be messed around with in an
additional 'postBuild' step. One nice application of this build step is
to patch scripts and binaries to use the wrapped python interpreter
instead of the pristine one, thereby enabling them to pick up all
modules that have been configured. The following example shows how this
is done for the 'pylint' utility:

  pkgs.python27Full.override {
    extraLibs = [pkgs.pylint];
    postBuild = ''
      cd ${pkgs.pylint}/bin
      for i in *; do
        rm $out/bin/$i
        sed -r -e "s|^exec |exec $out/bin/python -- |" <$i >$out/bin/$i
        chmod +x $out/bin/$i
      done;
    '';
  };
2013-11-07 15:13:02 +01:00
Peter Simons 46419ae454 python-wrapper: recursively include all dependencies of the specified 'extraLibs' in the generated environment
This patch means that adding 'matplotlib' to extraLibs will automatically
include 'numpy', too, because matplotlib depends on it.
2013-11-07 14:00:08 +01:00
Peter Simons b66a59bf41 haskell-uu-parsinglib: update to version 2.8.1.1 2013-11-07 14:00:08 +01:00
Peter Simons f92a5cbfc6 pkgs/development/compilers/ghc/with-packages.nix: add 'ignoreCollisions' parameter
The ghcWithPackage expression now has an argument 'ignoreCollisions' that
allows users to disable the path collision check like so:

  (pkgs.haskellPackages.ghcWithPackages (pkgs: with pkgs; [ haskellPlatform ])).override { ignoreCollisions = true; };

See d64917ad17
for a long and detailed discussion of why these path collisions may occur.
2013-11-07 12:14:19 +01:00
Peter Simons 89c566fcfd pkgs/development/compilers/ghc/with-packages.nix: improve recognition of Haskell packages
Haskell packages -- i.e. packages built by our Cabal builder -- invariably have
the attributes 'pname' and 'version'. We use the absence of these attributes to
recognize non-Haskell packages and filter them from the closed package set
generated by closePropagation. We do this so that the generated Haskell
environment won't contain paths like "/lib/libz.a", which are part of the
closure but have nothing to do with Haskell.

The previous scheme used the attribute 'ghc' to accomplish the same thing, but
unfortunately other packages to contain a 'ghc' attribute, too, like the
old-style ghc-wrapper. Including the ghc-wrapper in this environment is
pointless, obviously. The new approach filters the ghc-wrapper successfully.
2013-11-07 12:14:19 +01:00
Peter Simons 9c1982cd68 Merge pull request #1179 from cpages/sdl2
SDL2: some improvements to the expression.
2013-11-07 02:16:00 -08:00
Vladimír Čunát 0eeee298ef perl: avoid --no-cpp-precomp on darwin, (close #1160)
Taken from https://trac.macports.org/ticket/38913
vcunat renamed the patch

Conflicts (trivial):
	pkgs/development/interpreters/perl/5.16/default.nix
2013-11-07 10:39:28 +01:00
Carles Pagès b81caba5fb SDL2: some improvements to the expression.
Based on comments in the pull request from @edolstra and @peti. I also added
missing metadata, setting myself as maintainer.
2013-11-06 23:17:46 +01:00
Eelco Dolstra 58af4fb11e Update some more platforms 2013-11-06 10:58:20 +01:00
Eelco Dolstra 77dc219127 gcc: Support FreeBSD 2013-11-06 10:41:02 +01:00
Lluís Batlle i Rossell cfe5f74e88 Updating poppler to 0.24.3. 2013-11-06 10:09:08 +01:00
Michael Raskin 66c034d03e Merge pull request #1171 from cpages/sdl2
Update SDL2 to v2.0.1
2013-11-05 20:32:07 -08:00
Shea Levy 9817bada91 Update nodePackages to npm2nix-5.2.0
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-11-05 18:02:21 -05:00
Lluís Batlle i Rossell 1045df3197 Updating mkvtoolnix, libebml, libmatroska to latest versions. 2013-11-05 23:20:27 +01:00
Rickard Nilsson 2d44f3e8af sbt: Update to 0.13.0
Also remove all old sbt versions, and rename package to
sbt instead of simple-build-tool. sbt seems to be
the correct name for this package.
2013-11-05 14:51:14 +01:00
Rickard Nilsson b5554b3f5c libvirt: Update to 1.1.4
Remove the patch that has been added upstream.
2013-11-05 14:15:42 +01:00
Eelco Dolstra da426c7df5 Fix some meta.platforms attributes to build more stuff on Darwin 2013-11-05 10:46:59 +01:00
Eelco Dolstra d9c13a73c2 gurobi: Remove
It's proprietary, non-redistributable software.
2013-11-05 00:07:24 +01:00
Eelco Dolstra c88055e1a2 Set meta.hydraPlatforms instead of meta.platforms for some packages 2013-11-05 00:06:10 +01:00
Eelco Dolstra a0e21fd1ca Mark more packages as broken 2013-11-04 21:11:00 +01:00
Eelco Dolstra 01087750ba Don't build some packages on some platforms 2013-11-04 21:11:00 +01:00
Carles Pagès b551f8bced SDL2: clean configure flags.
I removed some flags that are no longer present, one that was redundant
(default value) and added a comment regarding why enable-static is there.
2013-11-04 19:49:57 +01:00
Peter Simons 0e831bd525 Resurrect the old ghcWithPackages wrapper under the attribute name 'ghcWithPackagesOld'. 2013-11-04 19:42:49 +01:00
Carles Pagès 1138f0a96b SDL2: update to v2.0.1 2013-11-04 19:37:53 +01:00
Eric Kow d1e8f9c047 haskell-wxc: noHaddock 2013-11-02 18:09:08 +00:00
Peter Simons 8352df8d66 haskell-yesod-platform: update to version 1.2.4.4 2013-11-01 14:20:11 +01:00
Peter Simons 5fd1c46beb haskell-trifecta: update to version 1.2.1.1 2013-11-01 14:20:11 +01:00
Peter Simons 2de6d71694 haskell-trifecta: update to version 1.1 2013-11-01 14:20:11 +01:00
Peter Simons dda0d13d22 haskell-text-icu: update to version 0.6.3.7 2013-11-01 14:20:11 +01:00
Peter Simons a4cfdfad5d haskell-terminfo: update to version 0.3.2.6 2013-11-01 14:20:11 +01:00
Peter Simons 6e180df18c haskell-intervals: update to version 0.4 2013-11-01 14:20:11 +01:00
Peter Simons 15851f0661 haskell-free: update to version 4.2 2013-11-01 14:20:11 +01:00
Peter Simons 03e7ab54a0 haskell-fclabels: update to version 2.0.0.5 2013-11-01 14:20:11 +01:00
Peter Simons 40a31df497 haskell-Elm: update to version 0.10.0.2 2013-11-01 14:20:11 +01:00
Mathijs Kwik b6519f08da haskell-parsers: bring back 0.9 for idris 2013-11-01 08:02:19 +01:00
Mathijs Kwik 3c2b7f5e33 haskell-trifecta: bring back 1.1 for idris 2013-11-01 08:02:19 +01:00
Mathijs Kwik 07d68731ff haskell-trifecta: jailbreak on comonad 2013-11-01 08:02:13 +01:00
Domen Kožar ebcdbbbdd2 Merge pull request #1132 from lovek323/php54-pcntl
php54: add pcntl option
2013-10-31 07:29:38 -07:00
Peter Simons 86443f4efd haskell-cabal2nix: update to version 1.55 2013-10-31 09:02:25 +01:00