From 49009f72ce3edde14d9f02353960f63fc9318210 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 4 Feb 2012 08:38:04 +0000 Subject: haskell-hakyll: updated to version 3.2.5.1 svn path=/nixpkgs/trunk/; revision=32025 --- pkgs/development/libraries/haskell/hakyll/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/hakyll/default.nix b/pkgs/development/libraries/haskell/hakyll/default.nix index 654d50cdc95a..97b2012eefd8 100644 --- a/pkgs/development/libraries/haskell/hakyll/default.nix +++ b/pkgs/development/libraries/haskell/hakyll/default.nix @@ -5,8 +5,8 @@ cabal.mkDerivation (self: { pname = "hakyll"; - version = "3.2.5.0"; - sha256 = "1y1dqfbas7ym1jghq3i7zhqcny01paqfrszj0aakg6ys2jjx0m29"; + version = "3.2.5.1"; + sha256 = "1vb3jqasf6j10fk8afwrbd85dc4k9dx6zls5c6wn0wnh87r5987x"; buildDepends = [ binary blazeHtml citeprocHs cryptohash hamlet mtl pandoc parsec regexBase regexPcre snapCore snapServer tagsoup time -- cgit 1.4.1 From ce1ce28f96dfe912b7a82ff521fbcb0e584feeca Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 4 Feb 2012 08:38:09 +0000 Subject: haskell-yap: updated to version 0.2 svn path=/nixpkgs/trunk/; revision=32026 --- pkgs/development/libraries/haskell/yap/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/yap/default.nix b/pkgs/development/libraries/haskell/yap/default.nix index 27938a2fad09..62dc82b10685 100644 --- a/pkgs/development/libraries/haskell/yap/default.nix +++ b/pkgs/development/libraries/haskell/yap/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "yap"; - version = "0.1"; - sha256 = "14x1z5pmb499qq5sy0iksxv0mli8556s1jh9jm7rdg671h1cy1hl"; + version = "0.2"; + sha256 = "14lq549jhgnf51pgy1jv31ik8qx71yl7d53w8dpq1f9mlsn1g16i"; meta = { description = "yet another prelude - a simplistic refactoring with algebraic classes"; license = self.stdenv.lib.licenses.bsd3; -- cgit 1.4.1 From 3f1054b1ec156b85bb676b74cd5eda86d72436e2 Mon Sep 17 00:00:00 2001 From: Arie Middelkoop Date: Sun, 5 Feb 2012 00:51:35 +0000 Subject: Added 'bumblebee', a package that facilitates NVidia Optimus graphics with X11. Note: it relies heavily on 'virtualgl'. This also makes the approach taken by bumblebee not very effective. So, this package is actually mainly useful for shutting down your card so that it does not consume power/produce heat. See the comments in bumblebee/default.nix svn path=/nixpkgs/trunk/; revision=32036 --- pkgs/development/libraries/libbsd/default.nix | 24 ++++ .../libraries/libjpeg-turbo/default.nix | 6 +- pkgs/tools/X11/bumblebee/config.patch | 30 +++++ pkgs/tools/X11/bumblebee/default.nix | 136 +++++++++++++++++++++ pkgs/tools/X11/bumblebee/xopts.patch | 11 ++ pkgs/tools/X11/bumblebee/xorg.conf.nvidia | 49 ++++++++ pkgs/tools/X11/virtualgl/default.nix | 15 ++- pkgs/tools/X11/virtualgl/fixturbopath.patch | 16 +++ pkgs/top-level/all-packages.nix | 4 + 9 files changed, 282 insertions(+), 9 deletions(-) create mode 100644 pkgs/development/libraries/libbsd/default.nix create mode 100644 pkgs/tools/X11/bumblebee/config.patch create mode 100644 pkgs/tools/X11/bumblebee/default.nix create mode 100644 pkgs/tools/X11/bumblebee/xopts.patch create mode 100644 pkgs/tools/X11/bumblebee/xorg.conf.nvidia create mode 100644 pkgs/tools/X11/virtualgl/fixturbopath.patch (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/libbsd/default.nix b/pkgs/development/libraries/libbsd/default.nix new file mode 100644 index 000000000000..3c28b95c0667 --- /dev/null +++ b/pkgs/development/libraries/libbsd/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl }: + +let name = "libbsd-0.3.0"; +in stdenv.mkDerivation { + inherit name; + + src = fetchurl { + url = "http://libbsd.freedesktop.org/releases/${name}.tar.gz"; + sha256 = "fbf36ed40443e1d0d795adbae8d461952509e610c3ccf0866ae160b723f7fe38"; + }; + + patchPhase = '' + substituteInPlace Makefile \ + --replace "/usr" "$out" \ + --replace "{exec_prefix}" "{prefix}" + ''; + + meta = { + description = "Common functions found on BSD systems"; + homepage = http://libbsd.freedesktop.org/; + license = "BSD3"; + }; +} + diff --git a/pkgs/development/libraries/libjpeg-turbo/default.nix b/pkgs/development/libraries/libjpeg-turbo/default.nix index 63a8c53afb78..f7135e4018d8 100644 --- a/pkgs/development/libraries/libjpeg-turbo/default.nix +++ b/pkgs/development/libraries/libjpeg-turbo/default.nix @@ -1,11 +1,11 @@ { stdenv, fetchurl, nasm }: stdenv.mkDerivation { - name = "libjpeg-turbo-1.0.1"; + name = "libjpeg-turbo-1.1.1"; src = fetchurl { - url = mirror://sourceforge/libjpeg-turbo/libjpeg-turbo-1.0.1.tar.gz; - sha256 = "094jvqzibqbzmhh7mz3xi76lzlilxzb4j1x8rpdcdkzyig9dizqf"; + url = mirror://sourceforge/libjpeg-turbo/libjpeg-turbo-1.1.1.tar.gz; + sha256 = "553b1f5a968fb9efc089623ed99be2aa6bc21586be92eb04848489c91a63f1e2"; }; buildInputs = [ nasm ]; diff --git a/pkgs/tools/X11/bumblebee/config.patch b/pkgs/tools/X11/bumblebee/config.patch new file mode 100644 index 000000000000..61b671f80c1c --- /dev/null +++ b/pkgs/tools/X11/bumblebee/config.patch @@ -0,0 +1,30 @@ +--- bumblebee-3.0/src/driver.c.orig 2012-02-03 14:51:10.282464426 +0100 ++++ bumblebee-3.0/src/driver.c 2012-02-04 22:26:02.715498536 +0100 +@@ -23,6 +23,7 @@ + #include "module.h" + #include "bblogger.h" + #include "driver.h" ++#include + + /** + * Check what drivers are available and autodetect if possible. Driver, module +@@ -30,6 +31,7 @@ + */ + void driver_detect(void) { + /* determine driver to be used */ ++ set_string_value(&bb_config.driver, getenv("BUMBLEBEE_DRIVER")); + if (*bb_config.driver) { + bb_log(LOG_DEBUG, "Skipping auto-detection, using configured driver" + " '%s'\n", bb_config.driver); +@@ -65,8 +67,8 @@ + } + } + +- if (strcmp(bb_config.driver, "nvidia")) { +- set_string_value(&bb_config.ld_path, CONF_LDPATH_NVIDIA); +- set_string_value(&bb_config.mod_path, CONF_MODPATH_NVIDIA); ++ if (!strcmp(bb_config.driver, "nvidia")) { ++ set_string_value(&bb_config.ld_path, getenv("BUMBLEBEE_LDPATH_NVIDIA")); ++ set_string_value(&bb_config.mod_path, getenv("BUMBLEBEE_MODPATH_NVIDIA")); + } + } diff --git a/pkgs/tools/X11/bumblebee/default.nix b/pkgs/tools/X11/bumblebee/default.nix new file mode 100644 index 000000000000..2e0c700641f7 --- /dev/null +++ b/pkgs/tools/X11/bumblebee/default.nix @@ -0,0 +1,136 @@ +# The bumblebee package allows a program to be rendered on an +# dedicated video card by spawning an additional X11 server +# and streaming the results via VirtualGL to the primary server. + +# The package is rather chaotic; it's also quite recent. +# As it may change a lot, some of the hacks in this nix expression +# will hopefully not be needed in the future anymore. + +# To test: make sure that the 'bbswitch' kernel module is installed, +# then run 'bumblebeed' as root and 'optirun glxgears' as user. +# To use at startup, add e.g. to configuration.nix: +# jobs = { +# bumblebeed = { +# name = "bumblebeed"; +# description = "Manages the Optimus video card"; +# startOn = "started udev and started syslogd"; +# stopOn = "starting shutdown"; +# exec = "bumblebeed --use-syslog"; +# path = [ pkgs.bumblebee ]; +# environment = { MODULE_DIR = "${config.system.modulesTree}/lib/modules"; }; +# respawn = true; +# }; +# }; + +# This nix expression supports for now only the native nvidia driver. +# It should not be hard to generalize this approach to support the +# nouveau driver as well (parameterize commonEnv over the module +# package, and parameterize the two wrappers as well) + +{ stdenv, fetchurl, pkgconfig, help2man +, libX11, glibc, gtkLibs, libbsd +, makeWrapper, buildEnv, module_init_tools +, linuxPackages, virtualgl, xorg, xkeyboard_config +}: + +let + version = "3.0"; + name = "bumblebee-${version}"; + + # isolated X11 environment with the nvidia module + # it should include all components needed for bumblebeed and + # optirun to spawn the second X server and to connect to it. + commonEnv = buildEnv { + name = "bumblebee-env"; + paths = [ + module_init_tools + + linuxPackages.nvidia_x11 + xorg.xorgserver + xorg.xrandr + xorg.xrdb + xorg.setxkbmap + xorg.libX11 + xorg.libXext + + virtualgl + ]; + + # the nvidia GLX module overwrites the one of xorgserver, + # thus nvidia_x11 must be before xorgserver in the paths. + ignoreCollisions = true; + }; + + # Custom X11 configuration for the additional xserver instance. + xorgConf = ./xorg.conf.nvidia; + +in stdenv.mkDerivation { + inherit name; + + src = fetchurl { + url = "http://github.com/downloads/Bumblebee-Project/Bumblebee/${name}.tar.gz"; + sha256 = "a27ddb77b282ac8b972857fdb0dc5061cf0a0982b7ac3e1cfa698b4f786e49a1"; + }; + + # 'config.patch' makes bumblebee read the active module and the nvidia configuration + # from the environment variables instead of the config file: + # BUMBLEBEE_DRIVER, BUMBLEBEE_LDPATH_NVIDIA, BUMBLEBEE_MODPATH_NVIDIA + # These variables must be set when bumblebeed and optirun are executed. + patches = [ ./config.patch ./xopts.patch ]; + + preConfigure = '' + # Substitute the path to the actual modinfo program in module.c. + # Note: module.c also calls rmmod and modprobe, but those just have to + # be in PATH, and thus no action for them is required. + substituteInPlace src/module.c \ + --replace "/sbin/modinfo" "${module_init_tools}/sbin/modinfo" + + # Don't use a special group, just reuse wheel. + substituteInPlace configure \ + --replace 'CONF_GID="bumblebee"' 'CONF_GID="wheel"' + + # Ensures that the config file ends up with a nonempty + # name of the nvidia module. This is needed, because the + # configuration handling code otherwise resets the + # data that we obtained from the environment (see config.patch) + export CONF_DRIVER_MODULE_NVIDIA=nvidia + ''; + + # Build-time dependencies of bumblebeed and optirun. + # Note that it has several runtime dependencies. + buildInputs = [ stdenv makeWrapper pkgconfig help2man libX11 gtkLibs.glib libbsd ]; + + # create a wrapper environment for bumblebeed and optirun + postInstall = '' + # remove some entries from the configuration file that would otherwise + # cause our environment variables to be ignored. + substituteInPlace "$out/etc/bumblebee/bumblebee.conf" \ + --replace "LibraryPath=" "" \ + --replace "XorgModulePath=" "" + + wrapProgram "$out/sbin/bumblebeed" \ + --prefix PATH : "${commonEnv}/sbin:${commonEnv}/bin:\$PATH" \ + --prefix LD_LIBRARY_PATH : "${commonEnv}/lib:\$LD_LIBRARY_PATH" \ + --set BUMBLEBEE_DRIVER "nvidia" \ + --set BUMBLEBEE_LDPATH_NVIDIA "${commonEnv}/lib" \ + --set BUMBLEBEE_MODPATH_NVIDIA "${commonEnv}/lib/xorg/modules" \ + --set FONTCONFIG_FILE "/etc/fonts/fonts.conf" \ + --set XKB_BINDIR "${xorg.xkbcomp}/bin" \ + --set XKB_DIR "${xkeyboard_config}/etc/X11/xkb" + + wrapProgram "$out/bin/optirun" \ + --prefix PATH : "${commonEnv}/sbin:${commonEnv}/bin" \ + --prefix LD_LIBRARY_PATH : "${commonEnv}/lib" \ + --set BUMBLEBEE_DRIVER "nvidia" \ + --set BUMBLEBEE_LDPATH_NVIDIA "${commonEnv}/lib" \ + --set BUMBLEBEE_MODPATH_NVIDIA "${commonEnv}/lib/xorg/modules" + + cp ${xorgConf} "$out/etc/bumblebee/xorg.conf.nvidia" + ''; + + meta = { + homepage = http://github.com/Bumblebee-Project/Bumblebee; + description = "Daemon for managing Optimus videocards (power-on/off, spawns xservers)"; + license = "free"; + }; +} diff --git a/pkgs/tools/X11/bumblebee/xopts.patch b/pkgs/tools/X11/bumblebee/xopts.patch new file mode 100644 index 000000000000..9e44a8e9fd1a --- /dev/null +++ b/pkgs/tools/X11/bumblebee/xopts.patch @@ -0,0 +1,11 @@ +--- bumblebee-3.0/src/bbsecondary.c.orig 2012-02-05 00:03:06.003439638 +0100 ++++ bumblebee-3.0/src/bbsecondary.c 2012-02-05 00:46:38.017382619 +0100 +@@ -149,6 +149,8 @@ + "-sharevts", + "-nolisten", "tcp", + "-noreset", ++ "-xkbdir", getenv("XKB_DIR"), ++ "-logfile", "/dev/null", + "-verbose", "3", + "-isolateDevice", pci_id, + "-modulepath", diff --git a/pkgs/tools/X11/bumblebee/xorg.conf.nvidia b/pkgs/tools/X11/bumblebee/xorg.conf.nvidia new file mode 100644 index 000000000000..31c417d6971e --- /dev/null +++ b/pkgs/tools/X11/bumblebee/xorg.conf.nvidia @@ -0,0 +1,49 @@ +Section "DRI" + Mode 0666 +EndSection + +Section "ServerLayout" + Identifier "Layout0" + Screen "Screen1" + Option "AutoAddDevices" "false" +EndSection + +Section "Module" + Load "dbe" + Load "extmod" + Load "glx" + Load "record" + Load "freetype" + Load "type1" +EndSection + +Section "Files" +EndSection + +Section "Device" + Identifier "Device1" + Driver "nvidia" + VendorName "NVIDIA Corporation" + Option "NoLogo" "true" + Option "UseEDID" "false" + Option "ConnectedMonitor" "CRT-0" +EndSection + +Section "Screen" + Identifier "Screen1" + Device "Device1" + Monitor "Monitor0" + DefaultDepth 24 + SubSection "Display" + Depth 24 + EndSubSection +EndSection + +Section "Extensions" + Option "Composite" "Enable" +EndSection + +Section "Monitor" + Identifier "Monitor0" + Option "DPMS" +EndSection diff --git a/pkgs/tools/X11/virtualgl/default.nix b/pkgs/tools/X11/virtualgl/default.nix index 433c22d128d6..57df08c1e2be 100644 --- a/pkgs/tools/X11/virtualgl/default.nix +++ b/pkgs/tools/X11/virtualgl/default.nix @@ -1,4 +1,5 @@ -{stdenv, fetchurl, mesa, libX11, openssl, libXext, libjpeg_turbo}: +{ stdenv, fetchurl, mesa, libX11, openssl, libXext +, libjpeg_turbo, cmake }: let libDir = if stdenv.is64bit then "lib64" else "lib"; @@ -6,21 +7,23 @@ in stdenv.mkDerivation { name = "virtualgl-2.1.4"; src = fetchurl { - url = mirror://sourceforge/virtualgl/VirtualGL-2.1.4.tar.gz; - sha256 = "d455e599620473a07711196615e59c73d08a7f392a9fcf60a6bc05d82809d89d"; + url = mirror://sourceforge/virtualgl/VirtualGL-2.3.tar.gz; + sha256 = "2f00c4eb20b0ae88e957a23fb66882e4ade2faa208abd30aa8c4f61570ecd4b9"; }; - patches = [ ./xshm.patch ]; + patches = [ ./xshm.patch ./fixturbopath.patch ]; prePatch = '' sed -i s,LD_PRELOAD=lib,LD_PRELOAD=$out/${libDir}/lib, rr/vglrun ''; - preInstall ='' + cmakeFlags = [ "-DTJPEG_LIBRARY=${libjpeg_turbo}/lib/libturbojpeg.so" ]; + + preInstall = '' export makeFlags="prefix=$out" ''; - buildInputs = [ mesa libX11 openssl libXext libjpeg_turbo ]; + buildInputs = [ cmake mesa libX11 openssl libXext libjpeg_turbo ]; meta = { homepage = http://www.virtualgl.org/; diff --git a/pkgs/tools/X11/virtualgl/fixturbopath.patch b/pkgs/tools/X11/virtualgl/fixturbopath.patch new file mode 100644 index 000000000000..2177555e33ae --- /dev/null +++ b/pkgs/tools/X11/virtualgl/fixturbopath.patch @@ -0,0 +1,16 @@ +--- VirtualGL-2.3/cmakescripts/FindTurboJPEG.cmake.orig 2012-02-02 17:33:49.496283001 +0100 ++++ VirtualGL-2.3/cmakescripts/FindTurboJPEG.cmake 2012-02-02 17:44:18.772483239 +0100 +@@ -40,8 +40,11 @@ + endif() + endif() + +-set(TJPEG_LIBRARY ${DEFAULT_TJPEG_LIBRARY} CACHE PATH +- "TurboJPEG library path (default: ${DEFAULT_TJPEG_LIBRARY})") ++if(NOT TJPEG_LIBRARY) ++ message(STATUS "TJPEG_LIBRARY environment variable not set") ++ set(TJPEG_LIBRARY ${DEFAULT_TJPEG_LIBRARY} CACHE PATH ++ "TurboJPEG library path (default: ${DEFAULT_TJPEG_LIBRARY})") ++endif() + + if(WIN32) + set(CMAKE_REQUIRED_DEFINITIONS -MT) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e6df28175948..7207db292776 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -680,6 +680,8 @@ let flvstreamer = callPackage ../tools/networking/flvstreamer { }; + libbsd = callPackage ../development/libraries/libbsd { }; + flvtool2 = callPackage ../tools/video/flvtool2 { }; fontforge = callPackage ../tools/misc/fontforge { }; @@ -7682,6 +7684,8 @@ let virtualgl = callPackage ../tools/X11/virtualgl { }; + bumblebee = callPackage ../tools/X11/bumblebee { }; + vkeybd = callPackage ../applications/audio/vkeybd { inherit (xlibs) libX11; }; -- cgit 1.4.1 From 06a8db81ca2c2848c2833e9a765f2933d452210b Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sun, 5 Feb 2012 09:26:15 +0000 Subject: qhull-2012.1 svn path=/nixpkgs/trunk/; revision=32039 --- pkgs/development/libraries/qhull/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/qhull/default.nix b/pkgs/development/libraries/qhull/default.nix index 002a25988b69..b9d9c19a10d8 100644 --- a/pkgs/development/libraries/qhull/default.nix +++ b/pkgs/development/libraries/qhull/default.nix @@ -1,11 +1,11 @@ {stdenv, fetchurl, cmake}: stdenv.mkDerivation rec { - name = "qhull-2011.1"; + name = "qhull-2012.1"; src = fetchurl { url = "${meta.homepage}/download/${name}-src.tgz"; - sha256 = "1i2lqw0552mvbcc1q7l4b31fpzf2l2qcabc23r4sybhwyljl9bmd"; + sha256 = "19hb10vs7ww45ifn7mpvxykn470gd1g568d84mlld6v4pnz7gamv"; }; buildNativeInputs = [ cmake ]; -- cgit 1.4.1 From df0f103e86fb06529bde8fcc49ddc0dbe77019b8 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:21 +0000 Subject: haskell-http-conduit: downgrade to version 1.2.0 The latest version has requirements version that we cannot fulfill without duplicating a lot of packages. svn path=/nixpkgs/trunk/; revision=32053 --- pkgs/development/libraries/haskell/http-conduit/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/http-conduit/default.nix b/pkgs/development/libraries/haskell/http-conduit/default.nix index 6fd387fc23b9..0a4dd110fee2 100644 --- a/pkgs/development/libraries/haskell/http-conduit/default.nix +++ b/pkgs/development/libraries/haskell/http-conduit/default.nix @@ -1,19 +1,19 @@ { cabal, asn1Data, attoparsec, attoparsecConduit, base64Bytestring , blazeBuilder, blazeBuilderConduit, caseInsensitive, certificate , conduit, cprngAes, dataDefault, failure, httpTypes, liftedBase -, monadControl, network, socks, text, time, tls, tlsExtra -, transformers, transformersBase, utf8String, zlibConduit +, monadControl, network, text, time, tls, tlsExtra, transformers +, transformersBase, utf8String, zlibConduit }: cabal.mkDerivation (self: { pname = "http-conduit"; - version = "1.2.3"; - sha256 = "0kygmbcvv0j020ml9jgmg3yzda3k066s2h8g3c135cmad6jc8hnd"; + version = "1.2.0"; + sha256 = "1s3qrvglhymwvr0cp32mi95dijic40lphhsfr4hm63qjphfc8dpi"; buildDepends = [ asn1Data attoparsec attoparsecConduit base64Bytestring blazeBuilder blazeBuilderConduit caseInsensitive certificate conduit cprngAes - dataDefault failure httpTypes liftedBase monadControl network socks - text time tls tlsExtra transformers transformersBase utf8String + dataDefault failure httpTypes liftedBase monadControl network text + time tls tlsExtra transformers transformersBase utf8String zlibConduit ]; meta = { -- cgit 1.4.1 From 269b4776ced7c5e062026e39cb506ee3c416c4d1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:24 +0000 Subject: haskell: added OpenGL 5.0.0 and GLUT 2.3.0.0 svn path=/nixpkgs/trunk/; revision=32054 --- pkgs/development/libraries/haskell/GLUT/2.3.0.0.nix | 21 +++++++++++++++++++++ .../libraries/haskell/OpenGL/2.5.0.0.nix | 21 +++++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 12 ++++++++---- 3 files changed, 50 insertions(+), 4 deletions(-) create mode 100644 pkgs/development/libraries/haskell/GLUT/2.3.0.0.nix create mode 100644 pkgs/development/libraries/haskell/OpenGL/2.5.0.0.nix (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/GLUT/2.3.0.0.nix b/pkgs/development/libraries/haskell/GLUT/2.3.0.0.nix new file mode 100644 index 000000000000..109ea000b439 --- /dev/null +++ b/pkgs/development/libraries/haskell/GLUT/2.3.0.0.nix @@ -0,0 +1,21 @@ +{ cabal, freeglut, libICE, libSM, libXi, libXmu, mesa, OpenGL +, OpenGLRaw, StateVar, Tensor +}: + +cabal.mkDerivation (self: { + pname = "GLUT"; + version = "2.3.0.0"; + sha256 = "10rh57w3lx8fs0xy24lqilv5a5sgq57kshydja41r6fq9wdvwp99"; + buildDepends = [ OpenGL OpenGLRaw StateVar Tensor ]; + extraLibraries = [ freeglut libICE libSM libXi libXmu mesa ]; + meta = { + homepage = "http://www.haskell.org/haskellwiki/Opengl"; + description = "A binding for the OpenGL Utility Toolkit"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/OpenGL/2.5.0.0.nix b/pkgs/development/libraries/haskell/OpenGL/2.5.0.0.nix new file mode 100644 index 000000000000..8e616e4e0694 --- /dev/null +++ b/pkgs/development/libraries/haskell/OpenGL/2.5.0.0.nix @@ -0,0 +1,21 @@ +{ cabal, GLURaw, libX11, mesa, ObjectName, OpenGLRaw, StateVar +, Tensor +}: + +cabal.mkDerivation (self: { + pname = "OpenGL"; + version = "2.5.0.0"; + sha256 = "1kpakn5i4aka67mqcpfq9jpl38h409x63zd14y35abpm6h3x8m3j"; + buildDepends = [ GLURaw ObjectName OpenGLRaw StateVar Tensor ]; + extraLibraries = [ libX11 mesa ]; + meta = { + homepage = "http://www.haskell.org/haskellwiki/Opengl"; + description = "A binding for the OpenGL graphics system"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 56f1313f8cb3..3979a8c5ee7b 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -137,12 +137,12 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); inherit (self) cabal ghc; cgi = self.cgi_3001_1_7_4; # 7.4.1 ok fgl = self.fgl_5_4_2_4; # 7.4.1 ok - GLUT = self.GLUT_2_1_2_1; # 7.4.1 fails + GLUT = self.GLUT_2_3_0_0; # 7.4.1 ok haskellSrc = self.haskellSrc_1_0_1_5; # 7.4.1 fails html = self.html_1_0_1_2; # 7.4.1 ok HUnit = self.HUnit_1_2_2_3; # 7.4.1 ok network = self.network_2_3_0_10; # 7.4.1 ok - OpenGL = self.OpenGL_2_2_3_0; # 7.4.1 fails + OpenGL = self.OpenGL_2_5_0_0; # 7.4.1 ok parallel = self.parallel_3_2_0_2; # 7.4.1 ok parsec = self.parsec_3_1_2; # 7.4.1 ok QuickCheck = self.QuickCheck_2_4_2; # 7.4.1 ok @@ -738,8 +738,11 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); GLUT_2_2_2_1 = callPackage ../development/libraries/haskell/GLUT/2.2.2.1.nix { OpenGL = self.OpenGL_2_4_0_2; }; + GLUT_2_3_0_0 = callPackage ../development/libraries/haskell/GLUT/2.3.0.0.nix { + OpenGL = self.OpenGL_2_5_0_0; + }; GLUT22 = self.GLUT_2_2_2_1; - GLUT = self.GLUT_2_1_1_2; + GLUT = self.GLUT_2_3_0_0; gtk = callPackage ../development/libraries/haskell/gtk { inherit (pkgs.gtkLibs) gtk; @@ -1048,8 +1051,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); OpenGL_2_2_1_1 = callPackage ../development/libraries/haskell/OpenGL/2.2.1.1.nix {}; OpenGL_2_2_3_0 = callPackage ../development/libraries/haskell/OpenGL/2.2.3.0.nix {}; OpenGL_2_4_0_2 = callPackage ../development/libraries/haskell/OpenGL/2.4.0.2.nix {}; + OpenGL_2_5_0_0 = callPackage ../development/libraries/haskell/OpenGL/2.5.0.0.nix {}; OpenGL24 = self.OpenGL_2_4_0_2; - OpenGL = self.OpenGL_2_2_1_1; + OpenGL = self.OpenGL_2_5_0_0; OpenGLRaw = callPackage ../development/libraries/haskell/OpenGLRaw {}; -- cgit 1.4.1 From c682f95d63ebbafe37877964edbc690ea56a716c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:30 +0000 Subject: haskell-temporary: added version 1.1.2.3 svn path=/nixpkgs/trunk/; revision=32056 --- pkgs/development/libraries/haskell/temporary/default.nix | 13 +++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 pkgs/development/libraries/haskell/temporary/default.nix (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/temporary/default.nix b/pkgs/development/libraries/haskell/temporary/default.nix new file mode 100644 index 000000000000..7266584cea57 --- /dev/null +++ b/pkgs/development/libraries/haskell/temporary/default.nix @@ -0,0 +1,13 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "temporary"; + version = "1.1.2.3"; + sha256 = "1x4jljggbcdq90h578yyvc8z1i9zmlhvqfz2dym8kj8pq4qiwixd"; + meta = { + homepage = "http://www.github.com/batterseapower/temporary"; + description = "Portable temporary file and directory support for Windows and Unix, based on code from Cabal"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 895cd8bb3744..294fa00d17d1 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1319,6 +1319,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); tagsoup_0_10_1 = callPackage ../development/libraries/haskell/tagsoup/0.10.1nix {}; + temporary = callPackage ../development/libraries/haskell/temporary {}; + Tensor = callPackage ../development/libraries/haskell/Tensor {}; terminfo = callPackage ../development/libraries/haskell/terminfo {}; -- cgit 1.4.1 From 6494e9a2c4190f17e1dbe2e0b58b9ef870cedeed Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:32 +0000 Subject: haskell-GLURaw: updated to version 1.2.0.0 svn path=/nixpkgs/trunk/; revision=32057 --- pkgs/development/libraries/haskell/GLURaw/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/GLURaw/default.nix b/pkgs/development/libraries/haskell/GLURaw/default.nix index 034808566692..1397bea4f2be 100644 --- a/pkgs/development/libraries/haskell/GLURaw/default.nix +++ b/pkgs/development/libraries/haskell/GLURaw/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "GLURaw"; - version = "1.1.0.1"; - sha256 = "0n2yazdk98ia9j65n4ac7k0lnyp9cmz51d344x0jsi0xyfckm0mq"; + version = "1.2.0.0"; + sha256 = "06dsazj3zadjahwy926gnjngqg8cb1mhdxh8bg5f3axf3hsvxqp1"; buildDepends = [ OpenGLRaw ]; extraLibraries = [ freeglut mesa ]; meta = { -- cgit 1.4.1 From eb535088298b396f03611430f69ece210c622ceb Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:35 +0000 Subject: haskell-Graphalyze: updated to version 0.12.0.0 svn path=/nixpkgs/trunk/; revision=32058 --- pkgs/development/libraries/haskell/Graphalyze/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/Graphalyze/default.nix b/pkgs/development/libraries/haskell/Graphalyze/default.nix index 8084ada2cd68..cdd071b2b675 100644 --- a/pkgs/development/libraries/haskell/Graphalyze/default.nix +++ b/pkgs/development/libraries/haskell/Graphalyze/default.nix @@ -9,6 +9,9 @@ cabal.mkDerivation (self: { buildDepends = [ bktrees extensibleExceptions fgl graphviz pandoc random text time ]; + patchPhase = '' + sed -i Graphalyze.cabal -e 's|pandoc == 1.8.\*|pandoc|' + ''; meta = { description = "Graph-Theoretic Analysis library"; license = "unknown"; -- cgit 1.4.1 From a1cd71b5af2ecfb24f5bdb58ca0096d27a35393e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:37 +0000 Subject: haskell-HaskellForMaths: updated to version 0.4.3 svn path=/nixpkgs/trunk/; revision=32059 --- pkgs/development/libraries/haskell/HaskellForMaths/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/HaskellForMaths/default.nix b/pkgs/development/libraries/haskell/HaskellForMaths/default.nix index e55619fb3abd..25143e647bb7 100644 --- a/pkgs/development/libraries/haskell/HaskellForMaths/default.nix +++ b/pkgs/development/libraries/haskell/HaskellForMaths/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "HaskellForMaths"; - version = "0.4.1"; - sha256 = "0jwdxz5wqayx196giv7nj5j0k9zw50x555ig6xj00cladvplvh9h"; + version = "0.4.3"; + sha256 = "00s502h3pw9i464qn6cn74ihghcnn5gsar891q276ld682m5vdns"; buildDepends = [ random ]; meta = { homepage = "http://haskellformaths.blogspot.com/"; -- cgit 1.4.1 From 84a2bcfb26db3fd7444839062c640130c2468b44 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:40 +0000 Subject: haskell-OpenGLRaw: updated to version 1.2.0.0 svn path=/nixpkgs/trunk/; revision=32060 --- pkgs/development/libraries/haskell/OpenGLRaw/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/OpenGLRaw/default.nix b/pkgs/development/libraries/haskell/OpenGLRaw/default.nix index 3a86955a4383..70c25ea9ac6e 100644 --- a/pkgs/development/libraries/haskell/OpenGLRaw/default.nix +++ b/pkgs/development/libraries/haskell/OpenGLRaw/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "OpenGLRaw"; - version = "1.1.0.2"; - sha256 = "0d1rjh2vq0w1pzf3vz0mw6p0w43h3sf6034qsi89m4jkx3125fwf"; + version = "1.2.0.0"; + sha256 = "1nwk93wlwh7gz2lb1dc88frmwik71g61a7k8xfiib2q5a8a8kf9r"; extraLibraries = [ mesa ]; meta = { homepage = "http://www.haskell.org/haskellwiki/Opengl"; -- cgit 1.4.1 From 9cacf79ac0fe94daf5c715b64b548eb5798007fe Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:42 +0000 Subject: haskell-highlighting-kate: updated to version 0.5.0.1 svn path=/nixpkgs/trunk/; revision=32061 --- pkgs/development/libraries/haskell/highlighting-kate/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/highlighting-kate/default.nix b/pkgs/development/libraries/haskell/highlighting-kate/default.nix index ecaf46c0b77c..a4f7e906a9ea 100644 --- a/pkgs/development/libraries/haskell/highlighting-kate/default.nix +++ b/pkgs/development/libraries/haskell/highlighting-kate/default.nix @@ -1,12 +1,12 @@ -{ cabal, parsec, regexPcreBuiltin, xhtml }: +{ cabal, blazeHtml, mtl, parsec, regexPcreBuiltin }: cabal.mkDerivation (self: { pname = "highlighting-kate"; - version = "0.2.10"; - sha256 = "0cw89qsslrp4zh47ics7bg79fkqnxpnyz1a9xws0xzd9xmg3zrhh"; + version = "0.5.0.1"; + sha256 = "05r8w4366gi64l65k6vyda1cs96ld8i2dgch8r5fmxwiaa8dcs1l"; isLibrary = true; isExecutable = true; - buildDepends = [ parsec regexPcreBuiltin xhtml ]; + buildDepends = [ blazeHtml mtl parsec regexPcreBuiltin ]; meta = { homepage = "http://github.com/jgm/highlighting-kate"; description = "Syntax highlighting"; -- cgit 1.4.1 From 6b7de9b5fcc89349647df2d94db081733637fb1b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:44 +0000 Subject: haskell-pandoc-types: updated to version 1.9.0.2 svn path=/nixpkgs/trunk/; revision=32062 --- pkgs/development/libraries/haskell/pandoc-types/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/pandoc-types/default.nix b/pkgs/development/libraries/haskell/pandoc-types/default.nix index 6d5720658ceb..063fe6f45c56 100644 --- a/pkgs/development/libraries/haskell/pandoc-types/default.nix +++ b/pkgs/development/libraries/haskell/pandoc-types/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "pandoc-types"; - version = "1.8.2"; - sha256 = "04whkqld2pnfz25i9rcq7d4pi9zkn6c1rpz95vdlg9r5xkhhnn3a"; + version = "1.9.0.2"; + sha256 = "1rqqchxinjk3njgkp73i92q4iz1cl84p56i2fmgj2zn221r0zhyl"; buildDepends = [ syb ]; meta = { homepage = "http://johnmacfarlane.net/pandoc"; -- cgit 1.4.1 From f11b58a1b1b41747330e59714e1551e7036ef13f Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:47 +0000 Subject: haskell-pandoc: updated to version 1.9.0.2 svn path=/nixpkgs/trunk/; revision=32063 --- pkgs/development/libraries/haskell/pandoc/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/pandoc/default.nix b/pkgs/development/libraries/haskell/pandoc/default.nix index 455baa9ee1d3..480a90b71351 100644 --- a/pkgs/development/libraries/haskell/pandoc/default.nix +++ b/pkgs/development/libraries/haskell/pandoc/default.nix @@ -1,18 +1,19 @@ -{ cabal, base64Bytestring, citeprocHs, dlist, extensibleExceptions -, highlightingKate, HTTP, json, mtl, network, pandocTypes, parsec -, random, syb, tagsoup, texmath, utf8String, xhtml, xml, zipArchive +{ cabal, base64Bytestring, blazeHtml, citeprocHs +, extensibleExceptions, highlightingKate, HTTP, json, mtl, network +, pandocTypes, parsec, random, syb, tagsoup, temporary, texmath +, time, utf8String, xml, zipArchive, zlib }: cabal.mkDerivation (self: { pname = "pandoc"; - version = "1.8.2.1"; - sha256 = "0cwly0j2rj46h654iwl04l6jkhk6rrhynqvrdnq47067n9vm60pi"; + version = "1.9.0.2"; + sha256 = "0p1haqya99r52k6c07zq89ifdjs1r5g1y44011114pwsxwkmv43f"; isLibrary = true; isExecutable = true; buildDepends = [ - base64Bytestring citeprocHs dlist extensibleExceptions + base64Bytestring blazeHtml citeprocHs extensibleExceptions highlightingKate HTTP json mtl network pandocTypes parsec random - syb tagsoup texmath utf8String xhtml xml zipArchive + syb tagsoup temporary texmath time utf8String xml zipArchive zlib ]; configureFlags = "-fhighlighting -fthreaded"; meta = { -- cgit 1.4.1 From 1eb5674ebf279e1e677c06fcc4c689f3ed8bf569 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:49 +0000 Subject: haskell-parsimony: updated to version 1.3 svn path=/nixpkgs/trunk/; revision=32064 --- pkgs/development/libraries/haskell/parsimony/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/parsimony/default.nix b/pkgs/development/libraries/haskell/parsimony/default.nix index 70709c978b97..55bc7f74d297 100644 --- a/pkgs/development/libraries/haskell/parsimony/default.nix +++ b/pkgs/development/libraries/haskell/parsimony/default.nix @@ -1,10 +1,10 @@ -{ cabal, utf8String }: +{ cabal, text }: cabal.mkDerivation (self: { pname = "parsimony"; - version = "1.1"; - sha256 = "0476zmsjyjf58lh85806baqblq8hjxcrrnqc6ddxxq17lmvsd5ic"; - buildDepends = [ utf8String ]; + version = "1.3"; + sha256 = "0vbayvk989m85qfxxls74rn0v8ylb5l7lywp30sw2wybvi4r08lg"; + buildDepends = [ text ]; meta = { description = "Monadic parser combinators derived from Parsec"; license = self.stdenv.lib.licenses.bsd3; -- cgit 1.4.1 From 84bfd464d0ab0d06a14be099bc0e441bb3a46d2a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:52 +0000 Subject: haskell-system-fileio: updated to version 0.3.4 svn path=/nixpkgs/trunk/; revision=32065 --- pkgs/development/libraries/haskell/system-fileio/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/system-fileio/default.nix b/pkgs/development/libraries/haskell/system-fileio/default.nix index 844864ac1031..cd514f7ce232 100644 --- a/pkgs/development/libraries/haskell/system-fileio/default.nix +++ b/pkgs/development/libraries/haskell/system-fileio/default.nix @@ -2,12 +2,12 @@ cabal.mkDerivation (self: { pname = "system-fileio"; - version = "0.3.3"; - sha256 = "0z7y99g8ij9ykpxsgdb0addyibvpv2s95i0wpx4yc7mgi8cl50bx"; + version = "0.3.4"; + sha256 = "184f5bb3qhag6cwmk0zc2ldkwnkzbv82pv7hy541j8jqqi5wprih"; buildDepends = [ systemFilepath text time ]; meta = { - homepage = "https://john-millikin.com/software/hs-fileio/"; - description = "High-level filesystem interaction"; + homepage = "https://john-millikin.com/software/haskell-filesystem/"; + description = "Consistent filesystem interaction across GHC versions"; license = self.stdenv.lib.licenses.mit; platforms = self.ghc.meta.platforms; maintainers = [ -- cgit 1.4.1 From 9a2922dec5e99aa70a3718f500555ae6fa11062c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:54 +0000 Subject: haskell-system-filepath: updated to version 0.4.5 svn path=/nixpkgs/trunk/; revision=32066 --- pkgs/development/libraries/haskell/system-filepath/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/system-filepath/default.nix b/pkgs/development/libraries/haskell/system-filepath/default.nix index ee42d3415f25..e0ad17c6acbb 100644 --- a/pkgs/development/libraries/haskell/system-filepath/default.nix +++ b/pkgs/development/libraries/haskell/system-filepath/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "system-filepath"; - version = "0.4.4"; - sha256 = "16904xwbcy82ghf1bckw8h63pfj9jfbdlqrr8jf91jzl27lqlwxf"; + version = "0.4.5"; + sha256 = "18jpn3pyy6dh20xpdlwmhcjvbywjz4vr9fvwcwhylbicrw627ybs"; buildDepends = [ deepseq text ]; meta = { homepage = "https://john-millikin.com/software/haskell-filesystem/"; -- cgit 1.4.1 From 066cd10d999324bafc32177b06d65f98f514149d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:57 +0000 Subject: haskell-texmath: updated to version 0.6.0.1 svn path=/nixpkgs/trunk/; revision=32067 --- pkgs/development/libraries/haskell/texmath/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/texmath/default.nix b/pkgs/development/libraries/haskell/texmath/default.nix index 032f79ce077e..b72c5ceee04e 100644 --- a/pkgs/development/libraries/haskell/texmath/default.nix +++ b/pkgs/development/libraries/haskell/texmath/default.nix @@ -2,14 +2,14 @@ cabal.mkDerivation (self: { pname = "texmath"; - version = "0.5.0.4"; - sha256 = "0wi7zix10p73hb8aiyq47d27k5hi0l0ba5p6h7kdbhia9xm5w5w5"; + version = "0.6.0.1"; + sha256 = "0q39a83g7kcj9qpnjg0v7pd0b4w9i090nl2s9v8lpv4n46z6cyaq"; isLibrary = true; isExecutable = true; buildDepends = [ parsec syb xml ]; meta = { homepage = "http://github.com/jgm/texmath"; - description = "Conversion of LaTeX math formulas to MathML"; + description = "Conversion of LaTeX math formulas to MathML or OMML"; license = "GPL"; platforms = self.ghc.meta.platforms; maintainers = [ -- cgit 1.4.1 From ad07ce6e6780c6459c8b4718f6674161f6bdd7b0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 14:27:59 +0000 Subject: haskell-vector-algorithms: updated to version 0.5.4 svn path=/nixpkgs/trunk/; revision=32068 --- pkgs/development/libraries/haskell/vector-algorithms/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/vector-algorithms/default.nix b/pkgs/development/libraries/haskell/vector-algorithms/default.nix index 3688bb12c28c..6988cae02769 100644 --- a/pkgs/development/libraries/haskell/vector-algorithms/default.nix +++ b/pkgs/development/libraries/haskell/vector-algorithms/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "vector-algorithms"; - version = "0.5.3"; - sha256 = "14h2x3yrb4fji8bf84xbfp84pax6lzr8njc0c4061xpwcmair36j"; + version = "0.5.4"; + sha256 = "0j16jmnmgksbzsq2vvxjmciywi91clak77i6zjjghvn9dpmnsmv2"; buildDepends = [ primitive vector ]; meta = { homepage = "http://code.haskell.org/~dolio/"; -- cgit 1.4.1 From 14e803ff8ad6098d762d5520da12aa6e02e3f65b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 18:28:12 +0000 Subject: haskell-test-framework: added version 0.4.2.2 (required by pandoc) svn path=/nixpkgs/trunk/; revision=32072 --- .../libraries/haskell/test-framework/0.4.2.2.nix | 25 ++++++++++++++++++++++ .../libraries/haskell/test-framework/0.5.nix | 25 ++++++++++++++++++++++ .../libraries/haskell/test-framework/default.nix | 25 ---------------------- pkgs/top-level/haskell-packages.nix | 4 +++- 4 files changed, 53 insertions(+), 26 deletions(-) create mode 100644 pkgs/development/libraries/haskell/test-framework/0.4.2.2.nix create mode 100644 pkgs/development/libraries/haskell/test-framework/0.5.nix delete mode 100644 pkgs/development/libraries/haskell/test-framework/default.nix (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/test-framework/0.4.2.2.nix b/pkgs/development/libraries/haskell/test-framework/0.4.2.2.nix new file mode 100644 index 000000000000..4b920133ffd9 --- /dev/null +++ b/pkgs/development/libraries/haskell/test-framework/0.4.2.2.nix @@ -0,0 +1,25 @@ +{ cabal, ansiTerminal, ansiWlPprint, extensibleExceptions, hostname +, random, regexPosix, time, xml +}: + +cabal.mkDerivation (self: { + pname = "test-framework"; + version = "0.4.2.2"; + sha256 = "1lwdx4z9j5wxbmmlakf6knirdhi0ic6xpmhrj9ipa5ybw2zszakr"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + ansiTerminal ansiWlPprint extensibleExceptions hostname random + regexPosix time xml + ]; + meta = { + homepage = "http://batterseapower.github.com/test-framework/"; + description = "Framework for running and organising tests, with HUnit and QuickCheck support"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/test-framework/0.5.nix b/pkgs/development/libraries/haskell/test-framework/0.5.nix new file mode 100644 index 000000000000..6ac60c1df2dd --- /dev/null +++ b/pkgs/development/libraries/haskell/test-framework/0.5.nix @@ -0,0 +1,25 @@ +{ cabal, ansiTerminal, ansiWlPprint, extensibleExceptions, hostname +, random, regexPosix, time, xml +}: + +cabal.mkDerivation (self: { + pname = "test-framework"; + version = "0.5"; + sha256 = "19zm9xdhyjhqi2ryd2gkwi7m92s88mmiw1b6b91hjfhfw3c1qlzz"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + ansiTerminal ansiWlPprint extensibleExceptions hostname random + regexPosix time xml + ]; + meta = { + homepage = "http://batterseapower.github.com/test-framework/"; + description = "Framework for running and organising tests, with HUnit and QuickCheck support"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/test-framework/default.nix b/pkgs/development/libraries/haskell/test-framework/default.nix deleted file mode 100644 index 6ac60c1df2dd..000000000000 --- a/pkgs/development/libraries/haskell/test-framework/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ cabal, ansiTerminal, ansiWlPprint, extensibleExceptions, hostname -, random, regexPosix, time, xml -}: - -cabal.mkDerivation (self: { - pname = "test-framework"; - version = "0.5"; - sha256 = "19zm9xdhyjhqi2ryd2gkwi7m92s88mmiw1b6b91hjfhfw3c1qlzz"; - isLibrary = true; - isExecutable = true; - buildDepends = [ - ansiTerminal ansiWlPprint extensibleExceptions hostname random - regexPosix time xml - ]; - meta = { - homepage = "http://batterseapower.github.com/test-framework/"; - description = "Framework for running and organising tests, with HUnit and QuickCheck support"; - license = self.stdenv.lib.licenses.bsd3; - platforms = self.ghc.meta.platforms; - maintainers = [ - self.stdenv.lib.maintainers.andres - self.stdenv.lib.maintainers.simons - ]; - }; -}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 294fa00d17d1..30539d748c44 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1325,7 +1325,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); terminfo = callPackage ../development/libraries/haskell/terminfo {}; - testFramework = callPackage ../development/libraries/haskell/test-framework {}; + testFramework_0_4_2_2 = callPackage ../development/libraries/haskell/test-framework/0.4.2.2.nix {}; + testFramework_0_5 = callPackage ../development/libraries/haskell/test-framework/0.5.nix {}; + testFramework = self.testFramework_0_5; testFrameworkHunit = callPackage ../development/libraries/haskell/test-framework-hunit {}; -- cgit 1.4.1 From efa830e5c480d2e6fdadea53722fa3c12ca2aef1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 18:28:16 +0000 Subject: haskell-temporary: updated meta section svn path=/nixpkgs/trunk/; revision=32073 --- pkgs/development/libraries/haskell/temporary/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/temporary/default.nix b/pkgs/development/libraries/haskell/temporary/default.nix index 7266584cea57..fd31d2460046 100644 --- a/pkgs/development/libraries/haskell/temporary/default.nix +++ b/pkgs/development/libraries/haskell/temporary/default.nix @@ -9,5 +9,9 @@ cabal.mkDerivation (self: { description = "Portable temporary file and directory support for Windows and Unix, based on code from Cabal"; license = self.stdenv.lib.licenses.bsd3; platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; }; }) -- cgit 1.4.1 From bb5f77cfaafbaeb1a3438cd7445349199dc1074e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 18:28:19 +0000 Subject: haskell-pandoc: updated to version 1.9.0.3 svn path=/nixpkgs/trunk/; revision=32074 --- .../libraries/haskell/pandoc/default.nix | 22 +++++++++++++--------- pkgs/top-level/haskell-packages.nix | 4 +++- 2 files changed, 16 insertions(+), 10 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/pandoc/default.nix b/pkgs/development/libraries/haskell/pandoc/default.nix index 480a90b71351..de998c51b93c 100644 --- a/pkgs/development/libraries/haskell/pandoc/default.nix +++ b/pkgs/development/libraries/haskell/pandoc/default.nix @@ -1,19 +1,23 @@ -{ cabal, base64Bytestring, blazeHtml, citeprocHs -, extensibleExceptions, highlightingKate, HTTP, json, mtl, network -, pandocTypes, parsec, random, syb, tagsoup, temporary, texmath -, time, utf8String, xml, zipArchive, zlib +{ cabal, ansiTerminal, base64Bytestring, blazeHtml, citeprocHs +, Diff, extensibleExceptions, highlightingKate, HTTP, HUnit, json +, mtl, network, pandocTypes, parsec, QuickCheck, random, syb +, tagsoup, temporary, testFramework, testFrameworkHunit +, testFrameworkQuickcheck2, texmath, time, utf8String, xml +, zipArchive, zlib }: cabal.mkDerivation (self: { pname = "pandoc"; - version = "1.9.0.2"; - sha256 = "0p1haqya99r52k6c07zq89ifdjs1r5g1y44011114pwsxwkmv43f"; + version = "1.9.0.3"; + sha256 = "1p5054sdvvgl38rr0ajfavr79rwr2l8jdrpzai329ksskkh1acdp"; isLibrary = true; isExecutable = true; buildDepends = [ - base64Bytestring blazeHtml citeprocHs extensibleExceptions - highlightingKate HTTP json mtl network pandocTypes parsec random - syb tagsoup temporary texmath time utf8String xml zipArchive zlib + ansiTerminal base64Bytestring blazeHtml citeprocHs Diff + extensibleExceptions highlightingKate HTTP HUnit json mtl network + pandocTypes parsec QuickCheck random syb tagsoup temporary + testFramework testFrameworkHunit testFrameworkQuickcheck2 texmath + time utf8String xml zipArchive zlib ]; configureFlags = "-fhighlighting -fthreaded"; meta = { diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 30539d748c44..f29eaeca9e2e 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1061,7 +1061,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); pathPieces_0_1_0 = callPackage ../development/libraries/haskell/path-pieces/0.1.0.nix {}; pathPieces = self.pathPieces_0_1_0; - pandoc = callPackage ../development/libraries/haskell/pandoc {}; + pandoc = callPackage ../development/libraries/haskell/pandoc { + testFramework = self.testFramework_0_4_2_2; + }; pandocTypes = callPackage ../development/libraries/haskell/pandoc-types {}; -- cgit 1.4.1 From fd12c85a3397c3d0e48954afee28ca4a447a2a82 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 18:28:22 +0000 Subject: haskell-hakyll: updated to version 3.2.6.0 svn path=/nixpkgs/trunk/; revision=32075 --- pkgs/development/libraries/haskell/hakyll/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/hakyll/default.nix b/pkgs/development/libraries/haskell/hakyll/default.nix index 97b2012eefd8..acb75b05ae94 100644 --- a/pkgs/development/libraries/haskell/hakyll/default.nix +++ b/pkgs/development/libraries/haskell/hakyll/default.nix @@ -5,8 +5,8 @@ cabal.mkDerivation (self: { pname = "hakyll"; - version = "3.2.5.1"; - sha256 = "1vb3jqasf6j10fk8afwrbd85dc4k9dx6zls5c6wn0wnh87r5987x"; + version = "3.2.6.0"; + sha256 = "1yg97kihfxb250vk9dm2v9sh197lc6qjil0j40zgcwpss96xynax"; buildDepends = [ binary blazeHtml citeprocHs cryptohash hamlet mtl pandoc parsec regexBase regexPcre snapCore snapServer tagsoup time -- cgit 1.4.1 From 1b85da5ae380e62c8fbe19605327914c555d4deb Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 19:08:48 +0000 Subject: ghc-mod: upgraded to 1.0.8 svn path=/nixpkgs/trunk/; revision=32077 --- pkgs/development/libraries/haskell/ghc-mod/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/haskell/ghc-mod/default.nix b/pkgs/development/libraries/haskell/ghc-mod/default.nix index 945e9ee35e03..2566e098656a 100644 --- a/pkgs/development/libraries/haskell/ghc-mod/default.nix +++ b/pkgs/development/libraries/haskell/ghc-mod/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "ghc-mod"; - version = "1.0.6"; - sha256 = "c075314de03209827a0e59ee3e63a4d21bc8edb024a1e36721eea248805b38ba"; + version = "1.0.8"; + sha256 = "1c1236a8829418cae3039c3479875104664827c661b8c7567dd7bdbda12e8bcc"; buildDepends = [ attoparsec attoparsecEnumerator ghcPaths hlint regexPosix ]; -- cgit 1.4.1 From 66a133058954816ab2727de666ab34a386c3da4d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Feb 2012 19:08:56 +0000 Subject: v8/nodejs: upgraded to 3.6.6.20 and 0.6.9 svn path=/nixpkgs/trunk/; revision=32079 --- pkgs/development/libraries/v8/default.nix | 4 ++-- pkgs/development/web/nodejs/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/v8/default.nix b/pkgs/development/libraries/v8/default.nix index 3dbdea9c96ba..7024478afaec 100644 --- a/pkgs/development/libraries/v8/default.nix +++ b/pkgs/development/libraries/v8/default.nix @@ -5,14 +5,14 @@ assert readline != null; let system = stdenv.system; arch = if system == "i686-linux" then "ia32" else if system == "x86_64-linux" then "x64" else ""; - version = "3.6.6.17"; + version = "3.6.6.20"; in assert system == "i686-linux" || system == "x86_64-linux"; stdenv.mkDerivation rec { name = "v8-${version}"; src = fetchsvn { url = "http://v8.googlecode.com/svn/tags/${version}"; - sha256 = "7080d53b9d3aefc591c2e181dcf97d538ce36177284fc658eca6420ea36a926f"; + sha256 = "68565086baa5a37a0fa15e1c0b7914210fa590b29a8196014cd83789da6a01ba"; }; buildInputs = [python scons readline makeWrapper]; diff --git a/pkgs/development/web/nodejs/default.nix b/pkgs/development/web/nodejs/default.nix index c7fe9158ffe9..914b2cc26c3b 100644 --- a/pkgs/development/web/nodejs/default.nix +++ b/pkgs/development/web/nodejs/default.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, openssl, python, zlib, v8 }: stdenv.mkDerivation rec { - version = "0.6.6"; + version = "0.6.9"; name = "nodejs-${version}"; src = fetchurl { url = "http://nodejs.org/dist/v${version}/node-v${version}.tar.gz"; - sha256 = "00i14bjhyadxrh0df1ig4ndv1c0b7prnnhyar5lxcgxnn4cabgks"; + sha256 = "484ab6b3da6195339544c16aff17f747aa85d1dd15d765d6724aa8a4ecda03ca"; }; configureFlags = [ -- cgit 1.4.1 From 3312baae827adc474d158b0416b86f322bef162f Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Mon, 6 Feb 2012 22:08:04 +0000 Subject: lcms2-2.3 svn path=/nixpkgs/trunk/; revision=32088 --- pkgs/development/libraries/lcms2/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/lcms2/default.nix b/pkgs/development/libraries/lcms2/default.nix index 75a7570201dd..f3dcc7772e72 100644 --- a/pkgs/development/libraries/lcms2/default.nix +++ b/pkgs/development/libraries/lcms2/default.nix @@ -1,11 +1,11 @@ {stdenv, fetchurl, libtiff, libjpeg, zlib}: stdenv.mkDerivation rec { - name = "lcms2-2.0a"; + name = "lcms2-2.3"; src = fetchurl { - url = "mirror://sf/lcms/${name}.tar.gz"; - sha256 = "0kq5imagri0l964nnj06f7xny2q7rwvzqpm8ibsqz5zm263ggskd"; + url = "mirror://sourceforge/lcms/${name}.tar.gz"; + sha256 = "1r5gmzhginzm90y70dcbamycdfcaz4f7v0bb4nwyaywlvsxpg89y"; }; propagatedBuildInputs = [ libtiff libjpeg zlib ]; -- cgit 1.4.1 From a21457ffa899ee53a69651f563cdc035f6f15d19 Mon Sep 17 00:00:00 2001 From: LluĂ­s Batlle i Rossell Date: Tue, 7 Feb 2012 09:18:04 +0000 Subject: Updating crypto++ to 5.6.1 svn path=/nixpkgs/trunk/; revision=32098 --- pkgs/development/libraries/crypto++/default.nix | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/crypto++/default.nix b/pkgs/development/libraries/crypto++/default.nix index d22eb738671e..138ee6eb27f5 100644 --- a/pkgs/development/libraries/crypto++/default.nix +++ b/pkgs/development/libraries/crypto++/default.nix @@ -1,11 +1,11 @@ { fetchurl, stdenv, unzip, libtool }: stdenv.mkDerivation rec { - name = "crypto++-5.6.0"; + name = "crypto++-5.6.1"; src = fetchurl { - url = "mirror://sourceforge/cryptopp/cryptopp560.zip"; - sha256 = "1icbk50mr1sqycqbxbqg703m8aamz23ajgl22ychxdahz2sz08mm"; + url = "mirror://sourceforge/cryptopp/cryptopp561.zip"; + sha256 = "0s7jhvnfihikqp1iwpdz03fad62xkjxci6jiahrh6f3sn664vrwq"; }; patches = [ ./pic.patch ] @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { ''; cxxflags = if stdenv.isi686 then "-march=i686" else - if stdenv.isx86_64 then "-march=nocona" else + if stdenv.isx86_64 then "-march=nocona -fPIC" else ""; configurePhase = '' @@ -35,12 +35,10 @@ stdenv.mkDerivation rec { -e '/^CXXFLAGS =/s|-g -O2|-O3|' ''; - # Deal with one of the crappiest build system around there. + # I add what 'enableParallelBuilding' would add to the make call, + # if we were using the generic build phase. buildPhase = '' - # These guys forgot a file or something. - : > modexppc.cpp - - make PREFIX="$out" all cryptopp.dll + make PREFIX="$out" all libcryptopp.so -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES ''; # TODO: Installing cryptotest.exe doesn't seem to be necessary. We run @@ -48,11 +46,10 @@ stdenv.mkDerivation rec { installPhase = '' mkdir "$out" make install PREFIX="$out" - cp -v cryptopp.dll "$out/lib/libcryptopp.so" ''; doCheck = true; - checkPhase = "make test"; + checkPhase = "LD_LIBRARY_PATH=`pwd` make test"; meta = { description = "Crypto++, a free C++ class library of cryptographic schemes"; -- cgit 1.4.1