diff --git a/.gitignore b/.gitignore
index 6405b7860f2..4bcac5d261e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
*~
,*
+.*.swp
+.*.swo
diff --git a/doc/quick-start.xml b/doc/quick-start.xml
index dddbbb4a19e..a14de4077db 100644
--- a/doc/quick-start.xml
+++ b/doc/quick-start.xml
@@ -173,7 +173,7 @@ $ git add pkgs/development/libraries/libfoo/default.nix
The exact syntax and semantics of the Nix expression
language, including the built-in function, are described in the
Nix manual in the chapter
+ xlink:href="http://hydra.nixos.org/job/nix/trunk/tarball/latest/download-by-type/doc/manual/#chap-writing-nix-expressions">chapter
on writing Nix expressions.
diff --git a/pkgs/applications/audio/calf/default.nix b/pkgs/applications/audio/calf/default.nix
index 4b1f6dcd268..bc7b3c57e60 100644
--- a/pkgs/applications/audio/calf/default.nix
+++ b/pkgs/applications/audio/calf/default.nix
@@ -1,22 +1,25 @@
-{ stdenv, fetchurl, cairo, expat, glib, gtk, jackaudio, ladspaH
-, libglade, lv2, pkgconfig }:
+{ stdenv, fetchurl, cairo, expat, fftwSinglePrec, fluidsynth, glib
+, gtk, jackaudio, ladspaH , libglade, lv2, pkgconfig }:
stdenv.mkDerivation rec {
name = "calf-${version}";
- version = "0.0.18.6";
+ version = "0.0.19-rc7";
src = fetchurl {
url = "mirror://sourceforge/calf/${name}.tar.gz";
- sha256 = "03w6jjkrr6w8da6qzd0x4dlkg295c6jxby500x4cj07wpbpk6irh";
+ sha256 = "0515pzc7ishrq0j5hza83s0yp3x34r977h776lpky389whcyf45j";
};
- buildInputs =
- [ cairo jackaudio gtk glib expat libglade ladspaH lv2 pkgconfig ];
+ buildInputs = [
+ cairo expat fftwSinglePrec fluidsynth glib gtk jackaudio ladspaH
+ libglade lv2 pkgconfig
+ ];
meta = with stdenv.lib; {
homepage = http://calf.sourceforge.net;
description = "A set of high quality open source audio plugins for musicians";
license = licenses.lgpl2;
maintainers = [ maintainers.goibhniu ];
+ platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/audio/csound/default.nix b/pkgs/applications/audio/csound/default.nix
new file mode 100644
index 00000000000..9e4ee01810c
--- /dev/null
+++ b/pkgs/applications/audio/csound/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchurl, cmake, libsndfile, flex, bison
+, alsaLib ? null
+, pulseaudio ? null
+, tcltk ? null
+
+# maybe csound can be compiled with support for those, see configure output
+# , ladspa ? null
+# , fluidsynth ? null
+# , jack ? null
+# , gmm ? null
+# , wiiuse ? null
+}:
+
+stdenv.mkDerivation {
+ name = "csound5.18.02";
+
+ enableParallelBuilding = true;
+
+ src = fetchurl {
+ url = http://netcologne.dl.sourceforge.net/project/csound/csound5/csound5.18/Csound5.18.02.tar.gz;
+ sha256 = "4c461cf3bf60b83671224949dd33805379b7121bf2c0ad6af5e191e7f6f8adc8";
+ };
+
+ buildInputs = [ cmake libsndfile flex bison alsaLib pulseaudio tcltk ];
+
+ meta = {
+ description = "sound design, audio synthesis, and signal processing system, providing facilities for music composition and performance on all major operating systems and platforms";
+ homepage = http://www.csounds.com/;
+ license = stdenv.lib.licenses.gpl2;
+ maintainers = [stdenv.lib.maintainers.marcweber];
+ platforms = stdenv.lib.platforms.linux;
+ };
+}
+
diff --git a/pkgs/applications/audio/distrho/default.nix b/pkgs/applications/audio/distrho/default.nix
new file mode 100644
index 00000000000..7a1d24844b6
--- /dev/null
+++ b/pkgs/applications/audio/distrho/default.nix
@@ -0,0 +1,67 @@
+{ stdenv, fetchgit, alsaLib, fftwSinglePrec, freetype, jackaudio
+, libxslt, lv2, pkgconfig, premake, xlibs }:
+
+let
+ rev = "7815b3545978e";
+in
+stdenv.mkDerivation rec {
+ name = "distrho-${rev}";
+
+ src = fetchgit {
+ url = "git://distrho.git.sf.net/gitroot/distrho/distrho";
+ inherit rev;
+ sha256 = "2e260f16ee67b1166c39e2d55c8dd5593902c8b3d8d86485545ef83139e1e844";
+ };
+
+ patchPhase = ''
+ sed -e "s#xsltproc#${libxslt}/bin/xsltproc#" -i Makefile
+ sed -e "s#PREFIX = /usr/local#PREFIX = $out#" -i Makefile
+ sed -e "s#/etc/HybridReverb2#$out/etc/Hybridreverb2#" \
+ -i ports/hybridreverb2/source/SystemConfig.cpp
+ sed -e "s#/usr#$out#" -i ports/hybridreverb2/data/HybridReverb2.conf
+ '';
+
+ buildInputs = [
+ alsaLib fftwSinglePrec freetype jackaudio pkgconfig premake
+ xlibs.libX11 xlibs.libXcomposite xlibs.libXcursor xlibs.libXext
+ xlibs.libXinerama xlibs.libXrender
+ ];
+
+ buildPhase = ''
+ sh ./scripts/premake-update.sh linux
+ make standalone
+ make lv2
+
+ # generate lv2 ttl
+ sh scripts/generate-ttl.sh
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin
+ cp bin/standalone/* $out/bin/
+ mkdir -p $out/lib/lv2
+ cp -a bin/lv2/* $out/lib/lv2/
+
+ # HybridReverb2 data
+ mkdir -p $out/etc/HybridReverb2
+ cp ports/hybridreverb2/data/HybridReverb2.conf $out/etc/HybridReverb2/
+ mkdir -p $out/share
+ cp -a ports/hybridreverb2/data/HybridReverb2 $out/share/
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = http://distrho.sourceforge.net;
+ description = "A collection of cross-platform audio effects and plugins";
+ longDescription = ''
+ Includes:
+ 3BandEQ bitmangler drowaudio-distortion drowaudio-flanger
+ drowaudio-tremolo eqinox HybridReverb2 juce_pitcher sDelay
+ TAL-Filter TAL-NoiseMaker TAL-Reverb-2 TAL-Vocoder-2 ThePilgrim
+ Wolpertinger argotlunar capsaicin drowaudio-distortionshaper
+ drowaudio-reverb drumsynth highlife JuceDemoPlugin PingPongPan
+ TAL-Dub-3 TAL-Filter-2 TAL-Reverb TAL-Reverb-3 TheFunction vex
+ '';
+ maintainers = [ maintainers.goibhniu ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/audio/swh-lv2/default.nix b/pkgs/applications/audio/swh-lv2/default.nix
new file mode 100644
index 00000000000..9b18ab31abf
--- /dev/null
+++ b/pkgs/applications/audio/swh-lv2/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchgit, fftwSinglePrec, libxslt, lv2, pkgconfig }:
+
+let
+ rev = "ec6b85e19e24ed";
+in
+stdenv.mkDerivation rec {
+ name = "swh-lv2-${rev}";
+
+ src = fetchgit {
+ url = "git://github.com/swh/lv2.git";
+ inherit rev;
+ sha256 = "d0d918ee642cd9649215737fcc008ce2bf55f4ea893a1897138b33775ea60d17";
+ };
+
+ patchPhase = ''
+ sed -e "s#xsltproc#${libxslt}/bin/xsltproc#" -i Makefile
+ sed -e "s#PREFIX = /usr/local#PREFIX = $out#" -i Makefile
+ '';
+
+ buildInputs = [ fftwSinglePrec lv2 pkgconfig ];
+
+ installPhase = "make install-system";
+
+ meta = with stdenv.lib; {
+ homepage = http://plugin.org.uk;
+ description = "LV2 version of Steve Harris' SWH plugins";
+ longDescription = ''
+ SWH plugins include:
+ amp, fast overdrive, overdrive (with colourisation), comb
+ filter, waveshaper, ringmod, divider, diode, decliper, pitch
+ scaler, 16 band equaliser, sinus wavewrapper, hermes filter,
+ chorus, flanger, decimater, oscillator, gverb, phasers, harmonic
+ generators, surround encoders and more.
+ '';
+ license = licenses.gpl3;
+ maintainers = [ maintainers.goibhniu ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/editors/monodevelop/default.nix b/pkgs/applications/editors/monodevelop/default.nix
index e4dc00ff0a1..c823ecfdf83 100644
--- a/pkgs/applications/editors/monodevelop/default.nix
+++ b/pkgs/applications/editors/monodevelop/default.nix
@@ -2,7 +2,7 @@
, gtkmozembedsharp, monodoc
, perl, perlXMLParser, pkgconfig
, glib, gtk, GConf, gnome_vfs, libbonobo, libglade, libgnome
-, mozilla
+, mozilla, makeWrapper
}:
stdenv.mkDerivation {
@@ -14,8 +14,6 @@ stdenv.mkDerivation {
md5 = "8c33df5629b0676b7ab552854c1de6fd";
};
- makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
-
patches = [./prefix.patch];
buildInputs = [
@@ -24,5 +22,5 @@ stdenv.mkDerivation {
gtkmozembedsharp monodoc
];
- inherit mozilla monodoc gtksharp gtkmozembedsharp gtksourceviewsharp;
+ inherit mozilla monodoc gtksharp gtkmozembedsharp gtksourceviewsharp makeWrapper;
}
diff --git a/pkgs/applications/editors/monodoc/default.nix b/pkgs/applications/editors/monodoc/default.nix
index db8b2e47884..8f6b6d6024c 100644
--- a/pkgs/applications/editors/monodoc/default.nix
+++ b/pkgs/applications/editors/monodoc/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, mono, gtksharp, pkgconfig}:
+{stdenv, fetchurl, mono, gtksharp, pkgconfig, makeWrapper}:
stdenv.mkDerivation {
name = "monodoc-1.0.6";
@@ -9,9 +9,7 @@ stdenv.mkDerivation {
md5 = "f2fc27e8e4717d90dc7efa2450625693";
};
- makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
-
buildInputs = [mono gtksharp pkgconfig];
- inherit gtksharp;
+ inherit gtksharp makeWrapper;
}
diff --git a/pkgs/applications/editors/netbeans/default.nix b/pkgs/applications/editors/netbeans/default.nix
new file mode 100644
index 00000000000..f1fd9adbe86
--- /dev/null
+++ b/pkgs/applications/editors/netbeans/default.nix
@@ -0,0 +1,41 @@
+{stdenv, fetchurl, jdk, unzip, which, makeWrapper, makeDesktopItem}:
+
+let
+ desktopItem = makeDesktopItem {
+ name = "netbeans";
+ exec = "netbeans";
+ comment = "Integrated Development Environment";
+ desktopName = "Netbeans IDE";
+ genericName = "Integrated Development Environment";
+ categories = "Application;Development;";
+ };
+in
+stdenv.mkDerivation {
+ name = "netbeans-7.2";
+ src = fetchurl {
+ url = http://download.netbeans.org/netbeans/7.2/final/zip/netbeans-7.2-201207171143-ml.zip;
+ sha256 = "18ya1w291hdnc35vb12yqnai82wmqm7351wn82fax12kzha5fmci";
+ };
+ buildCommand = ''
+ # Unpack and copy the stuff
+ unzip $src
+ mkdir -p $out
+ cp -a netbeans $out
+
+ # Create a wrapper capable of starting it
+ mkdir -p $out/bin
+ makeWrapper $out/netbeans/bin/netbeans $out/bin/netbeans \
+ --prefix PATH : ${jdk}/bin:${which}/bin
+
+ # Create desktop item, so we can pick it from the KDE/GNOME menu
+ mkdir -p $out/share/applications
+ cp ${desktopItem}/share/applications/* $out/share/applications
+ '';
+
+ buildInputs = [ unzip makeWrapper ];
+
+ meta = {
+ description = "An integrated development environment for Java, C, C++ and PHP";
+ maintainers = [ stdenv.lib.maintainers.sander ];
+ };
+}
diff --git a/pkgs/applications/graphics/darktable/default.nix b/pkgs/applications/graphics/darktable/default.nix
index 4d3b1a12b62..15d7042e7dd 100644
--- a/pkgs/applications/graphics/darktable/default.nix
+++ b/pkgs/applications/graphics/darktable/default.nix
@@ -3,17 +3,17 @@
, libgnome_keyring, gphoto2, gtk, ilmbase, intltool, lcms, lcms2
, lensfun, libXau, libXdmcp, libexif, libglade, libgphoto2, libjpeg
, libpng, libpthreadstubs, libraw1394, librsvg, libtiff, libxcb
-, openexr, pixman, pkgconfig, sqlite }:
+, openexr, pixman, pkgconfig, sqlite, bash }:
assert stdenv ? glibc;
stdenv.mkDerivation rec {
- version = "1.0";
+ version = "1.0.5";
name = "darktable-${version}";
src = fetchurl {
url = "mirror://sourceforge/darktable/darktable-${version}.tar.gz";
- sha256 = "0wjv2x62kf25db61ivbn8y8xr9hr8hdlcjq6l1qxfqn2bn8a3qkm";
+ sha256 = "0c18530446d2f2459fe533a1ef6fc2711300efe7466f36c23168ec2230fb5fbd";
};
buildInputs =
@@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${atk}/include/atk-1.0"
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${ilmbase}/include/OpenEXR"
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${openexr}/include/OpenEXR"
+
+ substituteInPlace tools/create_preferences.sh.in --replace '#!/usr/bin/env bash' '#!${bash}/bin/bash'
'';
cmakeFlags = [
diff --git a/pkgs/applications/graphics/dia/default.nix b/pkgs/applications/graphics/dia/default.nix
index f0c666b14ea..7662d64e9de 100644
--- a/pkgs/applications/graphics/dia/default.nix
+++ b/pkgs/applications/graphics/dia/default.nix
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
configureFlags = stdenv.lib.optionalString withGNOME "--enable-gnome";
+ patches = [ ./glib-top-level-header.patch ];
+
meta = {
description = "Gnome Diagram drawing software";
homepage = http://live.gnome.org/Dia;
diff --git a/pkgs/applications/graphics/dia/glib-top-level-header.patch b/pkgs/applications/graphics/dia/glib-top-level-header.patch
new file mode 100644
index 00000000000..80460ae9d72
--- /dev/null
+++ b/pkgs/applications/graphics/dia/glib-top-level-header.patch
@@ -0,0 +1,471 @@
+diff -Naur dia-0.97.2-orig/app/app_procs.c dia-0.97.2/app/app_procs.c
+--- dia-0.97.2-orig/app/app_procs.c 2011-03-20 07:18:13.000000000 -0400
++++ dia-0.97.2/app/app_procs.c 2012-07-15 10:49:08.192726306 -0400
+@@ -50,7 +50,7 @@
+ #include
+ #include
+
+-#include
++#include
+
+ #include "intl.h"
+ #include "app_procs.h"
+diff -Naur dia-0.97.2-orig/app/dia-win-remote.c dia-0.97.2/app/dia-win-remote.c
+--- dia-0.97.2-orig/app/dia-win-remote.c 2010-08-03 11:35:35.000000000 -0400
++++ dia-0.97.2/app/dia-win-remote.c 2012-07-15 10:49:08.159726316 -0400
+@@ -35,7 +35,7 @@
+ #include
+ #include
+ #include
+-#include
++#include
+
+ /**
+ * PROTOTYPES:
+diff -Naur dia-0.97.2-orig/app/filedlg.c dia-0.97.2/app/filedlg.c
+--- dia-0.97.2-orig/app/filedlg.c 2009-11-07 12:13:53.000000000 -0500
++++ dia-0.97.2/app/filedlg.c 2012-07-15 10:49:08.227726294 -0400
+@@ -28,7 +28,7 @@
+ #include
+ #endif
+ #include
+-#include
++#include
+
+ #undef GTK_DISABLE_DEPRECATED /* gtk_file_chooser_dialog_new_with_backend */
+ #include
+diff -Naur dia-0.97.2-orig/app/load_save.c dia-0.97.2/app/load_save.c
+--- dia-0.97.2-orig/app/load_save.c 2011-09-25 07:55:11.000000000 -0400
++++ dia-0.97.2/app/load_save.c 2012-07-15 10:49:08.203726303 -0400
+@@ -30,7 +30,7 @@
+ #include
+
+ #include
+-#include /* g_access() and friends */
++#include /* g_access() and friends */
+ #include
+
+ #ifndef W_OK
+diff -Naur dia-0.97.2-orig/app/sheets_dialog_callbacks.c dia-0.97.2/app/sheets_dialog_callbacks.c
+--- dia-0.97.2-orig/app/sheets_dialog_callbacks.c 2009-11-07 12:13:53.000000000 -0500
++++ dia-0.97.2/app/sheets_dialog_callbacks.c 2012-07-15 10:49:08.201726302 -0400
+@@ -44,7 +44,7 @@
+ #endif
+ #endif
+
+-#include
++#include
+ #include
+
+ #undef GTK_DISABLE_DEPRECATED /* GtkOptionMenu */
+diff -Naur dia-0.97.2-orig/ChangeLog.pre-git dia-0.97.2/ChangeLog.pre-git
+--- dia-0.97.2-orig/ChangeLog.pre-git 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/ChangeLog.pre-git 2012-07-15 10:49:08.384726247 -0400
+@@ -4137,7 +4137,7 @@
+ plug-ins/vdx/vdx-export.c plug-ins/vdx/vdx-import.c
+ plug-ins/wmf/wmf.cpp plug-ins/wpg/wpg.c
+ plug-ins/xfig/xfig-export.c plug-ins/xfig/xfig-import.c
+- plug-ins/xslt/xslt.c : use to match GLib's filename
++ plug-ins/xslt/xslt.c : use to match GLib's filename
+ encoding to the io functions used, that is: g_open, g_fopen, g_stat,
+ g_unlink, g_mkdir, g_rename (, g_access, g_lstat, g_remove, g_freopen,
+ g_chdir, g_rmdir). Also replace gzopen() with gzdopen(g_open(), ...)
+@@ -5995,7 +5995,7 @@
+ Also special case strings starting with \tex - i.e. dont escape them -
+ to keep the use-case of direct tex input.
+
+- * lib/debug.c : #include not just
++ * lib/debug.c : #include
+
+
+ 2006-01-14 Hans Breuer
+@@ -6207,7 +6207,7 @@
+ * lib/makefile.msc : build debug.obj
+
+ * plug-ins/makefile.msc : building pgf in the right alphabetical order
+- * plug-ins/pgf/render_pgf.c : include
++ * plug-ins/pgf/render_pgf.c : include
+
+ 2005-12-08 Lars Clausen
+
+diff -Naur dia-0.97.2-orig/lib/debug.c dia-0.97.2/lib/debug.c
+--- dia-0.97.2-orig/lib/debug.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/lib/debug.c 2012-07-15 10:49:06.813726730 -0400
+@@ -21,7 +21,7 @@
+ #include
+
+ #include
+-#include
++#include
+ #include
+
+ #include "debug.h"
+diff -Naur dia-0.97.2-orig/lib/dia_dirs.c dia-0.97.2/lib/dia_dirs.c
+--- dia-0.97.2-orig/lib/dia_dirs.c 2009-11-07 12:13:53.000000000 -0500
++++ dia-0.97.2/lib/dia_dirs.c 2012-07-15 10:49:06.740726750 -0400
+@@ -30,7 +30,7 @@
+ #include
+ #include
+ #endif
+-#include
++#include
+
+ /** Get the name of a subdirectory of our data directory.
+ * This function does not create the subdirectory, just make the correct name.
+diff -Naur dia-0.97.2-orig/lib/dia_xml.c dia-0.97.2/lib/dia_xml.c
+--- dia-0.97.2-orig/lib/dia_xml.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/lib/dia_xml.c 2012-07-15 10:49:06.770726743 -0400
+@@ -25,7 +25,7 @@
+ #include
+
+ #include
+-#include
++#include
+
+ #include
+ #include
+diff -Naur dia-0.97.2-orig/objects/custom/shape_typeinfo.c dia-0.97.2/objects/custom/shape_typeinfo.c
+--- dia-0.97.2-orig/objects/custom/shape_typeinfo.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/objects/custom/shape_typeinfo.c 2012-07-15 10:49:06.639726783 -0400
+@@ -27,8 +27,8 @@
+ #include "custom_util.h"
+ #include
+ #include
+-#include
+-#include
++#include
++#include
+ #include
+
+ /*
+diff -Naur dia-0.97.2-orig/objects/SISSI/sissi.c dia-0.97.2/objects/SISSI/sissi.c
+--- dia-0.97.2-orig/objects/SISSI/sissi.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/objects/SISSI/sissi.c 2012-07-15 10:49:06.570726804 -0400
+@@ -42,7 +42,7 @@
+ #include "dia_xml_libxml.h"
+
+ #include
+-#include
++#include
+
+ #define DEFAULT_WIDTH 1.0
+ #define DEFAULT_HEIGHT 1.0
+diff -Naur dia-0.97.2-orig/objects/standard/image.c dia-0.97.2/objects/standard/image.c
+--- dia-0.97.2-orig/objects/standard/image.c 2009-11-07 12:13:53.000000000 -0500
++++ dia-0.97.2/objects/standard/image.c 2012-07-15 10:49:06.683726770 -0400
+@@ -25,7 +25,7 @@
+ #ifdef HAVE_UNIST_H
+ #include
+ #endif
+-#include
++#include
+
+ #include "intl.h"
+ #include "message.h"
+diff -Naur dia-0.97.2-orig/plug-ins/cairo/diacairo.c dia-0.97.2/plug-ins/cairo/diacairo.c
+--- dia-0.97.2-orig/plug-ins/cairo/diacairo.c 2009-11-07 12:13:53.000000000 -0500
++++ dia-0.97.2/plug-ins/cairo/diacairo.c 2012-07-15 10:49:06.433726846 -0400
+@@ -28,7 +28,7 @@
+ #include
+ #define G_LOG_DOMAIN "DiaCairo"
+ #include
+-#include
++#include
+
+ /*
+ * To me the following looks rather suspicious. Why do we need to compile
+diff -Naur dia-0.97.2-orig/plug-ins/cairo/diacairo-renderer.c dia-0.97.2/plug-ins/cairo/diacairo-renderer.c
+--- dia-0.97.2-orig/plug-ins/cairo/diacairo-renderer.c 2011-01-07 06:54:21.000000000 -0500
++++ dia-0.97.2/plug-ins/cairo/diacairo-renderer.c 2012-07-15 10:49:06.435726846 -0400
+@@ -28,7 +28,7 @@
+ #include
+ #define G_LOG_DOMAIN "DiaCairo"
+ #include
+-#include
++#include
+
+ #ifdef HAVE_PANGOCAIRO_H
+ #include
+diff -Naur dia-0.97.2-orig/plug-ins/cgm/cgm.c dia-0.97.2/plug-ins/cgm/cgm.c
+--- dia-0.97.2-orig/plug-ins/cgm/cgm.c 2009-12-27 11:22:38.000000000 -0500
++++ dia-0.97.2/plug-ins/cgm/cgm.c 2012-07-15 10:49:06.425726846 -0400
+@@ -31,7 +31,7 @@
+ #include
+ #include
+
+-#include
++#include
+
+ #include "intl.h"
+ #include "message.h"
+diff -Naur dia-0.97.2-orig/plug-ins/drs/dia-render-script.c dia-0.97.2/plug-ins/drs/dia-render-script.c
+--- dia-0.97.2-orig/plug-ins/drs/dia-render-script.c 2009-11-07 12:13:53.000000000 -0500
++++ dia-0.97.2/plug-ins/drs/dia-render-script.c 2012-07-15 10:49:06.427726848 -0400
+@@ -54,7 +54,7 @@
+
+ #define G_LOG_DOMAIN "DiaRenderScript"
+ #include
+-#include
++#include
+
+ #include "intl.h"
+ #include "filter.h"
+diff -Naur dia-0.97.2-orig/plug-ins/dxf/dxf-export.c dia-0.97.2/plug-ins/dxf/dxf-export.c
+--- dia-0.97.2-orig/plug-ins/dxf/dxf-export.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/plug-ins/dxf/dxf-export.c 2012-07-15 10:49:06.421726850 -0400
+@@ -29,7 +29,7 @@
+ #include
+ #include
+ #include
+-#include
++#include
+
+ #include "autocad_pal.h"
+
+diff -Naur dia-0.97.2-orig/plug-ins/dxf/dxf-import.c dia-0.97.2/plug-ins/dxf/dxf-import.c
+--- dia-0.97.2-orig/plug-ins/dxf/dxf-import.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/plug-ins/dxf/dxf-import.c 2012-07-15 10:49:06.419726851 -0400
+@@ -30,7 +30,7 @@
+ #include
+ #include
+ #include
+-#include
++#include
+
+ #include "intl.h"
+ #include "message.h"
+diff -Naur dia-0.97.2-orig/plug-ins/hpgl/hpgl.c dia-0.97.2/plug-ins/hpgl/hpgl.c
+--- dia-0.97.2-orig/plug-ins/hpgl/hpgl.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/plug-ins/hpgl/hpgl.c 2012-07-15 10:49:06.487726830 -0400
+@@ -37,7 +37,7 @@
+ #include
+
+ #include
+-#include
++#include
+
+ #include "intl.h"
+ #include "message.h"
+diff -Naur dia-0.97.2-orig/plug-ins/libart/export_png.c dia-0.97.2/plug-ins/libart/export_png.c
+--- dia-0.97.2-orig/plug-ins/libart/export_png.c 2011-07-03 06:56:08.000000000 -0400
++++ dia-0.97.2/plug-ins/libart/export_png.c 2012-07-15 10:49:06.415726849 -0400
+@@ -29,7 +29,7 @@
+ #include
+ #include
+
+-#include
++#include
+ #include
+
+ #include "intl.h"
+diff -Naur dia-0.97.2-orig/plug-ins/metapost/render_metapost.c dia-0.97.2/plug-ins/metapost/render_metapost.c
+--- dia-0.97.2-orig/plug-ins/metapost/render_metapost.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/plug-ins/metapost/render_metapost.c 2012-07-15 10:49:06.396726857 -0400
+@@ -43,7 +43,7 @@
+ #endif
+ #include
+
+-#include
++#include
+
+ #include "intl.h"
+ #include "render_metapost.h"
+diff -Naur dia-0.97.2-orig/plug-ins/pgf/render_pgf.c dia-0.97.2/plug-ins/pgf/render_pgf.c
+--- dia-0.97.2-orig/plug-ins/pgf/render_pgf.c 2011-01-07 07:11:34.000000000 -0500
++++ dia-0.97.2/plug-ins/pgf/render_pgf.c 2012-07-15 10:49:06.445726842 -0400
+@@ -61,8 +61,8 @@
+ #endif
+ #include
+
+-#include
+-#include
++#include
++#include
+
+ #include "intl.h"
+ #include "render_pgf.h"
+diff -Naur dia-0.97.2-orig/plug-ins/postscript/paginate_psprint.c dia-0.97.2/plug-ins/postscript/paginate_psprint.c
+--- dia-0.97.2-orig/plug-ins/postscript/paginate_psprint.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/plug-ins/postscript/paginate_psprint.c 2012-07-15 10:49:06.451726838 -0400
+@@ -31,7 +31,7 @@
+ #include
+ #include
+
+-#include
++#include
+
+ #include "intl.h"
+ #include "message.h"
+diff -Naur dia-0.97.2-orig/plug-ins/postscript/render_eps.c dia-0.97.2/plug-ins/postscript/render_eps.c
+--- dia-0.97.2-orig/plug-ins/postscript/render_eps.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/plug-ins/postscript/render_eps.c 2012-07-15 10:49:06.451726838 -0400
+@@ -55,7 +55,7 @@
+ #include
+ #include
+
+-#include
++#include
+
+ #include "intl.h"
+ #include "render_eps.h"
+diff -Naur dia-0.97.2-orig/plug-ins/pstricks/render_pstricks.c dia-0.97.2/plug-ins/pstricks/render_pstricks.c
+--- dia-0.97.2-orig/plug-ins/pstricks/render_pstricks.c 2011-01-07 07:11:34.000000000 -0500
++++ dia-0.97.2/plug-ins/pstricks/render_pstricks.c 2012-07-15 10:49:06.410726853 -0400
+@@ -50,7 +50,7 @@
+ #endif
+ #include
+
+-#include
++#include
+
+ #include "intl.h"
+ #include "render_pstricks.h"
+diff -Naur dia-0.97.2-orig/plug-ins/python/pydia-render.c dia-0.97.2/plug-ins/python/pydia-render.c
+--- dia-0.97.2-orig/plug-ins/python/pydia-render.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/plug-ins/python/pydia-render.c 2012-07-15 10:49:06.503726822 -0400
+@@ -21,7 +21,7 @@
+
+ #include
+ #include
+-#include
++#include
+
+ #include
+
+diff -Naur dia-0.97.2-orig/plug-ins/shape/shape-export.c dia-0.97.2/plug-ins/shape/shape-export.c
+--- dia-0.97.2-orig/plug-ins/shape/shape-export.c 2009-11-08 06:14:56.000000000 -0500
++++ dia-0.97.2/plug-ins/shape/shape-export.c 2012-07-15 10:49:06.489726827 -0400
+@@ -40,7 +40,7 @@
+ #include
+ #endif
+
+-#include
++#include
+
+ /* the dots per centimetre to render this diagram at */
+ /* this matches the setting `100%' setting in dia. */
+diff -Naur dia-0.97.2-orig/plug-ins/svg/render_svg.c dia-0.97.2/plug-ins/svg/render_svg.c
+--- dia-0.97.2-orig/plug-ins/svg/render_svg.c 2011-12-17 11:30:38.000000000 -0500
++++ dia-0.97.2/plug-ins/svg/render_svg.c 2012-07-15 10:49:06.392726859 -0400
+@@ -30,7 +30,7 @@
+ #endif
+
+ #include
+-#include
++#include
+
+ #include
+ #include
+diff -Naur dia-0.97.2-orig/plug-ins/vdx/vdx-export.c dia-0.97.2/plug-ins/vdx/vdx-export.c
+--- dia-0.97.2-orig/plug-ins/vdx/vdx-export.c 2009-12-27 11:22:38.000000000 -0500
++++ dia-0.97.2/plug-ins/vdx/vdx-export.c 2012-07-15 10:55:17.066579728 -0400
+@@ -32,11 +32,12 @@
+
+ #include
+ #include
++#include
+ #include
+ #include
+ #include
+ #include
+-#include
++#include
+
+ #include "intl.h"
+ #include "message.h"
+diff -Naur dia-0.97.2-orig/plug-ins/vdx/vdx-import.c dia-0.97.2/plug-ins/vdx/vdx-import.c
+--- dia-0.97.2-orig/plug-ins/vdx/vdx-import.c 2009-12-27 11:22:38.000000000 -0500
++++ dia-0.97.2/plug-ins/vdx/vdx-import.c 2012-07-15 10:49:06.466726836 -0400
+@@ -28,7 +28,7 @@
+ #include
+ #include
+ #include
+-#include
++#include
+ #include
+ #include
+ #include
+diff -Naur dia-0.97.2-orig/plug-ins/wmf/wmf.cpp dia-0.97.2/plug-ins/wmf/wmf.cpp
+--- dia-0.97.2-orig/plug-ins/wmf/wmf.cpp 2011-03-13 09:07:48.000000000 -0400
++++ dia-0.97.2/plug-ins/wmf/wmf.cpp 2012-07-15 10:49:06.482726831 -0400
+@@ -25,7 +25,7 @@
+ #include
+ #include
+ #include
+-#include
++#include
+
+ #include "intl.h"
+ #include "message.h"
+diff -Naur dia-0.97.2-orig/plug-ins/wpg/wpg.c dia-0.97.2/plug-ins/wpg/wpg.c
+--- dia-0.97.2-orig/plug-ins/wpg/wpg.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/plug-ins/wpg/wpg.c 2012-07-15 10:49:06.406726855 -0400
+@@ -40,7 +40,7 @@
+ #include
+
+ #include
+-#include
++#include
+
+ #include "intl.h"
+ #include "message.h"
+diff -Naur dia-0.97.2-orig/plug-ins/xfig/xfig-export.c dia-0.97.2/plug-ins/xfig/xfig-export.c
+--- dia-0.97.2-orig/plug-ins/xfig/xfig-export.c 2011-12-17 11:30:38.000000000 -0500
++++ dia-0.97.2/plug-ins/xfig/xfig-export.c 2012-07-15 10:49:06.400726856 -0400
+@@ -16,7 +16,7 @@
+ #include
+
+ #include
+-#include
++#include
+
+ #include "intl.h"
+ #include "message.h"
+diff -Naur dia-0.97.2-orig/plug-ins/xfig/xfig-import.c dia-0.97.2/plug-ins/xfig/xfig-import.c
+--- dia-0.97.2-orig/plug-ins/xfig/xfig-import.c 2009-11-07 12:13:53.000000000 -0500
++++ dia-0.97.2/plug-ins/xfig/xfig-import.c 2012-07-15 10:49:06.402726853 -0400
+@@ -40,7 +40,7 @@
+ #include
+
+ #include
+-#include
++#include
+
+ #include "intl.h"
+ #include "message.h"
+diff -Naur dia-0.97.2-orig/plug-ins/xslt/xslt.c dia-0.97.2/plug-ins/xslt/xslt.c
+--- dia-0.97.2-orig/plug-ins/xslt/xslt.c 2009-11-07 12:13:53.000000000 -0500
++++ dia-0.97.2/plug-ins/xslt/xslt.c 2012-07-15 10:49:06.440726844 -0400
+@@ -27,7 +27,7 @@
+ #include
+ #include
+
+-#include
++#include
+
+ #include "filter.h"
+ #include "intl.h"
+diff -Naur dia-0.97.2-orig/tests/test-boundingbox.c dia-0.97.2/tests/test-boundingbox.c
+--- dia-0.97.2-orig/tests/test-boundingbox.c 2009-11-07 09:28:35.000000000 -0500
++++ dia-0.97.2/tests/test-boundingbox.c 2012-07-15 10:49:06.986726677 -0400
+@@ -29,7 +29,7 @@
+ #include
+
+ #if GLIB_CHECK_VERSION(2,16,0)
+-#include
++#include
+ #endif
+ #include "dialib.h"
+
+diff -Naur dia-0.97.2-orig/tests/test-objects.c dia-0.97.2/tests/test-objects.c
+--- dia-0.97.2-orig/tests/test-objects.c 2009-11-07 09:28:35.000000000 -0500
++++ dia-0.97.2/tests/test-objects.c 2012-07-15 10:49:06.985726677 -0400
+@@ -29,7 +29,7 @@
+ #include
+
+ #if GLIB_CHECK_VERSION(2,16,0)
+-#include
++#include
+ #endif
+
+ #include "object.h"
diff --git a/pkgs/applications/graphics/f-spot/default.nix b/pkgs/applications/graphics/f-spot/default.nix
index 17a3cd22a5f..856795ea356 100644
--- a/pkgs/applications/graphics/f-spot/default.nix
+++ b/pkgs/applications/graphics/f-spot/default.nix
@@ -1,14 +1,16 @@
{ stdenv, fetchurl, perl, perlXMLParser, pkgconfig, mono, libexif
, libgnome, libgnomeui, gtksharp, libjpeg, sqlite, lcms, libgphoto2
, monoDLLFixer
+, makeWrapper
}:
stdenv.mkDerivation {
name = "f-spot-0.0.10";
builder = ./builder.sh;
- makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
+ inherit makeWrapper;
+
src = fetchurl {
url = http://nixos.org/tarballs/f-spot-0.0.10.tar.bz2;
md5 = "19cc6e067ccc261b0502ff6189b79832";
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix
index 9ef5382eaf9..150bb071cb1 100644
--- a/pkgs/applications/graphics/inkscape/default.nix
+++ b/pkgs/applications/graphics/inkscape/default.nix
@@ -4,11 +4,11 @@
, gsl, python, pyxml, lxml, poppler, imagemagick, libwpg }:
stdenv.mkDerivation rec {
- name = "inkscape-0.48.2";
+ name = "inkscape-0.48.3.1";
src = fetchurl {
url = "mirror://sourceforge/inkscape/${name}.tar.bz2";
- sha256 = "10v7ixdz7f8vgk2wv0m81zli9p0f446cm1f4aqlvni1ndsx44fi2";
+ sha256 = "126vfsafkfj6z65i5vp6g5dg9hvp3dd1zppjhms78257ns2zafq7";
};
patches = [ ./configure-python-libs.patch ./libpng-1.5.patch ];
diff --git a/pkgs/applications/graphics/pqiv/default.nix b/pkgs/applications/graphics/pqiv/default.nix
index e13ea97cab8..3fd9d47374a 100644
--- a/pkgs/applications/graphics/pqiv/default.nix
+++ b/pkgs/applications/graphics/pqiv/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, getopt, which, pkgconfig, gtk } :
stdenv.mkDerivation (rec {
- name = "pqiv-0.8";
+ name = "pqiv-0.12";
src = fetchurl {
- url = "http://www.pberndt.com/raw/Programme/Linux/pqiv/_download/${name}.tbz";
- sha256 = "365332bab4b13ca56da6935e7155af20658e67d323808942dce23e880466f66d";
+ url = "https://github.com/downloads/phillipberndt/pqiv/${name}.tbz";
+ sha256 = "646c69f2f4e7289913f6b8e8ae984befba9debf0d2b4cc8af9955504a1fccf1e";
};
buildInputs = [ getopt which pkgconfig gtk ];
diff --git a/pkgs/applications/misc/eaglemode/default.nix b/pkgs/applications/misc/eaglemode/default.nix
index 519db53ea18..b9c8acb0d07 100644
--- a/pkgs/applications/misc/eaglemode/default.nix
+++ b/pkgs/applications/misc/eaglemode/default.nix
@@ -1,20 +1,20 @@
-{ stdenv, fetchurl, perl, libX11, xineLib, libjpeg, libpng, libtiff, pkgconfig,
+{ stdenv, fetchurl, perl, libX11, libjpeg, libpng, libtiff, pkgconfig,
librsvg, glib, gtk, libXext, libXxf86vm, poppler }:
stdenv.mkDerivation {
name = "eaglemode-0.84.0";
-
+
src = fetchurl {
url = mirror://sourceforge/eaglemode/eaglemode-0.84.0.tar.bz2;
sha256 = "0n20b419j0l7h7jr4s3f3n09ka0ysg9nqs8mcwsrx24rcq7nv0cs";
};
-
- buildInputs = [ perl libX11 xineLib libjpeg libpng libtiff pkgconfig
+
+ buildInputs = [ perl libX11 libjpeg libpng libtiff pkgconfig
librsvg glib gtk libXxf86vm libXext poppler ];
-
+
# The program tries to dlopen both Xxf86vm and Xext, so we use the
# trick on NIX_LDFLAGS and dontPatchELF to make it find them.
- # I use 'yes y' to skip a build error linking with xineLib,
+ # I use 'yes y' to skip a build error linking with xineLib,
# because xine stopped exporting "_x_vo_new_port"
# http://sourceforge.net/projects/eaglemode/forums/forum/808824/topic/5115261
buildPhase = ''
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
# Run 'eaglemode.sh', not 'eaglemode'.
ln -s $out/eaglemode.sh $out/bin/eaglemode.sh
'';
-
+
meta = {
homepage = "http://eaglemode.sourceforge.net";
description = "Zoomable User Interface";
diff --git a/pkgs/applications/misc/epdfview/default.nix b/pkgs/applications/misc/epdfview/default.nix
index 3ce652c1a33..6941e8df626 100644
--- a/pkgs/applications/misc/epdfview/default.nix
+++ b/pkgs/applications/misc/epdfview/default.nix
@@ -6,6 +6,7 @@ stdenv.mkDerivation rec {
sha256 = "1w7qybh8ssl4dffi5qfajq8mndw7ipsd92vkim03nywxgjp4i1ll";
};
buildInputs = [ pkgconfig gtk poppler ];
+ patches = [ ./glib-top-level-header.patch ];
meta = {
homepage = http://trac.emma-soft.com/epdfview/;
description = "A lightweight PDF document viewer using Poppler and GTK+";
diff --git a/pkgs/applications/misc/epdfview/glib-top-level-header.patch b/pkgs/applications/misc/epdfview/glib-top-level-header.patch
new file mode 100644
index 00000000000..a321ad3a2b6
--- /dev/null
+++ b/pkgs/applications/misc/epdfview/glib-top-level-header.patch
@@ -0,0 +1,12 @@
+diff -Naur epdfview-0.1.8-orig/src/gtk/StockIcons.h epdfview-0.1.8/src/gtk/StockIcons.h
+--- epdfview-0.1.8-orig/src/gtk/StockIcons.h 2011-05-28 06:24:57.000000000 -0400
++++ epdfview-0.1.8/src/gtk/StockIcons.h 2012-07-15 11:02:43.946339253 -0400
+@@ -18,7 +18,7 @@
+ #if !defined (__STOCK_ICONS_H__)
+ #define __STOCK_ICONS_H__
+
+-#include
++#include
+
+ G_BEGIN_DECLS
+
diff --git a/pkgs/applications/misc/mupdf/default.nix b/pkgs/applications/misc/mupdf/default.nix
index 20ded9486f7..eccd11f6041 100644
--- a/pkgs/applications/misc/mupdf/default.nix
+++ b/pkgs/applications/misc/mupdf/default.nix
@@ -1,17 +1,18 @@
{ stdenv, fetchurl, pkgconfig, zlib, freetype, libjpeg, jbig2dec, openjpeg
, libX11, libXext }:
stdenv.mkDerivation rec {
- name = "mupdf-0.7";
+ name = "mupdf-1.1";
src = fetchurl {
- url = "http://mupdf.com/download/archive/${name}.tar.gz";
- sha256 = "e7f6307fa472575d27fe893e787ddb3fc927f03ba4ae23105f917189e81960a6";
+ url = "http://mupdf.com/download/archive/${name}-source.tar.gz";
+ sha256 = "e54666bbe1d9f0a5464349bfbeffcf676c4a0fcad3efb89eba1f20d4ac991f34";
};
buildInputs = [ pkgconfig zlib freetype libjpeg jbig2dec openjpeg libX11 libXext ];
preBuild = ''
export makeFlags="prefix=$out"
+ export NIX_CFLAGS_COMPILE=" $NIX_CFLAGS_COMPILE -I$(echo ${openjpeg}/include/openjpeg-*) "
'';
meta = {
diff --git a/pkgs/applications/misc/nut/default.nix b/pkgs/applications/misc/nut/default.nix
index 3d4e5136021..51ae8633a7c 100644
--- a/pkgs/applications/misc/nut/default.nix
+++ b/pkgs/applications/misc/nut/default.nix
@@ -1,13 +1,14 @@
-{stdenv, fetchurl, pkgconfig, neon, libusb, hal, openssl, udev}:
+{ stdenv, fetchurl, pkgconfig, neon, libusb, openssl, udev }:
stdenv.mkDerivation {
name = "nut-2.6.1";
+
src = fetchurl {
url = http://www.networkupstools.org/source/2.6/nut-2.6.1.tar.gz;
sha256 = "f5c46b856c0cf5b7f0e4b22d82b670af64cc98717a90eaac8723dd402a181c00";
};
- buildInputs = [pkgconfig neon libusb hal openssl udev];
+ buildInputs = [ pkgconfig neon libusb openssl udev ];
configureFlags = [
"--with-all"
diff --git a/pkgs/applications/misc/synergy/default.nix b/pkgs/applications/misc/synergy/default.nix
index cb79bf592fe..a267a29c7e2 100644
--- a/pkgs/applications/misc/synergy/default.nix
+++ b/pkgs/applications/misc/synergy/default.nix
@@ -1,31 +1,29 @@
-{ stdenv, fetchurl, x11, xextproto, libXtst, inputproto, libXi
-, automake, autoconf, sourceFromHead }:
+{ stdenv, fetchurl, cmake, x11, libX11, libXi, libXtst }:
-stdenv.mkDerivation {
- name = "synergy-cvs";
+stdenv.mkDerivation rec {
+ name = "synergy-1.4.10";
- # note: There is a fork:
- # http://code.google.com/p/synergy-plus
+ src = fetchurl {
+ url = "http://synergy.googlecode.com/files/${name}-Source.tar.gz";
+ sha256 = "1ghgf96gbk4sdw8sqlc3pjschkmmqybihi12mg6hi26gnk7a5m86";
+ };
- # REGION AUTO UPDATE: { name="synergy"; type = "cvs"; cvsRoot = ":pserver:anonymous@synergy2.cvs.sourceforge.net:/cvsroot/synergy2"; module="syngery"; }
- src= sourceFromHead "synergy-F_23-55-02.tar.gz"
- (fetchurl { url = "http://mawercer.de/~nix/repos/synergy-F_23-55-02.tar.gz"; sha256 = "ae16a9b59039a32e383e71397405d7b610de6c6902c03177c2496bac440d3e28"; });
- # END
+ buildInputs = [ cmake x11 libX11 libXi libXtst ];
+
+ # At this moment make install doesn't work for synergy
+ # http://synergy-foss.org/spit/issues/details/3317/
- buildInputs = [ x11 xextproto libXtst inputproto libXi automake autoconf ];
-
- preConfigure = "autoreconf";
-
- patches =
- [ (fetchurl {
- url = http://mawercer.de/~nix/synergy-gcc43-r2.patch.gz;
- sha256 = "0wnj5k93ybj7jg8ml1i1brwsnszfh41117q2qh7r8xr9m37997b7";
- })
- ];
+
+ installPhase = ''
+ ensureDir $out/bin
+ cp ../bin/synergyc $out/bin
+ cp ../bin/synergys $out/bin
+ cp ../bin/synergyd $out/bin
+ '';
meta = {
description = "Tool to share the mouse keyboard and the clipboard between computers";
- homepage = http://synergy2.sourceforge.net;
+ homepage = http://synergy-foss.org;
license = "GPL";
};
}
diff --git a/pkgs/applications/misc/taskwarrior/default.nix b/pkgs/applications/misc/taskwarrior/default.nix
index 95f9de2f42b..dbb3c3f6a4e 100644
--- a/pkgs/applications/misc/taskwarrior/default.nix
+++ b/pkgs/applications/misc/taskwarrior/default.nix
@@ -1,29 +1,22 @@
-{ stdenv, fetchurl, cmake, lua5 }:
+{stdenv, fetchurl, cmake}:
stdenv.mkDerivation {
- name = "task-warrior-2.0.0";
-
- src = fetchurl {
- url = http://www.taskwarrior.org/download/task-2.0.0.tar.gz;
- sha256 = "1gbmcynj2n2c9dcykxn27ffk034mvm0zri5hqhfdx593dhv1x5vq";
- };
-
- NIX_LDFLAGS = "-ldl";
-
- buildNativeInputs = [ cmake ];
- buildInputs = [ lua5 ];
-
- crossAttrs = {
- preConfigure = ''
- export NIX_CROSS_LDFLAGS="$NIX_CROSS_LDFLAGS -ldl"
- '';
- };
+ name = "taskwarrior-2.1.2";
enableParallelBuilding = true;
+ src = fetchurl {
+ url = http://www.taskwarrior.org/download/task-2.1.2.tar.gz;
+ sha256 = "0diy72sgiyvfl6bdy7k3qwv3ijx2z1y477smkk6jsbbd9fsp2lfg";
+ };
+
+ buildInputs = [ cmake ];
+
meta = {
- description = "Command-line todo list manager";
- homepage = http://taskwarrior.org/;
- license = "GPLv2+";
+ description = "GTD (getting things done) implementation";
+ homepage = http://taskwarrior.org;
+ license = stdenv.lib.licenses.mit;
+ maintainers = [stdenv.lib.maintainers.marcweber];
+ platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/applications/misc/xterm/default.nix b/pkgs/applications/misc/xterm/default.nix
index b4fab591ef4..ef2d846dd2e 100644
--- a/pkgs/applications/misc/xterm/default.nix
+++ b/pkgs/applications/misc/xterm/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, fetchurl, xorg, ncurses, freetype, pkgconfig }:
+{ stdenv, fetchurl, xorg, ncurses, freetype, fontconfig, pkgconfig }:
stdenv.mkDerivation rec {
- name = "xterm-276";
-
+ name = "xterm-281";
+
src = fetchurl {
url = "ftp://invisible-island.net/xterm/${name}.tgz";
- sha256 = "1k3k025z3vl91sc8i7f5lmnsb1rsblpbijri9vnxgpynw4wgrc7b";
+ sha256 = "1yrjjya7z5s3fi0iiaxgna35jh0ib2zx1yafyng35jma6qbwhxx7";
};
-
+
buildInputs =
[ xorg.libXaw xorg.xproto xorg.libXt xorg.libXext xorg.libX11 xorg.libSM xorg.libICE
- ncurses freetype pkgconfig xorg.libXft xorg.luit
+ ncurses freetype fontconfig pkgconfig xorg.libXft xorg.luit
];
-
+
configureFlags =
''
--enable-wide-chars --enable-256-color
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
'';
# Work around broken "plink.sh".
- NIX_LDFLAGS = "-lXmu -lXt -lICE -lX11";
+ NIX_LDFLAGS = "-lXmu -lXt -lICE -lX11 -lfontconfig";
# Hack to get xterm built with the feature of releasing a possible setgid of 'utmp',
# decided by the sysadmin to allow the xterm reporting to /var/run/utmp
diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix
index 33f9283b47a..acfb43e7caa 100644
--- a/pkgs/applications/networking/browsers/chromium/default.nix
+++ b/pkgs/applications/networking/browsers/chromium/default.nix
@@ -5,6 +5,7 @@
, libevent, expat, libjpeg
, libpng, libxml2, libxslt
, xdg_utils, yasm, zlib
+, libusb1, libexif
, python, perl, pkgconfig
, nspr, udev, krb5
@@ -55,21 +56,23 @@ let
use_system_flac = true;
use_system_libevent = true;
use_system_libexpat = true;
+ use_system_libexif = true;
use_system_libjpeg = true;
use_system_libpng = true;
+ use_system_libusb = true;
use_system_libxml = true;
use_system_speex = true;
use_system_ssl = cfg.openssl;
use_system_stlport = true;
use_system_xdg_utils = true;
use_system_yasm = true;
- use_system_zlib = true;
+ use_system_zlib = false; # http://crbug.com/143623
use_system_harfbuzz = false;
use_system_icu = false;
- use_system_libwebp = false; # See chromium issue #133161
+ use_system_libwebp = false; # http://crbug.com/133161
use_system_skia = false;
- use_system_sqlite = false; # See chromium issue #22208
+ use_system_sqlite = false; # http://crbug.com/22208
use_system_v8 = false;
};
@@ -78,23 +81,20 @@ let
libevent expat libjpeg
libpng libxml2 libxslt
xdg_utils yasm zlib
+ libusb1 libexif
];
- seccompPatch = let
- pre22 = versionOlder sourceInfo.version "22.0.0.0";
- in if pre22 then ./enable_seccomp.patch else ./enable_seccomp22.patch;
+ maybeSeccompPatch = let
+ pre23 = versionOlder sourceInfo.version "23.0.0.0";
+ in optional pre23 ./enable_seccomp.patch;
- # XXX: this reverts r151720 to prevent http://crbug.com/143623
- maybeRevertZlibChanges = let
- below22 = versionOlder sourceInfo.version "22.0.0.0";
+ maybeBpfTemporaryFix = let
patch = fetchurl {
- name = "revert-r151720";
- url = "http://git.chromium.org/gitweb/?p=chromium.git;a=commitdiff_plain;"
- + "hp=4419ec6414b33b6b19bb2e380b4998ed5193ecab;"
- + "h=0fabb4fda7059a8757422e8a44e70deeab28e698";
- sha256 = "0n0d6mkg89g8q63cifapzpg9dxfs2n6xvk4k13szhymvf67b77pf";
+ url = "https://chromiumcodereview.appspot.com/download/issue11073003_6001_7001.diff";
+ sha256 = "bf61871cdaa8fea27ce15482a17048f67b426a55813c3832f9bd39ec47a9eb06";
};
- in optional (!below22) patch;
+ needPatch = !versionOlder sourceInfo.version "23.0.1271.0";
+ in optional needPatch patch;
in stdenv.mkDerivation rec {
name = "${packageName}-${version}";
@@ -127,10 +127,10 @@ in stdenv.mkDerivation rec {
prePatch = "patchShebangs .";
- patches = optional (!cfg.selinux) seccompPatch
- ++ optional cfg.cups ./cups_allow_deprecated.patch
+ patches = optional cfg.cups ./cups_allow_deprecated.patch
++ optional cfg.pulseaudio ./pulseaudio_array_bounds.patch
- ++ maybeRevertZlibChanges;
+ ++ maybeSeccompPatch
+ ++ maybeBpfTemporaryFix;
postPatch = optionalString cfg.openssl ''
cat $opensslPatches | patch -p1 -d third_party/openssl/openssl
diff --git a/pkgs/applications/networking/browsers/chromium/enable_seccomp.patch b/pkgs/applications/networking/browsers/chromium/enable_seccomp.patch
index edeee37f19c..f947d796f18 100644
--- a/pkgs/applications/networking/browsers/chromium/enable_seccomp.patch
+++ b/pkgs/applications/networking/browsers/chromium/enable_seccomp.patch
@@ -1,12 +1,12 @@
-diff --git a/content/common/seccomp_sandbox.h b/content/common/seccomp_sandbox.h
-index a07d6f3..a622a35 100644
---- a/content/common/seccomp_sandbox.h
-+++ b/content/common/seccomp_sandbox.h
-@@ -29,15 +29,9 @@ static bool SeccompSandboxEnabled() {
- // TODO(evan): turn on for release too once we've flushed out all the bugs,
- // allowing us to delete this file entirely and just rely on the "disabled"
- // switch.
--#ifdef NDEBUG
+diff --git a/content/common/sandbox_linux.cc b/content/common/sandbox_linux.cc
+index d4618e5..108f846 100644
+--- a/content/common/sandbox_linux.cc
++++ b/content/common/sandbox_linux.cc
+@@ -38,15 +38,9 @@ void LogSandboxStarted(const std::string& sandbox_name) {
+ // Implement the command line enabling logic for seccomp-legacy.
+ bool IsSeccompLegacyDesired() {
+ #if defined(SECCOMP_SANDBOX)
+-#if defined(NDEBUG)
- // Off by default; allow turning on with a switch.
- return CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableSeccompSandbox);
@@ -15,6 +15,6 @@ index a07d6f3..a622a35 100644
return !CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableSeccompSandbox);
-#endif // NDEBUG
- }
#endif // SECCOMP_SANDBOX
-
+ return false;
+ }
diff --git a/pkgs/applications/networking/browsers/chromium/enable_seccomp22.patch b/pkgs/applications/networking/browsers/chromium/enable_seccomp22.patch
deleted file mode 100644
index f947d796f18..00000000000
--- a/pkgs/applications/networking/browsers/chromium/enable_seccomp22.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/content/common/sandbox_linux.cc b/content/common/sandbox_linux.cc
-index d4618e5..108f846 100644
---- a/content/common/sandbox_linux.cc
-+++ b/content/common/sandbox_linux.cc
-@@ -38,15 +38,9 @@ void LogSandboxStarted(const std::string& sandbox_name) {
- // Implement the command line enabling logic for seccomp-legacy.
- bool IsSeccompLegacyDesired() {
- #if defined(SECCOMP_SANDBOX)
--#if defined(NDEBUG)
-- // Off by default; allow turning on with a switch.
-- return CommandLine::ForCurrentProcess()->HasSwitch(
-- switches::kEnableSeccompSandbox);
--#else
- // On by default; allow turning off with a switch.
- return !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableSeccompSandbox);
--#endif // NDEBUG
- #endif // SECCOMP_SANDBOX
- return false;
- }
diff --git a/pkgs/applications/networking/browsers/chromium/sources.nix b/pkgs/applications/networking/browsers/chromium/sources.nix
index e4e72617bc4..dbb0de72f30 100644
--- a/pkgs/applications/networking/browsers/chromium/sources.nix
+++ b/pkgs/applications/networking/browsers/chromium/sources.nix
@@ -1,18 +1,18 @@
# This file is autogenerated from update.sh in the same directory.
{
dev = {
- version = "23.0.1262.0";
- url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-23.0.1262.0.tar.bz2";
- sha256 = "19sqiv2vg9qy1kj6s12sq5aknvp3969yw26szwp54ipfv7lxqjh6";
+ version = "24.0.1284.2";
+ url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-24.0.1284.2.tar.bz2";
+ sha256 = "0lp3r4n3d71wy2ndzcfwvrp9vc1ii98pxip1c8hfinz994ca1ykx";
};
beta = {
- version = "22.0.1229.56";
- url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-22.0.1229.56.tar.bz2";
- sha256 = "0wynq27yz1aslsnrjmf47dwbglblpfida2kmgv23l804mgdj19gv";
+ version = "23.0.1271.26";
+ url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-23.0.1271.26.tar.bz2";
+ sha256 = "1iimpmm5lm5rvak49320lmmvwqr8xv4znp4h1pf65jzzx0apbgkh";
};
stable = {
- version = "21.0.1180.89";
- url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-21.0.1180.89.tar.bz2";
- sha256 = "1i9mjbjj3aywg03hd59m9j5gq5b5fl8nvw56g47q8s9k1bcsik0n";
+ version = "22.0.1229.94";
+ url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-22.0.1229.94.tar.bz2";
+ sha256 = "1bqwlgmn0dm1xvd6v52zf9gjmykgq4fnw7rancbplfpl3rl7xbx0";
};
}
diff --git a/pkgs/applications/networking/browsers/firefox/16.0.nix b/pkgs/applications/networking/browsers/firefox/16.0.nix
new file mode 100644
index 00000000000..063d36ccfcf
--- /dev/null
+++ b/pkgs/applications/networking/browsers/firefox/16.0.nix
@@ -0,0 +1,185 @@
+{ stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL
+, libjpeg, libpng, zlib, cairo, dbus, dbus_glib, bzip2, xlibs
+, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
+, yasm, mesa, sqlite, unzip, makeWrapper, pysqlite
+
+, # If you want the resulting program to call itself "Firefox" instead
+ # of "Shiretoko" or whatever, enable this option. However, those
+ # binaries may not be distributed without permission from the
+ # Mozilla Foundation, see
+ # http://www.mozilla.org/foundation/trademarks/.
+ enableOfficialBranding ? false
+}:
+
+assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
+
+rec {
+
+ firefoxVersion = "16.0.1";
+
+ xulVersion = "16.0.1"; # this attribute is used by other packages
+
+
+ src = fetchurl {
+ urls = [
+ # It is better to use this url for official releases, to take load off Mozilla's ftp server.
+ "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"
+ # Fall back to this url for versions not available at releases.mozilla.org.
+ "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"
+ ];
+ sha1 = "ad5723fcf4ec6c6734e2022cecad174290fa425e";
+ };
+
+ commonConfigureFlags =
+ [ "--enable-optimize"
+ #"--enable-profiling"
+ "--disable-debug"
+ "--enable-strip"
+ "--with-system-jpeg"
+ "--with-system-zlib"
+ "--with-system-bz2"
+ "--with-system-nspr"
+ "--with-system-nss"
+ # "--with-system-png" # <-- "--with-system-png won't work because the system's libpng doesn't have APNG support"
+ # "--enable-system-cairo" # disabled for the moment because our Cairo is too old
+ "--enable-system-sqlite"
+ "--disable-crashreporter"
+ "--disable-tests"
+ "--disable-necko-wifi" # maybe we want to enable this at some point
+ "--disable-installer"
+ "--disable-updater"
+ ];
+
+
+ xulrunner = stdenv.mkDerivation rec {
+ name = "xulrunner-${xulVersion}";
+
+ inherit src;
+
+ buildInputs =
+ [ pkgconfig gtk perl zip libIDL libjpeg libpng zlib cairo bzip2
+ python dbus dbus_glib pango freetype fontconfig xlibs.libXi
+ xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file
+ alsaLib nspr nss libnotify xlibs.pixman yasm mesa
+ xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite
+ xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper
+ ];
+
+ configureFlags =
+ [ "--enable-application=xulrunner"
+ "--disable-javaxpcom"
+ ] ++ commonConfigureFlags;
+
+ enableParallelBuilding = true;
+
+ preConfigure =
+ ''
+ export NIX_LDFLAGS="$NIX_LDFLAGS -L$out/lib/xulrunner-${xulVersion}"
+
+ mkdir ../objdir
+ cd ../objdir
+ configureScript=../mozilla-release/configure
+ ''; # */
+
+ #installFlags = "SKIP_GRE_REGISTRATION=1";
+
+ postInstall = ''
+ # Fix run-mozilla.sh search
+ libDir=$(cd $out/lib && ls -d xulrunner-[0-9]*)
+ echo libDir: $libDir
+ test -n "$libDir"
+ cd $out/bin
+ rm xulrunner
+
+ for i in $out/lib/$libDir/*; do
+ file $i;
+ if file $i | grep executable &>/dev/null; then
+ echo -e '#! /bin/sh\n"'"$i"'" "$@"' > "$out/bin/$(basename "$i")";
+ chmod a+x "$out/bin/$(basename "$i")";
+ fi;
+ done
+ for i in $out/lib/$libDir/*.so; do
+ patchelf --set-rpath "$(patchelf --print-rpath "$i"):$out/lib/$libDir" $i || true
+ done
+ for i in $out/lib/$libDir/{plugin-container,xulrunner,xulrunner-stub}; do
+ wrapProgram $i --prefix LD_LIBRARY_PATH ':' "$out/lib/$libDir"
+ done
+ rm -f $out/bin/run-mozilla.sh
+ ''; # */
+
+ meta = {
+ description = "Mozilla Firefox XUL runner";
+ homepage = http://www.mozilla.com/en-US/firefox/;
+ };
+
+ passthru = { inherit gtk; version = xulVersion; };
+ };
+
+
+ firefox = stdenv.mkDerivation rec {
+ name = "firefox-${firefoxVersion}";
+
+ inherit src;
+
+ enableParallelBuilding = true;
+
+ buildInputs =
+ [ pkgconfig gtk perl zip libIDL libjpeg zlib cairo bzip2 python
+ dbus dbus_glib pango freetype fontconfig alsaLib nspr nss libnotify
+ xlibs.pixman yasm mesa sqlite file unzip pysqlite
+ ];
+
+ propagatedBuildInputs = [xulrunner];
+
+ configureFlags =
+ [ "--enable-application=browser"
+ "--with-libxul-sdk=${xulrunner}/lib/xulrunner-devel-${xulrunner.version}"
+ "--enable-chrome-format=jar"
+ "--disable-elf-hack"
+ ]
+ ++ commonConfigureFlags
+ ++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding";
+
+ makeFlags = [
+ "SYSTEM_LIBXUL=1"
+ ];
+
+ # Hack to work around make's idea of -lbz2 dependency
+ preConfigure =
+ ''
+ find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
+ stdenv.lib.concatStringsSep ":"
+ (map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc]))
+ }' ';'
+ '';
+
+ postInstall =
+ ''
+ ln -s ${xulrunner}/lib/xulrunner-${xulrunner.version} $(echo $out/lib/firefox-*)/xulrunner
+ for j in $out/bin/*; do
+ i="$(readlink "$j")";
+ file $i;
+ if file $i | grep executable &>/dev/null; then
+ rm "$out/bin/$(basename "$i")"
+ echo -e '#! /bin/sh\nexec "'"$i"'" "$@"' > "$out/bin/$(basename "$i")"
+ chmod a+x "$out/bin/$(basename "$i")"
+ fi;
+ done;
+ cd "$out/lib/"firefox-*
+ rm firefox
+ echo -e '#!${stdenv.shell}\n${xulrunner}/bin/xulrunner "'"$PWD"'/application.ini" "$@"' > firefox
+ chmod a+x firefox
+ ''; # */
+
+ meta = {
+ description = "Mozilla Firefox - the browser, reloaded";
+ homepage = http://www.mozilla.com/en-US/firefox/;
+ maintainers = [ stdenv.lib.maintainers.eelco ];
+ };
+
+ passthru = {
+ inherit gtk xulrunner nspr;
+ isFirefox3Like = true;
+ };
+ };
+}
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/builder.sh b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/builder.sh
deleted file mode 100644
index b0f8a2638c1..00000000000
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/builder.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-source $stdenv/setup
-
-dontStrip=1
-dontPatchELF=1
-sourceRoot=$TMPDIR
-
-unpackPhase() {
- tar xvzf $src;
- for a in *; do
- if [ -d $a ]; then
- cd $a
- break
- fi
- done
-}
-
-installPhase() {
- mkdir -p $out/lib/mozilla/plugins
- cp -pv libflashplayer.so $out/lib/mozilla/plugins
- patchelf --set-rpath "$rpath" $out/lib/mozilla/plugins/libflashplayer.so
-}
-
-genericBuild
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/default.nix
deleted file mode 100644
index ad6867ab5be..00000000000
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/default.nix
+++ /dev/null
@@ -1,88 +0,0 @@
-{ stdenv
-, fetchurl
-, zlib
-, alsaLib
-, curl
-, nss
-, nspr
-, fontconfig
-, freetype
-, expat
-, libX11
-, libXext
-, libXrender
-, libXt
-, gtk
-, glib
-, pango
-, cairo
-, atk
-, gdk_pixbuf
-, debug ? false
-
-/* you have to add ~/mm.cfg :
-
- TraceOutputFileEnable=1
- ErrorReportingEnable=1
- MaxWarnings=1
-
- in order to read the flash trace at ~/.macromedia/Flash_Player/Logs/flashlog.txt
- Then FlashBug (a FireFox plugin) shows the log as well
-*/
-
-}:
-
-let
-
- src =
- if stdenv.system == "x86_64-linux" then
- if debug then
- # no plans to provide a x86_64 version:
- # http://labs.adobe.com/technologies/flashplayer10/faq.html
- throw "no x86_64 debugging version available"
- else {
- # -> http://labs.adobe.com/downloads/flashplayer10.html
- version = "10.3.181.34";
- url = http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz;
- sha256 = "1w2zs2f0q1vpx4ia9pj1k4p830dwz7ypyn302mi48wcpz1wzc1gg";
- }
- else if stdenv.system == "i686-linux" then
- if debug then {
- # The debug version also contains a player
- version = "10.2_p2-debug-r092710";
- url = http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p2_32bit_debug_linux_092710.tar.gz;
- sha256 = "11w3mxa39l4mnlsqzlwbdh1sald549afyqbx2kbid7in5qzamlcc";
- } else {
- version = "10.3.183.10";
- url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz;
- sha256 = "0fj51dg0aa813b44yn8dvmmvw4qwi8vbi0x8n1bcqrcld3sbpmfz";
- }
- else throw "Flash Player is not supported on this platform";
-
-in
-
-stdenv.mkDerivation {
- name = "flashplayer-${src.version}";
-
- builder = ./builder.sh;
-
- src = fetchurl { inherit (src) url sha256; };
-
- inherit zlib alsaLib;
-
- passthru = {
- mozillaPlugin = "/lib/mozilla/plugins";
- };
-
- rpath = stdenv.lib.makeLibraryPath
- [ zlib alsaLib curl nss nspr fontconfig freetype expat libX11
- libXext libXrender libXt gtk glib pango atk cairo gdk_pixbuf
- ];
-
- buildPhase = ":";
-
- meta = {
- description = "Adobe Flash Player browser plugin";
- homepage = http://www.adobe.com/products/flashplayer/;
- };
-}
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-11/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-11/default.nix
index 260edd360c6..2eb34f68b8b 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-11/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-11/default.nix
@@ -11,8 +11,9 @@
, libX11
, libXext
, libXrender
+, libXcursor
, libXt
-, gtk
+, gtk
, glib
, pango
, cairo
@@ -40,11 +41,11 @@ let
# no plans to provide a x86_64 version:
# http://labs.adobe.com/technologies/flashplayer10/faq.html
throw "no x86_64 debugging version available"
- else {
+ else rec {
# -> http://labs.adobe.com/downloads/flashplayer10.html
- version = "11.1.102.55";
- url = http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.55/install_flash_player_11_linux.x86_64.tar.gz;
- sha256 = "09swldv174z23pnixy9fxkw084qkl3bbrxfpf159fbjdgvwihn1l";
+ version = "11.2.202.238";
+ url = "http://fpdownload.macromedia.com/get/flashplayer/pdc/${version}/install_flash_player_11_linux.x86_64.tar.gz";
+ sha256 = "07d09xjnn2hm877psmv9a6c4cfighxw24p0apq2ykawnrjpjc6zn";
}
else if stdenv.system == "i686-linux" then
if debug then {
@@ -52,10 +53,10 @@ let
version = "11.1";
url = http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_plugin_debug.i386.tar.gz;
sha256 = "1z3649lv9sh7jnwl8d90a293nkaswagj2ynhsr4xmwiy7c0jz2lk";
- } else {
- version = "11.1.102.55";
- url = "http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.55/install_flash_player_11_linux.i386.tar.gz";
- sha256 = "08zdnl06lqyk2k3yq4lgphqd3ci2267448mghlv1p0hjrdq253k7";
+ } else rec {
+ version = "11.2.202.238";
+ url = "http://fpdownload.macromedia.com/get/flashplayer/pdc/${version}/install_flash_player_11_linux.i386.tar.gz";
+ sha256 = "0p05pr4vmc4536axjyljhxhqizq4ihslar8g638dj24251byp7ca";
}
else throw "Flash Player is not supported on this platform";
@@ -65,7 +66,7 @@ stdenv.mkDerivation {
name = "flashplayer-${src.version}";
builder = ./builder.sh;
-
+
src = fetchurl { inherit (src) url sha256; };
inherit zlib alsaLib;
@@ -76,7 +77,7 @@ stdenv.mkDerivation {
rpath = stdenv.lib.makeLibraryPath
[ zlib alsaLib curl nss nspr fontconfig freetype expat libX11
- libXext libXrender libXt gtk glib pango atk cairo gdk_pixbuf
+ libXext libXrender libXcursor libXt gtk glib pango atk cairo gdk_pixbuf
];
buildPhase = ":";
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/builder.sh b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/builder.sh
deleted file mode 100644
index 86ecd2c3345..00000000000
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/builder.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-source $stdenv/setup
-
-dontStrip=1
-dontPatchELF=1
-
-sourceRoot=.
-
-installPhase() {
- mkdir -p $out/lib/mozilla/plugins
- cp -p libflashplayer.so $out/lib/mozilla/plugins
- patchelf --set-rpath $rpath $out/lib/mozilla/plugins/libflashplayer.so
-}
-
-genericBuild
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.nix
deleted file mode 100644
index 913aa985583..00000000000
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.nix
+++ /dev/null
@@ -1,47 +0,0 @@
-{ stdenv
-, fetchurl
-, zlib
-, alsaLib
-, nss
-, nspr
-, fontconfig
-, freetype
-, expat
-, libX11
-, libXext
-, libXrender
-, libXt
-, gtk
-, glib
-, pango
-, atk
-
-, customSrc ? null
-}:
-
-assert stdenv.system == "i686-linux";
-
-stdenv.mkDerivation {
- name = "flashplayer-9.0.124.0";
-
- builder = ./builder.sh;
- src = if customSrc == null then
- fetchurl {
- url = http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz;
- sha256 = "1cnsjgmy7rwj3spzb5mmpmvzxjp435jisl0dd8s4rf4xskyy6d6r";
- }
- else customSrc;
-
- inherit zlib alsaLib;
-
- passthru = {
- mozillaPlugin = "/lib/mozilla/plugins";
- };
-
- rpath = stdenv.lib.makeLibraryPath [zlib alsaLib nss nspr fontconfig freetype expat libX11 libXext libXrender libXt gtk glib pango atk] ;
-
- meta = {
- description = "Adobe Flash Player browser plugin";
- homepage = http://www.adobe.com/products/flashplayer/;
- };
-}
diff --git a/pkgs/applications/networking/browsers/opera/default.nix b/pkgs/applications/networking/browsers/opera/default.nix
index 8c3cd9f11cd..ba052738ad5 100644
--- a/pkgs/applications/networking/browsers/opera/default.nix
+++ b/pkgs/applications/networking/browsers/opera/default.nix
@@ -13,18 +13,18 @@ let
in
stdenv.mkDerivation rec {
- name = "opera-12.00-1467";
+ name = "opera-12.02-1578";
src =
if stdenv.system == "i686-linux" then
fetchurl {
- url = "${mirror}/linux/1200/${name}.i386.linux.tar.xz";
- sha256 = "d5683f5a4cf0cfd9ce715359b77909c7923c85bcec98513907c1844285356fdc";
+ url = "${mirror}/linux/1202/${name}.i386.linux.tar.xz";
+ sha256 = "60ccef14673818a8690fe3b76f861d180e2d8d3b87513b1652e6117c6dff3e86";
}
else if stdenv.system == "x86_64-linux" then
fetchurl {
- url = "${mirror}/linux/1200/${name}.x86_64.linux.tar.xz";
- sha256 = "7c3dbe122b1fd20123f1b48a420dea080cc24ede4183d47d66b383c2b7ca5051";
+ url = "${mirror}/linux/1202/${name}.x86_64.linux.tar.xz";
+ sha256 = "e861f14b984898b5a2c0d04915e515a5677152dc302b614a3ac1bb13da7a9b81";
}
else throw "Opera is not supported on ${stdenv.system} (only i686-linux and x86_64 linux are supported)";
diff --git a/pkgs/applications/networking/instant-messengers/psi/default.nix b/pkgs/applications/networking/instant-messengers/psi/default.nix
index 2c6ba36c44f..5750476cc5c 100644
--- a/pkgs/applications/networking/instant-messengers/psi/default.nix
+++ b/pkgs/applications/networking/instant-messengers/psi/default.nix
@@ -1,28 +1,33 @@
-{ stdenv, fetchurl, aspell, qt4, zlib, sox, libX11, xproto, libSM,
- libICE, qca2, pkgconfig, qca2_ossl, liboil, speex, callPackage, which, glib }:
+{ stdenv, fetchurl, aspell, qt4, zlib, sox, libX11, xproto, libSM
+, libICE, qca2, pkgconfig, qca2_ossl, liboil, speex, callPackage, which, glib
+, libXScrnSaver, scrnsaverproto
+}:
stdenv.mkDerivation rec {
- name = "psi-0.14";
-
+ name = "psi-0.15";
+
src = fetchurl {
url = "mirror://sourceforge/psi/${name}.tar.bz2";
- sha256 = "1h54a1qryfva187sw9qnb4lv1d3h3lysqgw55v727swvslh4l0da";
+ sha256 = "593b5ddd7934af69c245afb0e7290047fd7dedcfd8765baca5a3a024c569c7e6";
};
- buildInputs = [aspell qt4 zlib sox libX11 xproto libSM libICE
- qca2 qca2_ossl pkgconfig which glib];
-
- NIX_CFLAGS_COMPILE="-I${qca2}/include/QtCrypto";
-
- NIX_LDFLAGS="-lqca";
-
- configureFlags =
- [ " --with-zlib-inc=${zlib}/include "
- " --disable-bundled-qca"
+ buildInputs =
+ [ aspell qt4 zlib sox libX11 xproto libSM libICE
+ qca2 qca2_ossl pkgconfig which glib scrnsaverproto libXScrnSaver
];
+ NIX_CFLAGS_COMPILE="-I${qca2}/include/QtCrypto";
+
+ NIX_LDFLAGS="-lqca";
+
psiMedia = callPackage ./psimedia.nix { };
+ enableParallelBuilding = true;
+
+ configureFlags = [
+ "--with-aspell-inc=${aspell}/include"
+ ];
+
postInstall = ''
PSI_PLUGINS="$out/lib/psi/plugins"
mkdir -p "$PSI_PLUGINS"
@@ -34,9 +39,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Psi, an XMPP (Jabber) client";
- maintainers = with stdenv.lib.maintainers;
- [raskin];
- platforms = with stdenv.lib.platforms;
- linux;
+ maintainers = [ stdenv.lib.maintainers.raskin ];
+ platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/applications/networking/instant-messengers/psi/glib-2.32.patch b/pkgs/applications/networking/instant-messengers/psi/glib-2.32.patch
new file mode 100644
index 00000000000..49988c253bd
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/psi/glib-2.32.patch
@@ -0,0 +1,54 @@
+http://sources2.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-im/psimedia/files/psimedia-1.0.3-glib2.32.patch?view=log
+
+Index: psimedia-1.0.3/gstprovider/gstcustomelements/gstcustomelements.h
+===================================================================
+--- psimedia-1.0.3.orig/gstprovider/gstcustomelements/gstcustomelements.h
++++ psimedia-1.0.3/gstprovider/gstcustomelements/gstcustomelements.h
+@@ -21,7 +21,7 @@
+ #ifndef GSTCUSTOMELEMENTS_H
+ #define GSTCUSTOMELEMENTS_H
+
+-#include
++#include
+ #include
+ #include
+ #include
+Index: psimedia-1.0.3/gstprovider/gstelements/static/gstelements.h
+===================================================================
+--- psimedia-1.0.3.orig/gstprovider/gstelements/static/gstelements.h
++++ psimedia-1.0.3/gstprovider/gstelements/static/gstelements.h
+@@ -21,7 +21,7 @@
+ #ifndef PSI_GSTELEMENTS_H
+ #define PSI_GSTELEMENTS_H
+
+-#include
++#include
+
+ G_BEGIN_DECLS
+
+Index: psimedia-1.0.3/gstprovider/gstthread.h
+===================================================================
+--- psimedia-1.0.3.orig/gstprovider/gstthread.h
++++ psimedia-1.0.3/gstprovider/gstthread.h
+@@ -22,7 +22,7 @@
+ #define PSI_GSTTHREAD_H
+
+ #include
+-#include
++#include
+
+ namespace PsiMedia {
+
+Index: psimedia-1.0.3/gstprovider/rwcontrol.h
+===================================================================
+--- psimedia-1.0.3.orig/gstprovider/rwcontrol.h
++++ psimedia-1.0.3/gstprovider/rwcontrol.h
+@@ -28,7 +28,7 @@
+ #include
+ #include
+ #include
+-#include
++#include
+ #include "psimediaprovider.h"
+ #include "rtpworker.h"
+
diff --git a/pkgs/applications/networking/instant-messengers/psi/psimedia.nix b/pkgs/applications/networking/instant-messengers/psi/psimedia.nix
index df821da42f2..993a018625e 100644
--- a/pkgs/applications/networking/instant-messengers/psi/psimedia.nix
+++ b/pkgs/applications/networking/instant-messengers/psi/psimedia.nix
@@ -1,5 +1,5 @@
-{stdenv, fetchurl, qt4, gstreamer, gst_plugins_base, liboil, speex, which
-, glib, pkgconfig}:
+{ stdenv, fetchurl, qt4, gstreamer, gst_plugins_base, liboil, speex, which
+, glib, pkgconfig }:
stdenv.mkDerivation rec {
name = "psimedia";
@@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "0fxjdz8afh75gfx2msysb1gss6zx578l3224jvc9jhm99w1ii781";
};
- buildInputs = [qt4 gstreamer gst_plugins_base liboil speex which glib pkgconfig];
+ patches = [ ./glib-2.32.patch ];
+
+ buildInputs = [ qt4 gstreamer gst_plugins_base liboil speex which glib pkgconfig ];
configurePhase = ''./configure'';
diff --git a/pkgs/applications/networking/instant-messengers/skype/default.nix b/pkgs/applications/networking/instant-messengers/skype/default.nix
index ddbba59e145..51e9a623444 100644
--- a/pkgs/applications/networking/instant-messengers/skype/default.nix
+++ b/pkgs/applications/networking/instant-messengers/skype/default.nix
@@ -54,13 +54,11 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/skype
- # Desktop icon for Skype
- patch skype.desktop << EOF
- 5c5
- < Icon=skype.png
- ---
- > Icon=$out/opt/skype/icons/SkypeBlue_48x48.png
- EOF
+ # Fixup desktop file
+ substituteInPlace skype.desktop --replace \
+ "Icon=skype.png" "Icon=$out/opt/skype/icons/SkypeBlue_48x48.png"
+ substituteInPlace skype.desktop --replace \
+ "Terminal=0" "Terminal=false"
mkdir -p $out/share/applications
mv skype.desktop $out/share/applications
'';
diff --git a/pkgs/applications/networking/irc/weechat/default.nix b/pkgs/applications/networking/irc/weechat/default.nix
index a891c145b76..eb1a9c4474f 100644
--- a/pkgs/applications/networking/irc/weechat/default.nix
+++ b/pkgs/applications/networking/irc/weechat/default.nix
@@ -2,12 +2,12 @@
, zlib, curl , pkgconfig, libgcrypt, ruby, lua5, tcl, guile }:
stdenv.mkDerivation rec {
- version = "0.3.8";
+ version = "0.3.9";
name = "weechat-${version}";
src = fetchurl {
url = "http://weechat.org/files/src/${name}.tar.gz";
- sha256 = "4293eb9d29f11b8ee8c301049d57e535acbea677bc1dc41ab12fe1bb8af0f10e";
+ sha256 = "8666c788cbb212036197365df3ba3cf964a23e4f644d76ea51d66dbe3be593bb";
};
buildInputs =
diff --git a/pkgs/applications/networking/irc/xchat/default.nix b/pkgs/applications/networking/irc/xchat/default.nix
index 4b9cef2d501..1999bd030cb 100644
--- a/pkgs/applications/networking/irc/xchat/default.nix
+++ b/pkgs/applications/networking/irc/xchat/default.nix
@@ -9,6 +9,8 @@ stdenv.mkDerivation {
buildInputs = [pkgconfig tcl gtk];
configureFlags = "--disable-nls";
+ patches = [ ./glib-top-level-header.patch ];
+
meta = {
description = "IRC client using GTK";
homepage = http://www.xchat.org;
diff --git a/pkgs/applications/networking/irc/xchat/glib-top-level-header.patch b/pkgs/applications/networking/irc/xchat/glib-top-level-header.patch
new file mode 100644
index 00000000000..b1413b35753
--- /dev/null
+++ b/pkgs/applications/networking/irc/xchat/glib-top-level-header.patch
@@ -0,0 +1,75 @@
+diff -Naur xchat-2.8.8-orig/src/common/dbus/dbus-plugin.c xchat-2.8.8/src/common/dbus/dbus-plugin.c
+--- xchat-2.8.8-orig/src/common/dbus/dbus-plugin.c 2009-08-16 05:40:15.000000000 -0400
++++ xchat-2.8.8/src/common/dbus/dbus-plugin.c 2012-07-15 23:07:33.678948703 -0400
+@@ -24,7 +24,7 @@
+ #include
+ #include
+ #include
+-#include
++#include
+ #include "../xchat-plugin.h"
+
+ #define PNAME _("remote access")
+diff -Naur xchat-2.8.8-orig/src/common/modes.c xchat-2.8.8/src/common/modes.c
+--- xchat-2.8.8-orig/src/common/modes.c 2010-05-29 21:52:18.000000000 -0400
++++ xchat-2.8.8/src/common/modes.c 2012-07-15 23:07:33.654948723 -0400
+@@ -20,7 +20,7 @@
+ #include
+ #include
+ #include
+-#include
++#include
+
+ #include "xchat.h"
+ #include "xchatc.h"
+diff -Naur xchat-2.8.8-orig/src/common/servlist.c xchat-2.8.8/src/common/servlist.c
+--- xchat-2.8.8-orig/src/common/servlist.c 2010-05-16 03:24:26.000000000 -0400
++++ xchat-2.8.8/src/common/servlist.c 2012-07-15 23:07:33.643948732 -0400
+@@ -24,7 +24,7 @@
+ #include
+
+ #include "xchat.h"
+-#include
++#include
+
+ #include "cfgfiles.h"
+ #include "fe.h"
+diff -Naur xchat-2.8.8-orig/src/common/text.c xchat-2.8.8/src/common/text.c
+--- xchat-2.8.8-orig/src/common/text.c 2010-05-29 22:14:41.000000000 -0400
++++ xchat-2.8.8/src/common/text.c 2012-07-15 23:07:33.671948706 -0400
+@@ -28,7 +28,7 @@
+ #include
+
+ #include "xchat.h"
+-#include
++#include
+ #include "cfgfiles.h"
+ #include "chanopt.h"
+ #include "plugin.h"
+diff -Naur xchat-2.8.8-orig/src/common/util.c xchat-2.8.8/src/common/util.c
+--- xchat-2.8.8-orig/src/common/util.c 2009-08-16 05:40:16.000000000 -0400
++++ xchat-2.8.8/src/common/util.c 2012-07-15 23:07:33.649948724 -0400
+@@ -39,7 +39,7 @@
+ #include
+ #include "xchat.h"
+ #include "xchatc.h"
+-#include
++#include
+ #include
+ #include "util.h"
+ #include "../../config.h"
+diff -Naur xchat-2.8.8-orig/src/common/xchat.h xchat-2.8.8/src/common/xchat.h
+--- xchat-2.8.8-orig/src/common/xchat.h 2009-08-16 05:40:16.000000000 -0400
++++ xchat-2.8.8/src/common/xchat.h 2012-07-15 23:08:20.855910521 -0400
+@@ -1,10 +1,6 @@
+ #include "../../config.h"
+
+-#include
+-#include
+-#include
+-#include
+-#include
++#include
+ #include /* need time_t */
+
+ #ifndef XCHAT_H
diff --git a/pkgs/applications/networking/mailreaders/sylpheed/default.nix b/pkgs/applications/networking/mailreaders/sylpheed/default.nix
index de046562274..bf9e19642b8 100644
--- a/pkgs/applications/networking/mailreaders/sylpheed/default.nix
+++ b/pkgs/applications/networking/mailreaders/sylpheed/default.nix
@@ -5,25 +5,31 @@
, gpgme ? null
}:
+with stdenv.lib;
+
assert sslSupport -> openssl != null;
assert gpgSupport -> gpgme != null;
stdenv.mkDerivation {
- name = "sylpheed-2.7.1";
+ name = "sylpheed-3.2";
src = fetchurl {
- url = http://sylpheed.sraoss.jp/sylpheed/v2.7/sylpheed-2.7.1.tar.bz2;
- sha256 = "08sfz159y8hi3lky98m6p4nkfiima749lza8gf3s3vp2niylbdlb";
+ url = http://sylpheed.sraoss.jp/sylpheed/v3.2/sylpheed-3.2.0.tar.bz2;
+ sha256 = "1cdjwn1f8rgcxzfxj7j7qvacmaw4zfhnip81q4n5lj5d6rj7rssa";
};
- buildInputs = [
- pkgconfig gtk
- (if sslSupport then openssl else null)
- (if gpgSupport then gpgme else null)
- ];
+ buildInputs =
+ [ pkgconfig gtk ]
+ ++ optional sslSupport openssl
+ ++ optional gpgSupport gpgme;
- configureFlags = [
- (if sslSupport then "--enable-ssl" else null)
- ];
+ configureFlags = optionalString sslSupport "--enable-ssl";
+ meta = {
+ homepage = http://sylpheed.sraoss.jp/en/;
+ description = "A lightweight and user-friendly e-mail client";
+ maintainers = [ maintainers.eelco ];
+ platforms = platforms.linux;
+ license = "GPL";
+ };
}
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/11.x.nix b/pkgs/applications/networking/mailreaders/thunderbird/15.x.nix
similarity index 64%
rename from pkgs/applications/networking/mailreaders/thunderbird/11.x.nix
rename to pkgs/applications/networking/mailreaders/thunderbird/15.x.nix
index 0d36bf88739..0deee99eadf 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird/11.x.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird/15.x.nix
@@ -2,6 +2,7 @@
, libIDL, dbus_glib, bzip2, alsaLib, nspr, yasm, mesa, nss
, libnotify, cairo, pixman, fontconfig
, libjpeg
+, pythonPackages
, # If you want the resulting program to call itself "Thunderbird"
# instead of "Shredder", enable this option. However, those
@@ -9,47 +10,26 @@
# Mozilla Foundation, see
# http://www.mozilla.org/foundation/trademarks/.
enableOfficialBranding ? false
-
}:
-let version = "11.0.1";
-
- # This patch may become necessary when we use a more recent version of libpng
- # for now, it's actually not needed
- # pngPatch = fetchurl {
- # url = http://www.linuxfromscratch.org/patches/blfs/svn/thunderbird-9.0.1-libpng-1.5-1.patch;
- # sha256 = "8454bdde3be8dc37c9f5e6f597914f0a585ff4b357d3fc86c6c9f80208b6068d";
- # };
-in
+let version = "15.0.1"; in
stdenv.mkDerivation {
name = "thunderbird-${version}";
src = fetchurl {
- url = "ftp://ftp.mozilla.org/pub/thunderbird/releases/11.0.1/source/thunderbird-${version}.source.tar.bz2";
- sha1 = "037344b451b1c031472d92f96d401b15d8e3e7d3";
+ url = "ftp://ftp.mozilla.org/pub/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.bz2";
+ sha1 = "688bed2b48abda000b489f3c84de0ba9f93818f0";
};
enableParallelBuilding = true;
buildInputs =
[ pkgconfig perl python zip unzip bzip2 gtk dbus_glib alsaLib libIDL nspr
- libnotify cairo pixman fontconfig yasm mesa /* nss */
- libjpeg
+ libnotify cairo pixman fontconfig yasm mesa nss
+ libjpeg pythonPackages.sqlite3
];
- # fix some paths in pngPatch
- # prePatch = ''
- # substitute ${pngPatch} png.patch --replace "mozilla-release/modules/" "comm-release/mozilla/modules/"
- # '';
-
- patches = [
- # "png.patch" # produced by postUnpack
-
- # Fix weird dependencies such as a so file which depends on "-lpthread".
- # ./thunderbird-build-deps.patch
- ];
-
configureFlags =
[ "--enable-application=mail"
"--enable-optimize"
@@ -58,11 +38,13 @@ stdenv.mkDerivation {
"--enable-strip"
"--with-pthreads"
"--with-system-jpeg"
- # "--with-system-png" # png 1.5.x not merged in nixpkgs yet
+ #"--with-system-png"
"--with-system-zlib"
"--with-system-bz2"
"--with-system-nspr"
- "--enable-system-cairo"
+ "--with-system-nss"
+ # Broken: https://bugzilla.mozilla.org/show_bug.cgi?id=722975
+ #"--enable-system-cairo"
"--disable-crashreporter"
"--disable-necko-wifi"
"--disable-webm"
@@ -84,10 +66,7 @@ stdenv.mkDerivation {
postInstall =
''
- # Fix some references to /bin paths in the Xulrunner shell script.
- substituteInPlace $out/lib/thunderbird-*/thunderbird \
- --replace /bin/pwd "$(type -tP pwd)" \
- --replace /bin/ls "$(type -tP ls)"
+ rm -rf $out/include $out/lib/thunderbird-devel-* $out/share/idl
# Create a desktop item.
mkdir -p $out/share/applications
@@ -109,7 +88,7 @@ stdenv.mkDerivation {
# Official branding implies thunderbird name and logo cannot be reuse,
# see http://www.mozilla.org/foundation/licensing.html
if enableOfficialBranding then licenses.proprietary else licenses.mpl11;
- maintainers = with maintainers; [ pierron ];
- platforms = with platforms; linux;
+ maintainers = maintainers.pierron;
+ platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/networking/sniffers/wireshark/default.nix b/pkgs/applications/networking/sniffers/wireshark/default.nix
index aca0203ca6c..a5f0ddea28f 100644
--- a/pkgs/applications/networking/sniffers/wireshark/default.nix
+++ b/pkgs/applications/networking/sniffers/wireshark/default.nix
@@ -4,14 +4,14 @@
}:
let
- version = "1.6.2";
+ version = "1.8.3";
in
stdenv.mkDerivation {
name = "wireshark-${version}";
src = fetchurl {
url = "mirror://sourceforge/wireshark/wireshark-${version}.tar.bz2";
- sha256 = "0zqy8ws05xz36y49azf5lrwzgfz26h7f8d27xjc89hlqrqagahsk";
+ sha256 = "1crg59kkxb7lw1wpfg52hd4l00hq56pyg7f40c7sgqmm0vsmza43";
};
buildInputs = [perl pkgconfig gtk libpcap flex bison gnutls libgcrypt
diff --git a/pkgs/applications/office/gnucash/default.nix b/pkgs/applications/office/gnucash/default.nix
index a2c3ed5d6ba..26879a6f660 100644
--- a/pkgs/applications/office/gnucash/default.nix
+++ b/pkgs/applications/office/gnucash/default.nix
@@ -9,11 +9,11 @@
*/
stdenv.mkDerivation rec {
- name = "gnucash-2.4.10";
+ name = "gnucash-2.4.11";
src = fetchurl {
url = "mirror://sourceforge/gnucash/${name}.tar.bz2";
- sha256 = "1k76b6hnsmljggxsq5l9w94krfmhx58ij8jcxf72p0ddnlimdrjj";
+ sha256 = "0qbpgd6spclkmwryi66cih0igi5a6pmsnk41mmnscpfpz1mddhwk";
};
buildInputs = [
diff --git a/pkgs/applications/office/openoffice/libreoffice-srcs.nix b/pkgs/applications/office/openoffice/libreoffice-srcs.nix
index 47630e5cfdf..357b703d84d 100644
--- a/pkgs/applications/office/openoffice/libreoffice-srcs.nix
+++ b/pkgs/applications/office/openoffice/libreoffice-srcs.nix
@@ -63,6 +63,10 @@
name = "liberation-fonts-ttf-1.07.1.tar.gz";
md5 = "0be45d54cc5e1c2e3102e32b8c190346";
}
+{
+ name = "liberation-fonts-ttf-2.00.0.tar.gz";
+ md5 = "cfbf1ac6f61bf6cf45342a0cc9381be5";
+}
{
name = "swingExSrc.zip";
md5 = "35c94d2df8893241173de1d16b6034c0";
diff --git a/pkgs/applications/office/openoffice/libreoffice.nix b/pkgs/applications/office/openoffice/libreoffice.nix
index d336266ccaf..065f439427c 100644
--- a/pkgs/applications/office/openoffice/libreoffice.nix
+++ b/pkgs/applications/office/openoffice/libreoffice.nix
@@ -16,10 +16,10 @@ let
langsSpaces = stdenv.lib.concatStringsSep " " langs;
major = "3";
minor = "6";
- patch = "1";
+ patch = "2";
tweak = "2";
subdir = "${major}.${minor}.${patch}";
- version = "${subdir}.${tweak}";
+ version = "${subdir}${if tweak == "" then "" else "."}${tweak}";
fetchThirdParty = {name, md5}: fetchurl {
inherit name md5;
url = "http://dev-www.libreoffice.org/src/${md5}-${name}";
@@ -36,17 +36,17 @@ let
}) ] ++ (map fetchThirdParty (import ./libreoffice-srcs.nix));
translations = fetchSrc {
name = "translations";
- sha256 = "0id4ad8h3fl4s2ax6r4w4af74xvagkv0qwy50f483lqq3a3pl7fl";
+ sha256 = "a6ef65d5acfe9be19a3d4d743cd23a1017733f651ffc57f5773a24704a282c33";
};
help = fetchSrc {
name = "help";
- sha256 = "0jd3l3rkhmdvrvgklkmrh9zsg9hlv3vhy6s97fnzhpzr90sjqrs1";
+ sha256 = "55ec6ef5eef4bbf2298c3b864f67c8424ebb5ccbe7bcd6ca59abba2867989e31";
};
core = fetchSrc {
name = "core";
- sha256 = "12zc0zviy1p3gk1v5nm4ks4rzscn68lpnl3kis4q693zhsk8jyh3";
+ sha256 = "5ec07ffacec09c4dcee9246cb132f7a59a618b395835e781735fd61bf47e8d37";
};
};
in
diff --git a/pkgs/applications/science/astronomy/gravit/default.nix b/pkgs/applications/science/astronomy/gravit/default.nix
index 388e65c9f75..820b4fb2979 100644
--- a/pkgs/applications/science/astronomy/gravit/default.nix
+++ b/pkgs/applications/science/astronomy/gravit/default.nix
@@ -1,24 +1,16 @@
-{ stdenv, fetchurl, SDL, SDL_ttf, SDL_image, mesa, lua5_0 }:
+{ stdenv, fetchurl, SDL, SDL_ttf, SDL_image, mesa, lua5_1, automake, autoconf }:
-let
- name = "gravit-0.4.2";
-in
-stdenv.mkDerivation {
- inherit name;
+stdenv.mkDerivation rec {
+ name = "gravit-0.5.0";
src = fetchurl {
- url = "http://gravit.slowchop.com/dist/${name}.tar.gz";
- sha256 = "f37f3ac256a4acbf575f709addaae8cb01eda4f85537affa28c45f2df6fddb07";
+ url = "http://gravit.slowchop.com/media/downloads/${name}.tgz";
+ sha256 = "0lyw0skrkb04s16vgz7ggswjrdxk1h23v5s85s09gjxzjp1xd3xp";
};
- buildInputs = [mesa SDL SDL_ttf SDL_image lua5_0];
+ buildInputs = [mesa SDL SDL_ttf SDL_image lua5_1 automake autoconf];
- configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3";
-
- postInstall = ''
- mv $out/etc/gravit $out/share/gravit/sample-config
- rmdir $out/etc
- '';
+ preConfigure = "sh autogen.sh";
meta = {
homepage = "http://gravit.slowchop.com";
diff --git a/pkgs/applications/science/astronomy/stellarium/default.nix b/pkgs/applications/science/astronomy/stellarium/default.nix
index b651370db21..e890ee58307 100644
--- a/pkgs/applications/science/astronomy/stellarium/default.nix
+++ b/pkgs/applications/science/astronomy/stellarium/default.nix
@@ -1,28 +1,24 @@
{stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, qt4, perl, libiconv}:
let
- name = "stellarium-0.11.3";
+ name = "stellarium-0.11.4";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
- sha256 = "f7c7eeaefcdc54c0fb8766f09e0c838acb742719adcdf12a6c1e12d55ecd6ac3";
+ sha256 = "8ad5e9878eb36c2c27f4754dcfc69279123e0eae02cc388074e3cf9b23746535";
};
buildInputs = [ cmake freetype libpng mesa gettext openssl qt4 perl libiconv ];
- preConfigure = ''
- sed -i -e '/typedef void (\*__GLXextFuncPtr)(void);/d' src/core/external/GLee.h
- '';
-
enableParallelBuilding = true;
meta = {
- description = "an free open source planetarium";
- homepage = http://stellarium.org/;
- license = "GPL2";
+ description = "Free open-source planetarium";
+ homepage = "http://stellarium.org/";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
maintainers = [ stdenv.lib.maintainers.simons ];
diff --git a/pkgs/applications/science/math/maxima/default.nix b/pkgs/applications/science/math/maxima/default.nix
index 41c21f94b01..18d145b6dde 100644
--- a/pkgs/applications/science/math/maxima/default.nix
+++ b/pkgs/applications/science/math/maxima/default.nix
@@ -2,7 +2,7 @@
let
name = "maxima";
- version = "5.27.0";
+ version = "5.28.0";
searchPath =
stdenv.lib.makeSearchPath "bin"
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "mirror://sourceforge/${name}/${name}-${version}.tar.gz";
- sha256 = "9006803714f1385221c4395697fad53f125a13d29b50b188d045d08e25f8dca7";
+ sha256 = "d73e925f0116ba361bf4390c80e24d4fa763f647cc1fc4cc06bbf40ceb3facda";
};
buildInputs = [sbcl texinfo perl makeWrapper];
diff --git a/pkgs/applications/science/math/wxmaxima/default.nix b/pkgs/applications/science/math/wxmaxima/default.nix
index 52048dc9d19..559c4448c31 100644
--- a/pkgs/applications/science/math/wxmaxima/default.nix
+++ b/pkgs/applications/science/math/wxmaxima/default.nix
@@ -2,14 +2,14 @@
let
name = "wxmaxima";
- version = "12.04.0";
+ version = "12.09.0";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://sourceforge/${name}/wxMaxima-${version}.tar.gz";
- sha256 = "60110507e0a63738a1f420b22697eaac9bea3866122e072dcd697077e8744824";
+ sha256 = "5803ab62fc791bcb87f0d0f38357dba6fccc4efa61cb9f709e142c2954b1305d";
};
buildInputs = [wxGTK maxima makeWrapper];
diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix
index 6ee19832750..e12d4157ec2 100644
--- a/pkgs/applications/version-management/git-and-tools/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/default.nix
@@ -43,10 +43,13 @@ rec {
});
gitAnnex = lib.makeOverridable (import ./git-annex) {
- inherit stdenv fetchurl libuuid rsync findutils curl perl git ikiwiki which coreutils openssh;
- inherit (haskellPackages) ghc MissingH utf8String pcreLight SHA dataenc
- HTTP testpack hS3 mtl network hslogger hxt json liftedBase monadControl IfElse
- QuickCheck bloomfilter editDistance stm hinotify;
+ inherit stdenv fetchurl perl coreutils git libuuid rsync findutils curl ikiwiki which openssh;
+ inherit (haskellPackages) ghc bloomfilter dataenc editDistance hinotify hS3 hslogger HTTP
+ blazeBuilder blazeHtml caseInsensitive IfElse json liftedBase MissingH monadControl mtl
+ network pcreLight QuickCheck SHA stm utf8String networkInfo dbus
+ clientsession cryptoApi dataDefault extensibleExceptions filepath hamlet
+ httpTypes networkMulticast text time transformers transformersBase wai
+ waiLogger warp yesod yesodDefault yesodStatic testpack;
};
qgit = import ./qgit {
diff --git a/pkgs/applications/version-management/git-and-tools/git-annex/default.nix b/pkgs/applications/version-management/git-and-tools/git-annex/default.nix
index 86c8e9717b1..13b3d263ad4 100644
--- a/pkgs/applications/version-management/git-and-tools/git-annex/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-annex/default.nix
@@ -1,27 +1,35 @@
-{ stdenv, fetchurl, curl, dataenc, findutils, ghc, git, hS3, hslogger, HTTP, hxt
-, ikiwiki, json, libuuid, MissingH, monadControl, mtl, network, pcreLight, perl
-, QuickCheck, rsync, SHA, testpack, utf8String, which, liftedBase, coreutils
-, IfElse, bloomfilter, editDistance, openssh, stm, hinotify
+{ stdenv, ghc, fetchurl, perl, coreutils, git, libuuid, rsync
+, findutils, curl, ikiwiki, which, openssh
+, blazeBuilder, blazeHtml, bloomfilter, caseInsensitive
+, clientsession, cryptoApi, dataDefault, dataenc, dbus
+, editDistance, extensibleExceptions, filepath, hamlet, hinotify
+, hS3, hslogger, HTTP, httpTypes, IfElse, json, liftedBase
+, MissingH, monadControl, mtl, network, networkInfo
+, networkMulticast, pcreLight, QuickCheck, SHA, stm, text, time
+, transformers, transformersBase, utf8String, wai, waiLogger, warp
+, yesod, yesodDefault, yesodStatic, testpack
}:
let
- version = "3.20120825";
+ version = "3.20121010";
in
stdenv.mkDerivation {
name = "git-annex-${version}";
src = fetchurl {
url = "http://git.kitenet.net/?p=git-annex.git;a=snapshot;sf=tgz;h=refs/tags/${version}";
- sha256 = "edffe6a99d07599f62d4d5f6823de8a830abe8977c7671fd6eb21aeaebc0b8d0";
+ sha256 = "4db543af6cbcb2d92c808c01969425d1fd1a916b37386dcdfe1a3101876ccde2";
name = "git-annex-${version}.tar.gz";
};
- buildInputs = [
- curl dataenc findutils ghc git hS3 hslogger HTTP hxt ikiwiki json
- libuuid MissingH monadControl mtl network pcreLight perl QuickCheck
- rsync SHA testpack utf8String which liftedBase IfElse bloomfilter
- editDistance openssh stm hinotify
- ];
+ buildInputs = [ ghc git libuuid rsync findutils curl ikiwiki which
+ openssh blazeBuilder blazeHtml bloomfilter caseInsensitive
+ clientsession cryptoApi dataDefault dataenc dbus editDistance
+ extensibleExceptions filepath hamlet hinotify hS3 hslogger HTTP
+ httpTypes IfElse json liftedBase MissingH monadControl mtl network
+ networkInfo networkMulticast pcreLight QuickCheck SHA stm text time
+ transformers transformersBase utf8String wai waiLogger warp yesod
+ yesodDefault yesodStatic testpack ];
checkTarget = "test";
doCheck = true;
@@ -29,7 +37,7 @@ stdenv.mkDerivation {
# The 'add_url' test fails because it attempts to use the network.
preConfigure = ''
makeFlagsArray=( PREFIX=$out )
- sed -i -e 's|#!/usr/bin/perl|#!${perl}/bin/perl|' mdwn2man
+ sed -i -e 's|#!/usr/bin/perl|#!${perl}/bin/perl|' Build/mdwn2man
sed -i -e 's|"cp |"${coreutils}/bin/cp |' -e 's|"rm -f |"${coreutils}/bin/rm -f |' test.hs
'';
diff --git a/pkgs/applications/version-management/git-and-tools/git/default.nix b/pkgs/applications/version-management/git-and-tools/git/default.nix
index 916aa69b05f..dcfaaa74fae 100644
--- a/pkgs/applications/version-management/git-and-tools/git/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git/default.nix
@@ -9,7 +9,7 @@
let
- version = "1.7.12.1";
+ version = "1.7.12.4";
svn = subversionClient.override { perlBindings = true; };
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://git-core.googlecode.com/files/git-${version}.tar.gz";
- sha256 = "a0c2b7e122ac2e40fe5b69baeeaac24b237a1341f08ba848cadaa835a0dbcfcd";
+ sha256 = "1nk3igf7mgcj9yvpyrnp3i9725fljxi96icmzalfzd8nkj94br8p";
};
patches = [ ./docbook2texi.patch ];
diff --git a/pkgs/applications/video/MPlayer/default.nix b/pkgs/applications/video/MPlayer/default.nix
index 566089201cd..13ebd39734e 100644
--- a/pkgs/applications/video/MPlayer/default.nix
+++ b/pkgs/applications/video/MPlayer/default.nix
@@ -1,36 +1,41 @@
-{ alsaSupport ? true, xvSupport ? true, theoraSupport ? true, cacaSupport ? true
-, xineramaSupport ? true, randrSupport ? true, dvdnavSupport ? true
-, stdenv, fetchurl, fetchsvn, fetchgit, x11, freetype, fontconfig, zlib
-, alsaLib ? null, libXv ? null, libtheora ? null, libcaca ? null
-, libXinerama ? null, libXrandr ? null, libdvdnav ? null
-, cdparanoia ? null, cddaSupport ? true
-, amrnb ? null, amrwb ? null, amrSupport ? false
-, x11Support ? true, libX11 ? null, libXext ? null
-, jackaudioSupport ? false, jackaudio ? null
-, x264Support ? false, x264 ? null
-, xvidSupport ? false, xvidcore ? null
+{ stdenv, fetchurl, freetype, pkgconfig, yasm, freefont_ttf
+, x11Support ? true, libX11 ? null, libXext ? null, mesa ? null
+, xineramaSupport ? true, libXinerama ? null
+, xvSupport ? true, libXv ? null
+, alsaSupport ? true, alsaLib ? null
+, screenSaverSupport ? true, libXScrnSaver ? null
+, vdpauSupport ? false, libvdpau ? null
+, cddaSupport ? true, cdparanoia ? null
+, dvdnavSupport ? true, libdvdnav ? null
+, bluraySupport ? true, libbluray ? null
+, amrSupport ? false, amrnb ? null, amrwb ? null
+, cacaSupport ? true, libcaca ? null
, lameSupport ? true, lame ? null
, speexSupport ? true, speex ? null
-, screenSaverSupport ? true, libXScrnSaver
-, pulseSupport ? false, pulseaudio
-, mesa, pkgconfig, unzip, yasm, freefont_ttf
-, vdpauSupport ? false, libvdpau ? null
+, theoraSupport ? true, libtheora ? null
+, x264Support ? false, x264 ? null
+, jackaudioSupport ? false, jackaudio ? null
+, pulseSupport ? false, pulseaudio ? null
}:
-assert alsaSupport -> alsaLib != null;
-assert x11Support -> libX11 != null;
-assert xvSupport -> (libXv != null && x11Support);
-assert theoraSupport -> libtheora != null;
-assert cacaSupport -> libcaca != null;
+assert x11Support -> (libX11 != null && libXext != null && mesa != null);
assert xineramaSupport -> (libXinerama != null && x11Support);
-assert randrSupport -> (libXrandr != null && x11Support);
-assert dvdnavSupport -> libdvdnav != null;
-assert cddaSupport -> cdparanoia != null;
-assert jackaudioSupport -> jackaudio != null;
-assert amrSupport -> (amrnb != null && amrwb != null);
+assert xvSupport -> (libXv != null && x11Support);
+assert alsaSupport -> alsaLib != null;
assert screenSaverSupport -> libXScrnSaver != null;
assert vdpauSupport -> libvdpau != null;
+assert cddaSupport -> cdparanoia != null;
+assert dvdnavSupport -> libdvdnav != null;
+assert bluraySupport -> libbluray != null;
+assert amrSupport -> (amrnb != null && amrwb != null);
+assert cacaSupport -> libcaca != null;
+assert lameSupport -> lame != null;
assert speexSupport -> speex != null;
+assert theoraSupport -> libtheora != null;
+assert x264Support -> x264 != null;
+assert jackaudioSupport -> jackaudio != null;
+assert pulseSupport -> pulseaudio != null;
+
let
@@ -64,20 +69,12 @@ let
};
} else null;
- ffmpegGit = fetchgit {
- url = "git://git.videolan.org/ffmpeg.git";
- rev = "9e53f62be1a171eaf9620958c225d42cf5142a30";
- sha256 = "be0ef2a394c82a0eee0be66bc0b943d37efb90f74ce1030aa89606109434c943";
- };
-
- mplayerRev = "34586";
-
in
stdenv.mkDerivation rec {
- name = "mplayer-${mplayerRev}";
+ name = "mplayer-1.1";
- src = fetchsvn {
+ src = fetchurl {
# Old kind of URL:
# url = http://nixos.org/tarballs/mplayer-snapshot-20101227.tar.bz2;
# Snapshot I took on 20110423
@@ -86,64 +83,72 @@ stdenv.mkDerivation rec {
#url = http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2;
#sha256 = "cc1b3fda75b172f02c3f46581cfb2c17f4090997fe9314ad046e464a76b858bb";
- url = "svn://svn.mplayerhq.hu/mplayer/trunk";
- rev = "${mplayerRev}";
- sha256 = "5688add3256b5de8e0410194232aaaeb01531bb507459ffe4f07e69cb2d81bd7";
+ url = "http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.tar.xz";
+ sha256 = "173cmsfz7ckzy1hay9mpnc5as51127cfnxl20b521d2jvgm4gjvn";
};
prePatch = ''
sed -i /^_install_strip/d configure
'';
- buildInputs =
- [ freetype zlib pkgconfig ]
- ++ stdenv.lib.optionals x11Support [ libX11 libXext mesa ]
- ++ stdenv.lib.optional alsaSupport alsaLib
- ++ stdenv.lib.optional xvSupport libXv
- ++ stdenv.lib.optional theoraSupport libtheora
- ++ stdenv.lib.optional cacaSupport libcaca
- ++ stdenv.lib.optional xineramaSupport libXinerama
- ++ stdenv.lib.optional randrSupport libXrandr
- ++ stdenv.lib.optionals dvdnavSupport [ libdvdnav libdvdnav.libdvdread ]
- ++ stdenv.lib.optional cddaSupport cdparanoia
- ++ stdenv.lib.optional jackaudioSupport jackaudio
- ++ stdenv.lib.optionals amrSupport [ amrnb amrwb ]
- ++ stdenv.lib.optional x264Support x264
- ++ stdenv.lib.optional xvidSupport xvidcore
- ++ stdenv.lib.optional pulseSupport pulseaudio
- ++ stdenv.lib.optional screenSaverSupport libXScrnSaver
- ++ stdenv.lib.optional lameSupport lame
- ++ stdenv.lib.optional vdpauSupport libvdpau
- ++ stdenv.lib.optional speexSupport speex;
+ buildInputs = with stdenv.lib;
+ [ freetype pkgconfig ]
+ ++ optionals x11Support [ libX11 libXext mesa ]
+ ++ optional alsaSupport alsaLib
+ ++ optional xvSupport libXv
+ ++ optional theoraSupport libtheora
+ ++ optional cacaSupport libcaca
+ ++ optional xineramaSupport libXinerama
+ ++ optional dvdnavSupport libdvdnav
+ ++ optional bluraySupport libbluray
+ ++ optional cddaSupport cdparanoia
+ ++ optional jackaudioSupport jackaudio
+ ++ optionals amrSupport [ amrnb amrwb ]
+ ++ optional x264Support x264
+ ++ optional pulseSupport pulseaudio
+ ++ optional screenSaverSupport libXScrnSaver
+ ++ optional lameSupport lame
+ ++ optional vdpauSupport libvdpau
+ ++ optional speexSupport speex;
buildNativeInputs = [ yasm ];
- preConfigure = ''
- cp -r ${ffmpegGit} ffmpeg
- chmod u+w -R ffmpeg
- sed -ie '1i#include "libavutil/intreadwrite.h"' ffmpeg/libavcodec/libmp3lame.c
- '';
-
postConfigure = ''
echo CONFIG_MPEGAUDIODSP=yes >> config.mak
'';
- configureFlags = ''
- ${if cacaSupport then "--enable-caca" else "--disable-caca"}
- ${if dvdnavSupport then "--enable-dvdnav --enable-dvdread --disable-dvdread-internal" else ""}
- ${if x264Support then "--enable-x264 --extra-libs=-lx264" else ""}
- ${if codecs != null then "--codecsdir=${codecs}" else ""}
- ${if (stdenv.isi686 || stdenv.isx86_64) then "--enable-runtime-cpudetection" else ""}
- ${if x11Support then "--enable-x11" else ""}
- ${stdenv.lib.optionalString speexSupport "--enable-speex"}
- --disable-xanim
- --disable-ivtv
- --enable-vidix
- --enable-fbdev
- --disable-ossaudio
- '';
+ configureFlags = with stdenv.lib;
+ ''
+ ${if x11Support then "--enable-x11 --enable-gl" else "--disable-x11 --disable-gl"}
+ ${if xineramaSupport then "--enable-xinerama" else "--disable-xinerama"}
+ ${if xvSupport then "--enable-xv" else "--disable-xv"}
+ ${if alsaSupport then "--enable-alsa" else "--disable-alsa"}
+ ${if screenSaverSupport then "--enable-xss" else "--disable-xss"}
+ ${if vdpauSupport then "--enable-vdpau" else "--disable-vdpau"}
+ ${if cddaSupport then "--enable-cdparanoia" else "--disable-cdparanoia"}
+ ${if dvdnavSupport then "--enable-dvdnav" else "--disable-dvdnav"}
+ ${if bluraySupport then "--enable-bluray" else "--disable-bluray"}
+ ${if amrSupport then "--enable-libopencore_amrnb" else "--disable-libopencore_amrnb"}
+ ${if cacaSupport then "--enable-caca" else "--disable-caca"}
+ ${if lameSupport then "--enable-mp3lame --disable-mp3lame-lavc" else "--disable-mp3lame --enable-mp3lame-lavc"}
+ ${if speexSupport then "--enable-speex" else "--disable-speex"}
+ ${if theoraSupport then "--enable-theora" else "--disable-theora"}
+ ${if x264Support then "--enable-x264 --disable-x264-lavc" else "--disable-x264 --enable-x264-lavc"}
+ ${if jackaudioSupport then "--enable-jack" else "--disable-jack"}
+ ${if pulseSupport then "--enable-pulse" else "--disable-pulse"}
- NIX_LDFLAGS = if x11Support then "-lX11 -lXext" else "";
+ ${optionalString (codecs != null) "--codecsdir=${codecs}"}
+ ${optionalString (stdenv.isi686 || stdenv.isx86_64) "--enable-runtime-cpudetection"}
+ --enable-freetype
+ --disable-xanim
+ --disable-ivtv
+ --disable-xvid --disable-xvid-lavc
+ --enable-vidix
+ --enable-fbdev
+ --disable-ossaudio
+ '';
+
+ NIX_LDFLAGS = stdenv.lib.optionalString x11Support "-lX11 -lXext";
# Provide a reasonable standard font. Maybe we should symlink here.
postInstall =
@@ -155,7 +160,7 @@ stdenv.mkDerivation rec {
crossAttrs = {
dontSetConfigureCross = true;
# Some things (vidix) are nanonote specific. Once someone cares, we can make options from them.
- preConfigure = preConfigure + ''
+ preConfigure = ''
configureFlags="`echo $configureFlags |
sed -e 's/--codecsdir[^ ]\+//' \
-e 's/--enable-runtime-cpudetection//' `"
diff --git a/pkgs/applications/video/RealPlayer/default.nix b/pkgs/applications/video/RealPlayer/default.nix
index 12d98bc3362..968846f1dcb 100644
--- a/pkgs/applications/video/RealPlayer/default.nix
+++ b/pkgs/applications/video/RealPlayer/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, libstdcpp5, glib, pango, atk, gtk, libX11}:
+{stdenv, fetchurl, libstdcpp5, glib, pango, atk, gtk, libX11, makeWrapper}:
# Note that RealPlayer 10 need libstdc++.so.5, i.e., GCC 3.3, not 3.4.
@@ -13,9 +13,7 @@ assert stdenv.system == "i686-linux";
md5 = "d28b31261059231a3e93c7466f8153e6";
};
- makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
-
- inherit libstdcpp5;
+ inherit libstdcpp5 makeWrapper;
libPath = [libstdcpp5 glib pango atk gtk libX11];
}) // {mozillaPlugin = "/real/mozilla";}
diff --git a/pkgs/applications/video/vlc/default.nix b/pkgs/applications/video/vlc/default.nix
index 65357acf00f..3341a01101c 100644
--- a/pkgs/applications/video/vlc/default.nix
+++ b/pkgs/applications/video/vlc/default.nix
@@ -10,11 +10,11 @@
stdenv.mkDerivation rec {
name = "vlc-${version}";
- version = "2.0.3";
+ version = "2.0.4";
src = fetchurl {
url = "http://download.videolan.org/pub/videolan/vlc/${version}/${name}.tar.xz";
- sha256 = "1lnjfpizgp8slj6i4fgk5wld6nfw08wfhkb1i1dvzbhmfigq1agv";
+ sha256 = "1dixankckfxf8xixfc32rc9mfsv6mx2lk5h13ym8bp4dsk86w1jf";
};
buildInputs =
diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix
index 56387f9e5c4..3af9796136f 100644
--- a/pkgs/applications/virtualization/virtualbox/default.nix
+++ b/pkgs/applications/virtualization/virtualbox/default.nix
@@ -10,7 +10,7 @@ with stdenv.lib;
let
- version = "4.1.22";
+ version = "4.2.0";
forEachModule = action: ''
for mod in \
@@ -34,7 +34,7 @@ in stdenv.mkDerivation {
src = fetchurl {
url = "http://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
- sha256 = "7abb506203dd0d69b4b408fd999b5b9a479a9adce5f80e9b5569641c053dd153";
+ sha256 = "895426ecac371bef4c070e8bcc9306f0c57dcbd6be25188d915b63ddde6f49e6";
};
buildInputs =
diff --git a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
index d903c44866c..8c92b5e0ed3 100644
--- a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
+++ b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
@@ -1,15 +1,18 @@
{ stdenv, fetchurl, lib, patchelf, cdrkit, kernel, which, makeWrapper
, libX11, libXt, libXext, libXmu, libXcomposite, libXfixes, libXrandr, libXcursor}:
-let version = "4.1.22"; in
+let version = "4.2.0"; in
stdenv.mkDerivation {
name = "VirtualBox-GuestAdditions-${version}";
+
src = fetchurl {
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
- sha256 = "5c7d9a4a31c8a926ba6dbae2b9704a561638e94ea0fc4f805a9231dd4f932d46";
+ sha256 = "ef274ecdcb48adec469656959e51c8468b6d3a7733ddf93f9a3713f77f1604f3";
};
+
KERN_DIR = "${kernel}/lib/modules/*/build";
+
buildInputs = [ patchelf cdrkit makeWrapper ];
installPhase = ''
@@ -101,9 +104,7 @@ stdenv.mkDerivation {
# Install Xorg drivers
mkdir -p $out/lib/xorg/modules/{drivers,input}
- install -m 644 lib/VBoxGuestAdditions/vboxvideo_drv_19.so $out/lib/xorg/modules/drivers/vboxvideo_drv.so
- # There doesn't appear to be a vboxmouse driver for Xorg 1.9. Was there ever?
- #install -m 644 lib/VBoxGuestAdditions/vboxmouse_drv_19.so $out/lib/xorg/modules/input/vboxmouse_drv.so
+ install -m 644 lib/VBoxGuestAdditions/vboxvideo_drv_112.so $out/lib/xorg/modules/drivers/vboxvideo_drv.so
# Install kernel modules
cd src
diff --git a/pkgs/applications/window-managers/awesome/default.nix b/pkgs/applications/window-managers/awesome/default.nix
index 5e24a42d3a7..61f2145ff33 100644
--- a/pkgs/applications/window-managers/awesome/default.nix
+++ b/pkgs/applications/window-managers/awesome/default.nix
@@ -48,3 +48,4 @@ stdenv.mkDerivation rec {
platforms = with stdenv.lib.platforms; linux;
};
}
+
diff --git a/pkgs/applications/window-managers/i3/default.nix b/pkgs/applications/window-managers/i3/default.nix
index 14fd6ce4193..042e1a323a6 100644
--- a/pkgs/applications/window-managers/i3/default.nix
+++ b/pkgs/applications/window-managers/i3/default.nix
@@ -3,17 +3,21 @@
libXcursor, coreutils, perl }:
stdenv.mkDerivation rec {
- name = "i3-4.2";
+ name = "i3-${version}";
+ version = "4.3";
src = fetchurl {
url = "http://i3wm.org/downloads/${name}.tar.bz2";
- sha256 = "e02c832820e8922a44e744e555294f8580c2f8e218c5c1029e52f1bde048732b";
+ sha256 = "895bf586092535efb2bc723ba599c71a027768115e56052f111fc8bb148db925";
};
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil bison xcbutilwm
libstartup_notification libX11 pcre libev yajl flex libXcursor perl ];
- patchPhase = "patchShebangs .";
+ patchPhase = ''
+ sed -i -e '/^# Pango/,/^$/d' common.mk
+ patchShebangs .
+ '';
configurePhase = "makeFlags=PREFIX=$out";
diff --git a/pkgs/applications/window-managers/icewm/default.nix b/pkgs/applications/window-managers/icewm/default.nix
index 0b541d8104d..3b1c3b4ad37 100644
--- a/pkgs/applications/window-managers/icewm/default.nix
+++ b/pkgs/applications/window-managers/icewm/default.nix
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
sha256 = "0yw813d8amrl0n1fvdiyznxah92wcylj9kj1qhjc6h73d827h6na";
};
+ patches = [ ./deprecated.patch ];
+
NIX_LDFLAGS = "-lfontconfig";
# The fuloong2f is not supported by 1.3.6 still
diff --git a/pkgs/applications/window-managers/icewm/deprecated.patch b/pkgs/applications/window-managers/icewm/deprecated.patch
new file mode 100644
index 00000000000..7d22dfe719b
--- /dev/null
+++ b/pkgs/applications/window-managers/icewm/deprecated.patch
@@ -0,0 +1,23 @@
+http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-wm/icewm/files/icewm-1.2.37-libX11-1.5.0-deprecated.patch?revision=1.1
+
+Description: Don't use "deprecated" as identifier, will FTBFS if another
+ library defines functions as deprecated.
+Author: Andreas Moog
+Bug: https://sourceforge.net/tracker/?func=detail&aid=3494034&group_id=31&atid=100031
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/935179
+Forwarded: Yes
+
+--- icewm-1.3.7.orig/src/base.h
++++ icewm-1.3.7/src/base.h
+@@ -2,9 +2,9 @@
+ #define __BASE_H
+
+ #if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3
+-#define deprecated __attribute__((deprecated))
++#define ICEWM_deprecated __attribute__((deprecated))
+ #else
+-#define deprecated
++#define ICEWM_deprecated
+ #endif
+
+ /*** Atomar Data Types ********************************************************/
diff --git a/pkgs/build-support/setup-hooks/autoreconf.sh b/pkgs/build-support/setup-hooks/autoreconf.sh
new file mode 100644
index 00000000000..027c8322163
--- /dev/null
+++ b/pkgs/build-support/setup-hooks/autoreconf.sh
@@ -0,0 +1,11 @@
+preConfigurePhases+=" autoreconfPhase"
+
+for i in @autoconf@ @automake@ @libtool@; do
+ findInputs $i nativePkgs propagated-build-native-inputs
+done
+
+autoreconfPhase() {
+ runHook preAutoreconf
+ autoreconf ${autoreconfFlags:---install --force}
+ runHook postAutoreconf
+}
diff --git a/pkgs/build-support/make-wrapper/make-wrapper.sh b/pkgs/build-support/setup-hooks/make-wrapper.sh
similarity index 100%
rename from pkgs/build-support/make-wrapper/make-wrapper.sh
rename to pkgs/build-support/setup-hooks/make-wrapper.sh
diff --git a/pkgs/data/misc/xkeyboard-config/default.nix b/pkgs/data/misc/xkeyboard-config/default.nix
index fbe8e7ce1f5..67bb79725fb 100644
--- a/pkgs/data/misc/xkeyboard-config/default.nix
+++ b/pkgs/data/misc/xkeyboard-config/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, perl, perlXMLParser, xkbcomp, gettext, intltool }:
stdenv.mkDerivation rec {
- name = "xkeyboard-config-2.1";
+ name = "xkeyboard-config-2.7";
src = fetchurl {
url = "mirror://xorg/individual/data/xkeyboard-config/${name}.tar.bz2";
- sha256 = "0x9hkb4iqz64gcabzkdcfy4p78sdhnpjwh54g8wx5bdgy9087vpr";
+ sha256 = "08c3mjdgp7c2v6lj5bymaczcazklsd7s1lxslxbngzmh5yhphd74";
};
buildInputs = [ gettext ];
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
patches = [ ./eo.patch ];
preConfigure = ''
- configureFlags="--with-xkb-base=$out/etc/X11/xkb -with-xkb-rules-symlink=xorg,xfree86"
+ configureFlags="--with-xkb-base=$out/etc/X11/xkb -with-xkb-rules-symlink=xorg,xfree86 --disable-runtime-deps"
sed -e 's@#!\s*/bin/bash@#! /bin/sh@' -i rules/merge.sh
'';
diff --git a/pkgs/desktops/gnome-2/desktop/gvfs/default.nix b/pkgs/desktops/gnome-2/desktop/gvfs/default.nix
index 5455e95ef3f..bae6c19c6ea 100644
--- a/pkgs/desktops/gnome-2/desktop/gvfs/default.nix
+++ b/pkgs/desktops/gnome-2/desktop/gvfs/default.nix
@@ -1,19 +1,21 @@
{ stdenv, fetchurl, pkgconfig, dbus_libs, samba, libarchive, fuse, libgphoto2
, libcdio, libxml2, libtool, glib, intltool, GConf, libgnome_keyring, libsoup
-, udev, avahi}:
+, udev, avahi, libxslt, docbook_xsl }:
-stdenv.mkDerivation {
- name = "gvfs-1.10.1";
+stdenv.mkDerivation rec {
+ name = "gvfs-1.14.1";
src = fetchurl {
- url = mirror://gnome/sources/gvfs/1.10/gvfs-1.10.1.tar.xz;
- sha256 = "124jrkph3cqr2pijmzzr6qwzy2vaq3vvndskzkxd0v5dwp7glc6d";
+ url = "mirror://gnome/sources/gvfs/1.14/${name}.tar.xz";
+ sha256 = "0af86cd7ee7b6daca144776bdf12f2f30d3e18fdd70b4da58e1a68cea4f6716a";
};
buildInputs =
[ glib dbus_libs udev samba libarchive fuse libgphoto2 libcdio libxml2 GConf
- libgnome_keyring libsoup avahi libtool
+ libgnome_keyring libsoup avahi libtool libxslt docbook_xsl
];
buildNativeInputs = [ pkgconfig intltool ];
+
+ enableParallelBuilding = true;
}
diff --git a/pkgs/desktops/gnome-2/platform/libgnomecups/default.nix b/pkgs/desktops/gnome-2/platform/libgnomecups/default.nix
index 0521ce9058f..9a0afd1275d 100644
--- a/pkgs/desktops/gnome-2/platform/libgnomecups/default.nix
+++ b/pkgs/desktops/gnome-2/platform/libgnomecups/default.nix
@@ -1,16 +1,16 @@
-{stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl }:
+{ stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl }:
-let
+stdenv.mkDerivation rec {
name = "libgnomecups-0.2.3";
-in
-stdenv.mkDerivation {
- inherit name;
src = fetchurl {
url = "mirror://gnome/sources/libgnomecups/0.2/${name}.tar.bz2";
sha256 = "0a8xdaxzz2wc0n1fjcav65093gixzyac3948l8cxx1mk884yhc71";
};
+ patches = [ ./glib.patch ];
+
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl ];
+
propagatedBuildInputs = [ libxml2 ];
}
diff --git a/pkgs/desktops/gnome-2/platform/libgnomecups/glib.patch b/pkgs/desktops/gnome-2/platform/libgnomecups/glib.patch
new file mode 100644
index 00000000000..3f73af861c0
--- /dev/null
+++ b/pkgs/desktops/gnome-2/platform/libgnomecups/glib.patch
@@ -0,0 +1,38 @@
+From d84eee9450b3b6f6155074915efc61bedcc8d446 Mon Sep 17 00:00:00 2001
+From: Dominique Leuenberger
+Date: Sun, 27 Nov 2011 21:36:41 +0100
+Subject: [PATCH] Fix: Only glib.h can be included
+
+---
+ libgnomecups/gnome-cups-i18n.c | 2 +-
+ libgnomecups/gnome-cups-init.h | 3 +--
+ 2 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/libgnomecups/gnome-cups-i18n.c b/libgnomecups/gnome-cups-i18n.c
+index 8987c5c..127756d 100644
+--- a/libgnomecups/gnome-cups-i18n.c
++++ b/libgnomecups/gnome-cups-i18n.c
+@@ -1,5 +1,5 @@
+ #include
+-#include
++#include
+ #include "gnome-cups-i18n.h"
+
+ #ifdef ENABLE_NLS
+diff --git a/libgnomecups/gnome-cups-init.h b/libgnomecups/gnome-cups-init.h
+index 22b682a..c4600fc 100644
+--- a/libgnomecups/gnome-cups-init.h
++++ b/libgnomecups/gnome-cups-init.h
+@@ -1,8 +1,7 @@
+ #ifndef GNOME_CUPS_INIT
+ #define GNOME_CUPS_INIT
+
+-#include
+-#include
++#include
+
+ G_BEGIN_DECLS
+
+--
+1.7.7
+
diff --git a/pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix b/pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix
index 410e408baa3..0b6d3e25e2e 100644
--- a/pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix
+++ b/pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix
@@ -1,11 +1,8 @@
-{stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl, libgnomecups, bison,
-flex }:
+{ stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl
+, libgnomecups, bison, flex }:
-let
+stdenv.mkDerivation rec {
name = "libgnomeprint-2.18.8";
-in
-stdenv.mkDerivation {
- inherit name;
src = fetchurl {
url = "mirror://gnome/sources/libgnomeprint/2.18/${name}.tar.bz2";
@@ -15,5 +12,6 @@ stdenv.mkDerivation {
patches = [ ./bug653388.patch ];
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl libgnomecups bison flex ];
+
propagatedBuildInputs = [ libxml2 ];
}
diff --git a/pkgs/desktops/xfce-4.8/support/gvfs.nix b/pkgs/desktops/xfce-4.8/support/gvfs.nix
index 33f7315a9d9..f922b194f87 100644
--- a/pkgs/desktops/xfce-4.8/support/gvfs.nix
+++ b/pkgs/desktops/xfce-4.8/support/gvfs.nix
@@ -1,14 +1,18 @@
-{ stdenv, fetchurl, pkgconfig, glib, dbus, intltool, udev, libgdu, fuse }:
+{ stdenv, fetchurl, pkgconfig, glib, dbus, intltool, udev, libgdu, fuse
+, libxml2, libxslt, docbook_xsl, libgphoto2, libtool }:
stdenv.mkDerivation rec {
- name = "gvfs-1.8.2";
-
+ name = "gvfs-1.14.1";
+
src = fetchurl {
- url = "mirror://gnome/sources/gvfs/1.8/${name}.tar.bz2";
- sha256 = "0895ac8f6d416e1b15433b6b6b68eb119c6e8b04fdb66db665d684355ef89345";
+ url = "mirror://gnome/sources/gvfs/1.14/${name}.tar.xz";
+ sha256 = "0af86cd7ee7b6daca144776bdf12f2f30d3e18fdd70b4da58e1a68cea4f6716a";
};
- buildInputs = [ pkgconfig glib dbus.libs intltool udev libgdu fuse ];
+ buildInputs =
+ [ pkgconfig glib dbus.libs intltool udev libgdu fuse libxml2 libxslt
+ docbook_xsl libgphoto2 libtool
+ ];
meta = {
description = "Virtual Filesystem support library (for Xfce)";
diff --git a/pkgs/development/compilers/ccl/default.nix b/pkgs/development/compilers/ccl/default.nix
index 54628fa509d..7678c066df2 100644
--- a/pkgs/development/compilers/ccl/default.nix
+++ b/pkgs/development/compilers/ccl/default.nix
@@ -5,13 +5,13 @@ let
];
in
rec {
- version = "1.4";
+ version = "1.8";
name = "ccl-${version}";
/* There are also MacOS and FreeBSD and Windows versions */
src = a.fetchurl {
url = "ftp://ftp.clozure.com/pub/release/${version}/${name}-linuxx86.tar.gz";
- sha256 = "1z4x4kxjj2ligb2vfrx5mjww20gdkxbvgw1ax5l9c8ha802bfyg8";
+ sha256 = "1dgg6a8i2csa6xidsq66hbw7zx62gm2178hpkp88yyzgxylszp01";
};
inherit buildInputs;
diff --git a/pkgs/development/compilers/ecl/default.nix b/pkgs/development/compilers/ecl/default.nix
index c08fc3ee585..fb801b6b844 100644
--- a/pkgs/development/compilers/ecl/default.nix
+++ b/pkgs/development/compilers/ecl/default.nix
@@ -3,16 +3,23 @@
, ...} @ x:
builderDefsPackage (a :
let
- s = import ./src-for-default.nix;
propagatedBuildInputs = with a; [
gmp mpfr
];
buildInputs = [ gmp libffi mpfr ];
in
rec {
- src = a.fetchUrlFromSrcInfo s;
+ mainVersion = "12.7";
+ revision = "1";
+ version = "${mainVersion}.${revision}";
+
+ name = "ecl-${version}";
+
+ src = a.fetchurl {
+ url = "mirror://sourceforge/project/ecls/ecls/${mainVersion}/${name}.tar.gz";
+ sha256 = "0k8ww142g3bybvvnlijqsbidl8clbs1pb4ympk2ds07z5swvy2ap";
+ };
- inherit (s) name;
inherit buildInputs propagatedBuildInputs;
configureFlags = [
"--enable-threads"
diff --git a/pkgs/development/compilers/ecl/src-for-default.nix b/pkgs/development/compilers/ecl/src-for-default.nix
deleted file mode 100644
index 1baaf4bbec4..00000000000
--- a/pkgs/development/compilers/ecl/src-for-default.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-rec {
- version="12.2.1";
- name="ecl-12.2.1";
- hash="dbb3f83c27f3d2565ca22c1c6b4ab497bbfdd0d0a7b09dee76338f378621f091";
- url="http://downloads.sourceforge.net/project/ecls/ecls/12.2/ecl-${version}.tgz";
- advertisedUrl="http://downloads.sourceforge.net/project/ecls/ecls/12.2/ecl-12.2.1.tgz";
-}
diff --git a/pkgs/development/compilers/ecl/src-info-for-default.nix b/pkgs/development/compilers/ecl/src-info-for-default.nix
deleted file mode 100644
index 1f5f3270f53..00000000000
--- a/pkgs/development/compilers/ecl/src-info-for-default.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- downloadPage = "http://sourceforge.net/projects/ecls/files/";
- baseName = "ecl";
- choiceCommand = "head -1 | sed -e 's@/download@@;'\"$skipRedirectSF\"";
- sourceRegexp = ".*[.](tar.gz|tgz|tbz2|tar.bz2)";
-}
diff --git a/pkgs/development/compilers/edk2/default.nix b/pkgs/development/compilers/edk2/default.nix
index 53517e853e9..9633967da6a 100644
--- a/pkgs/development/compilers/edk2/default.nix
+++ b/pkgs/development/compilers/edk2/default.nix
@@ -14,8 +14,8 @@ edk2 = stdenv.mkDerivation {
src = fetchsvn {
url = https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2;
- rev = "13094";
- sha256 = "1qfpal0y4sas204ydg3pg3634dm25q1vr94mpgmbdh6yqcviah3h";
+ rev = "13783";
+ sha256 = "18sx0nwcnghij7737xdnmgwk5vm0ax4p0v3ybggqqs8cdhzfghil";
};
buildInputs = [ libuuid pythonFull ];
diff --git a/pkgs/development/compilers/fpc/lazarus.nix b/pkgs/development/compilers/fpc/lazarus.nix
index 4278f2c664f..e2a9fd128e9 100644
--- a/pkgs/development/compilers/fpc/lazarus.nix
+++ b/pkgs/development/compilers/fpc/lazarus.nix
@@ -1,9 +1,10 @@
args : with args;
rec {
- version = "0.9.30.4";
+ version = "1.0.2";
+ versionSuffix = "-0";
src = fetchurl {
- url = "mirror://sourceforge/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}-src.tar.bz2";
- sha256 = "0kndg4xf32r6w5hb58d9qvzkyiphhysgnhs2rd9bmlc8sy8c7zmv";
+ url = "mirror://sourceforge/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}${versionSuffix}.tar.gz";
+ sha256 = "17a94wig8b4yrkq42wng4qbal7n77axkynwh78wday5whsp7div8";
};
buildInputs = [fpc gtk glib libXi inputproto
diff --git a/pkgs/development/compilers/ghc/6.10.1-binary.nix b/pkgs/development/compilers/ghc/6.10.1-binary.nix
index 5a15cc0dff7..353a4176ea4 100644
--- a/pkgs/development/compilers/ghc/6.10.1-binary.nix
+++ b/pkgs/development/compilers/ghc/6.10.1-binary.nix
@@ -1,11 +1,5 @@
{stdenv, fetchurl, perl, libedit, ncurses, gmp}:
-let
- supportedPlatforms = ["i686-darwin" "x86_64-linux" "i686-linux"];
-in
-
-assert stdenv.lib.elem stdenv.system supportedPlatforms;
-
stdenv.mkDerivation rec {
version = "6.10.1";
@@ -104,5 +98,5 @@ stdenv.mkDerivation rec {
[ $(./main) == "yes" ]
'';
- meta.platforms = supportedPlatforms;
+ meta.platforms = ["i686-darwin" "x86_64-linux" "i686-linux"];
}
diff --git a/pkgs/development/compilers/ghc/6.10.2-binary.nix b/pkgs/development/compilers/ghc/6.10.2-binary.nix
index 616c9de7ede..02f1db354a1 100644
--- a/pkgs/development/compilers/ghc/6.10.2-binary.nix
+++ b/pkgs/development/compilers/ghc/6.10.2-binary.nix
@@ -1,11 +1,5 @@
{stdenv, fetchurl, perl, libedit, ncurses, gmp}:
-let
- supportedPlatforms = ["x86_64-linux" "i686-linux"];
-in
-
-assert stdenv.lib.elem stdenv.system supportedPlatforms;
-
stdenv.mkDerivation rec {
version = "6.10.2";
@@ -103,5 +97,5 @@ stdenv.mkDerivation rec {
[ $(./main) == "yes" ]
'';
- meta.platforms = supportedPlatforms;
+ meta.platforms = ["x86_64-linux" "i686-linux"];
}
diff --git a/pkgs/development/compilers/ghc/6.12.1-binary.nix b/pkgs/development/compilers/ghc/6.12.1-binary.nix
index a84b75d705b..23486b5f4fa 100644
--- a/pkgs/development/compilers/ghc/6.12.1-binary.nix
+++ b/pkgs/development/compilers/ghc/6.12.1-binary.nix
@@ -1,11 +1,5 @@
{stdenv, fetchurl, perl, ncurses, gmp}:
-let
- supportedPlatforms = ["x86_64-linux" "i686-linux"];
-in
-
-assert stdenv.lib.elem stdenv.system supportedPlatforms;
-
stdenv.mkDerivation rec {
version = "6.12.1";
@@ -105,5 +99,5 @@ stdenv.mkDerivation rec {
[ $(./main) == "yes" ]
'';
- meta.platforms = supportedPlatforms;
+ meta.platforms = ["x86_64-linux" "i686-linux"];
}
diff --git a/pkgs/development/compilers/ghc/6.4.2-binary.nix b/pkgs/development/compilers/ghc/6.4.2-binary.nix
index 2ed6f2be4fe..1a5bf059e9f 100644
--- a/pkgs/development/compilers/ghc/6.4.2-binary.nix
+++ b/pkgs/development/compilers/ghc/6.4.2-binary.nix
@@ -1,11 +1,5 @@
{stdenv, fetchurl, perl, readline, ncurses, gmp}:
-let
- supportedPlatforms = ["i686-darwin" "x86_64-linux" "i686-linux"];
-in
-
-assert stdenv.lib.elem stdenv.system supportedPlatforms;
-
stdenv.mkDerivation {
name = if stdenv.system == "i686-darwin" then "ghc-6.6.1-binary" else "ghc-6.4.2-binary";
@@ -68,5 +62,5 @@ stdenv.mkDerivation {
'' else "";
- meta.platforms = supportedPlatforms;
+ meta.platforms = ["i686-darwin" "x86_64-linux" "i686-linux"];
}
diff --git a/pkgs/development/compilers/ghc/7.0.4-binary.nix b/pkgs/development/compilers/ghc/7.0.4-binary.nix
index 0baf9718f85..0bfc81a17a4 100644
--- a/pkgs/development/compilers/ghc/7.0.4-binary.nix
+++ b/pkgs/development/compilers/ghc/7.0.4-binary.nix
@@ -1,11 +1,5 @@
{stdenv, fetchurl, perl, ncurses, gmp}:
-let
- supportedPlatforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"];
-in
-
-assert stdenv.lib.elem stdenv.system supportedPlatforms;
-
stdenv.mkDerivation rec {
version = "7.0.4";
@@ -93,5 +87,5 @@ stdenv.mkDerivation rec {
[ $(./main) == "yes" ]
'';
- meta.platforms = supportedPlatforms;
+ meta.platforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"];
}
diff --git a/pkgs/development/compilers/ghc/7.4.2-binary.nix b/pkgs/development/compilers/ghc/7.4.2-binary.nix
index 85e10d7090c..e0a8fee4b66 100644
--- a/pkgs/development/compilers/ghc/7.4.2-binary.nix
+++ b/pkgs/development/compilers/ghc/7.4.2-binary.nix
@@ -1,11 +1,5 @@
{stdenv, fetchurl, perl, ncurses, gmp}:
-let
- supportedPlatforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"];
-in
-
-assert stdenv.lib.elem stdenv.system supportedPlatforms;
-
stdenv.mkDerivation rec {
version = "7.4.2";
@@ -93,5 +87,5 @@ stdenv.mkDerivation rec {
[ $(./main) == "yes" ]
'';
- meta.platforms = supportedPlatforms;
+ meta.platforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"];
}
diff --git a/pkgs/development/compilers/go/default.nix b/pkgs/development/compilers/go/default.nix
index 1d9765539bf..60ea7981931 100644
--- a/pkgs/development/compilers/go/default.nix
+++ b/pkgs/development/compilers/go/default.nix
@@ -7,11 +7,11 @@ let
in
stdenv.mkDerivation {
- name = "go-1.0.2";
+ name = "go-1.0.3";
src = fetchurl {
- url = http://go.googlecode.com/files/go1.0.2.src.tar.gz;
- sha256 = "1a4mpkb3bd9dwp0r3fgrfcyk5lgw0f0cfrbskg2lrhc7a12zpz3h";
+ url = http://go.googlecode.com/files/go1.0.3.src.tar.gz;
+ sha256 = "1pz31az3icwqfqfy3avms05jnqr0qrbrx9yqsclkdwbjs4rkbfkz";
};
buildInputs = [ bison glibc bash makeWrapper ];
diff --git a/pkgs/development/compilers/haxe/default.nix b/pkgs/development/compilers/haxe/default.nix
index 8018b478e80..817e4573df2 100644
--- a/pkgs/development/compilers/haxe/default.nix
+++ b/pkgs/development/compilers/haxe/default.nix
@@ -1,141 +1,37 @@
-args: with args;
+{ stdenv, fetchsvn, ocaml, zlib, neko }:
-let
+stdenv.mkDerivation {
+ name = "haxe-2.10";
- src_haxe_swflib = {
- # REGION AUTO UPDATE: { name = "haxe_swflib"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/swflib"; groups = "haxe_group"; }
- src = sourceFromHead "haxe_swflib-F_10-43-46.tar.gz"
- (fetchurl { url = "http://mawercer.de/~nix/repos/haxe_swflib-F_10-43-46.tar.gz"; sha256 = "a63de75e48bf500ef0e8ef715d178d32f0ef113ded8c21bbca698a8cc70e7b58"; });
- # END
- }.src;
+ buildInputs = [ocaml zlib neko];
- src_haxe_extc = {
- # REGION AUTO UPDATE: { name = "haxe_extc"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/extc"; groups = "haxe_group"; }
- src = sourceFromHead "haxe_extc-F_10-43-47.tar.gz"
- (fetchurl { url = "http://mawercer.de/~nix/repos/haxe_extc-F_10-43-47.tar.gz"; sha256 = "d0a9980527d62ac6cfe27925ddb0964d334ec382f813fdfb8bd6c59fbbede730"; });
- # END
- }.src;
-
- src_haxe_extlib_dev = {
- # REGION AUTO UPDATE: { name = "haxe_extlib_dev"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/extlib-dev"; groups = "haxe_group"; }
- src = sourceFromHead "haxe_extlib_dev-F_10-43-48.tar.gz"
- (fetchurl { url = "http://mawercer.de/~nix/repos/haxe_extlib_dev-F_10-43-48.tar.gz"; sha256 = "6b9037230e2615dd5e22f4e7f4165c84f2816bc526957683afc945394fcdf67e"; });
- # END
- }.src;
-
- src_haxe_xml_light = {
- # REGION AUTO UPDATE: { name = "haxe_xml_light"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/xml-light"; groups = "haxe_group"; }
- src = sourceFromHead "haxe_xml_light-F_10-43-48.tar.gz"
- (fetchurl { url = "http://mawercer.de/~nix/repos/haxe_xml_light-F_10-43-48.tar.gz"; sha256 = "be29d9e22ad0dbcb3d447cbbc14907aff5f89bb562b8db369659d299f3a5b44f"; });
- # END
- }.src;
-
- src_haxe_neko_include = {
- # REGION AUTO UPDATE: { name = "haxe_neko_include"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "neko/libs/include/ocaml"; groups = "haxe_group"; }
- src = sourceFromHead "haxe_neko_include-F_10-43-49.tar.gz"
- (fetchurl { url = "http://mawercer.de/~nix/repos/haxe_neko_include-F_10-43-49.tar.gz"; sha256 = "e49efc1b348fa6e0f6fb40079a2d380b947d9ebda31843bc293f3cc77f8453db"; });
- # END
- }.src;
-
- src_haxe = {
- # REGION AUTO UPDATE: { name="haxe-read-only"; type="svn"; url="http://haxe.googlecode.com/svn/trunk"; groups = "haxe_group"; }
- src = sourceFromHead "haxe-read-only-3220.tar.gz"
- (fetchurl { url = "http://mawercer.de/~nix/repos/haxe-read-only-3220.tar.gz"; sha256 = "2b6702dca95d0829e539cea07b8224e3848e584a425ce8f8e0984a7a2bf7b1f8"; });
- # END
- }.src;
-
-
- # the HaXe compiler
- haxe = stdenv.mkDerivation {
- name = "haxe-cvs";
-
- buildInputs = [ocaml zlib makeWrapper];
-
- src = src_haxe;
-
- inherit zlib;
-
- buildPhase = ''
- set -x
- mkdir -p ocaml/{swflib,extc,extlib-dev,xml-light} neko/libs
-
- # strange setup. install.ml seems to co the same repo again into haxe directory!
- mkdir haxe
- tar xfz $src --strip-components=1 -C haxe
-
- t(){ tar xfz $1 -C $2 --strip-components=2; }
- t ${src_haxe_swflib} ocaml/swflib
- t ${src_haxe_extc} ocaml/extc
- t ${src_haxe_extlib_dev} ocaml/extlib-dev
- t ${src_haxe_xml_light} ocaml/xml-light
- t ${src_haxe_neko_include} neko/libs
-
- sed -e '/download();/d' \
- -e "s@/usr/lib/@''${zlib}/lib/@g" \
- doc/install.ml > install.ml
-
- ocaml install.ml
- '';
-
- # probably rpath should be set properly
- installPhase = ''
- mkdir -p $out/lib/haxe
- cp -r bin $out/bin
- wrapProgram "$out/bin/haxe" \
- --set "LD_LIBRARY_PATH" $zlib/lib \
- --set HAXE_LIBRARY_PATH "''${HAXE_LIBRARY_PATH}''${HAXE_LIBRARY_PATH:-:}:$out/lib/haxe/std:."
- cp -r std $out/lib/haxe/
- '';
-
- meta = {
- description = "programming language targeting JavaScript, Flash, NekVM, PHP, C++";
- homepage = http://haxe.org;
- license = ["GPLv2" "BSD2" /*?*/ ]; # -> docs/license.txt
- maintainers = [args.lib.maintainers.marcweber];
- platforms = args.lib.platforms.linux;
- };
- };
-
- # build a tool found in std/tools/${name} source directory
- # the .hxml files contain a recipe to cerate a binary.
- tool = { name, description }: stdenv.mkDerivation {
-
- inherit name;
-
- src = src_haxe;
-
- buildPhase = ''
- cd std/tools/${name};
- haxe *.hxml
- mkdir -p $out/bin
- mv ${name} $out/bin/
- '';
-
- buildInputs = [haxe neko];
-
- dontStrip=1;
-
- installPhase=":";
-
- meta = {
- inherit description;
- homepage = http://haxe.org;
- # license = "?"; TODO
- maintainers = [args.lib.maintainers.marcweber];
- platforms = args.lib.platforms.linux;
- };
-
- };
-
-in
-
-{
-
- inherit haxe;
-
- haxelib = tool {
- name = "haxelib";
- description = "haxelib is a HaXe library management tool similar to easyinstall or ruby gems";
+ src = fetchsvn {
+ url = "http://haxe.googlecode.com/svn/tags/v2-10";
+ sha256 = "dbd3c655e4136eb68a165ef83b96bfc1f0f2eb9ec8729603b19bcd717a61a679";
};
+ prePatch = ''
+ sed -i -e 's|com.class_path <- \[|&"'"$out/lib/haxe/std/"'";|' main.ml
+ '';
+
+ postBuild = ''
+ find std/tools -name '*.n' -delete
+ rm std/tools/haxedoc/haxedoc std/tools/haxelib/haxelib
+ '';
+
+ installPhase = ''
+ install -vd "$out/bin" "$out/lib/haxe/std"
+ install -vt "$out/bin" haxe haxelib haxedoc
+ cp -vr std "$out/lib/haxe"
+ '';
+
+ dontStrip = true;
+
+ meta = {
+ description = "Programming language targeting JavaScript, Flash, NekoVM, PHP, C++";
+ homepage = http://haxe.org;
+ license = ["GPLv2" "BSD2" /*?*/ ]; # -> docs/license.txt
+ maintainers = [stdenv.lib.maintainers.marcweber];
+ platforms = stdenv.lib.platforms.linux;
+ };
}
diff --git a/pkgs/development/compilers/idris/default.nix b/pkgs/development/compilers/idris/default.nix
index deb97a19b1c..b240824ff73 100644
--- a/pkgs/development/compilers/idris/default.nix
+++ b/pkgs/development/compilers/idris/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "idris";
- version = "0.9.3.1";
- sha256 = "1dqb7gd5jn5f062hfwrirrfxv6ac1f6khkfax912j01mg147hv9a";
+ version = "0.9.4.1";
+ sha256 = "1f1jrgnclr0443rbhfcnm0vvbb2jcliskqm6vq1c0xgywab7bjhx";
isLibrary = false;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/compilers/jhc/default.nix b/pkgs/development/compilers/jhc/default.nix
new file mode 100644
index 00000000000..4b4d85df890
--- /dev/null
+++ b/pkgs/development/compilers/jhc/default.nix
@@ -0,0 +1,29 @@
+{
+ stdenv, fetchurl, perl, ghc, binary, zlib, utf8String, readline, fgl,
+ regexCompat, HsSyck, random
+}:
+
+stdenv.mkDerivation rec {
+
+ name = "jhc-${version}";
+
+ version = "0.8.0";
+
+ src = fetchurl {
+ url = "http://repetae.net/dist/${name}.tar.gz";
+ sha256 = "0rbv0gpp7glhd9xqy7snbiaiizwnsfg9vzhvyywcvbmb35yivy2a";
+ };
+
+ buildInputs = [
+ perl ghc binary zlib utf8String readline fgl regexCompat HsSyck random
+ ];
+
+ meta = {
+ description = ''
+ A Haskell compiler which aims to produce the most efficient programs
+ '';
+ license = stdenv.lib.licenses.gpl2;
+ maintainers = [ stdenv.lib.maintainers.aforemny ];
+ };
+
+}
diff --git a/pkgs/development/compilers/llvm/3.1.nix b/pkgs/development/compilers/llvm/3.1.nix
deleted file mode 100644
index 204c080b871..00000000000
--- a/pkgs/development/compilers/llvm/3.1.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ stdenv, fetchurl, perl, groff, cmake, python }:
-
-let version = "3.1"; in
-
-stdenv.mkDerivation {
- name = "llvm-${version}";
-
- src = fetchurl {
- url = "http://llvm.org/releases/${version}/llvm-${version}.src.tar.gz";
- sha256 = "1ea05135197b5400c1f88d00ff280d775ce778f8f9ea042e25a1e1e734a4b9ab";
- };
-
- buildInputs = [ perl groff cmake python ];
-
- cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
-
- enableParallelBuilding = true;
-
- meta = {
- homepage = http://llvm.org/;
- description = "Collection of modular and reusable compiler and toolchain technologies";
- license = "BSD";
- maintainers = with stdenv.lib.maintainers; [viric shlevy raskin];
- platforms = with stdenv.lib.platforms; all;
- };
-}
-
diff --git a/pkgs/development/compilers/llvm/clang-include-paths.patch b/pkgs/development/compilers/llvm/clang-include-paths.patch
index 828c554175e..5e7370718ab 100644
--- a/pkgs/development/compilers/llvm/clang-include-paths.patch
+++ b/pkgs/development/compilers/llvm/clang-include-paths.patch
@@ -1,49 +1,21 @@
-diff -Naur clang-3.0.src-orig/lib/Driver/ToolChains.cpp clang-3.0.src/lib/Driver/ToolChains.cpp
---- clang-3.0.src-orig/lib/Driver/ToolChains.cpp 2011-11-17 02:40:32.000000000 -0500
-+++ clang-3.0.src/lib/Driver/ToolChains.cpp 2011-12-19 06:29:27.562428830 -0500
-@@ -1926,14 +1926,17 @@
+diff -Naur clang-3.1.src-orig/lib/Driver/ToolChains.cpp clang-3.1.src/lib/Driver/ToolChains.cpp
+--- clang-3.1.src-orig/lib/Driver/ToolChains.cpp 2012-05-11 20:16:02.000000000 -0400
++++ clang-3.1.src/lib/Driver/ToolChains.cpp 2012-10-08 01:13:01.044083509 -0400
+@@ -2146,9 +2146,6 @@
if (DriverArgs.hasArg(options::OPT_nostdinc))
return;
-+#if 0
- if (!DriverArgs.hasArg(options::OPT_nostdlibinc))
- addSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/local/include");
-
-+#endif
+- if (!DriverArgs.hasArg(options::OPT_nostdlibinc))
+- addSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/local/include");
+-
if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) {
llvm::sys::Path P(D.ResourceDir);
P.appendComponent("include");
- addSystemInclude(DriverArgs, CC1Args, P.str());
- }
-+#if 0
-
- if (DriverArgs.hasArg(options::OPT_nostdlibinc))
- return;
-@@ -1998,6 +2001,8 @@
+@@ -2264,6 +2261,7 @@
return;
- addExternCSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/include");
-+#endif
-+ addExternCSystemInclude(DriverArgs, CC1Args, D.SysRoot + C_INCLUDE_PATH);
- }
-
- static bool addLibStdCXXIncludePaths(Twine Base, Twine TargetArchDir,
-@@ -2030,6 +2035,7 @@
- bool IsTarget64Bit = (TargetArch == llvm::Triple::x86_64 ||
- TargetArch == llvm::Triple::ppc64);
-
-+#if 0
- StringRef CxxIncludeRoot(CXX_INCLUDE_ROOT);
- if (!CxxIncludeRoot.empty()) {
- StringRef CxxIncludeArch(CXX_INCLUDE_ARCH);
-@@ -2072,6 +2078,10 @@
- GCCInstallation.getTriple() + Suffix,
- DriverArgs, CC1Args);
- }
-+#endif
-+ addLibStdCXXIncludePaths(CPP_INCLUDE_PATH,
-+ CPP_HOST,
-+ DriverArgs, CC1Args);
- }
-
- /// DragonFly - DragonFly tool chain which can call as(1) and ld(1) directly.
+ // Check if libc++ has been enabled and provide its include paths if so.
++ // !!! Will need to modify this if/when nixpkgs uses libc++
+ if (GetCXXStdlibType(DriverArgs) == ToolChain::CST_Libcxx) {
+ // libc++ is always installed at a fixed path on Linux currently.
+ addSystemInclude(DriverArgs, CC1Args,
diff --git a/pkgs/development/compilers/llvm/clang-ld-flags.patch b/pkgs/development/compilers/llvm/clang-ld-flags.patch
index 62b8bc763f9..ffa67b464ec 100644
--- a/pkgs/development/compilers/llvm/clang-ld-flags.patch
+++ b/pkgs/development/compilers/llvm/clang-ld-flags.patch
@@ -1,38 +1,57 @@
-diff -Naur clang-3.0.src-orig/lib/Driver/ToolChains.cpp clang-3.0.src/lib/Driver/ToolChains.cpp
---- clang-3.0.src-orig/lib/Driver/ToolChains.cpp 2011-11-17 02:40:32.000000000 -0500
-+++ clang-3.0.src/lib/Driver/ToolChains.cpp 2011-12-19 05:32:38.695513475 -0500
-@@ -1800,6 +1800,7 @@
+diff -Naur clang-3.1.src-orig/lib/Driver/ToolChains.cpp clang-3.1.src/lib/Driver/ToolChains.cpp
+--- clang-3.1.src-orig/lib/Driver/ToolChains.cpp 2012-05-11 20:16:02.000000000 -0400
++++ clang-3.1.src/lib/Driver/ToolChains.cpp 2012-10-08 01:22:53.458850737 -0400
+@@ -2077,16 +2077,6 @@
+ addPathIfExists(LibPath + "/../" + Multilib, Paths);
+ }
+ }
+- addPathIfExists(SysRoot + "/lib/" + MultiarchTriple, Paths);
+- addPathIfExists(SysRoot + "/lib/../" + Multilib, Paths);
+- addPathIfExists(SysRoot + "/usr/lib/" + MultiarchTriple, Paths);
+- addPathIfExists(SysRoot + "/usr/lib/../" + Multilib, Paths);
+-
+- // Try walking via the GCC triple path in case of multiarch GCC
+- // installations with strange symlinks.
+- if (GCCInstallation.isValid())
+- addPathIfExists(SysRoot + "/usr/lib/" + GCCInstallation.getTriple().str() +
+- "/../../" + Multilib, Paths);
- Linker = GetProgramPath("ld");
-
-+#if 0
- LinuxDistro Distro = DetectLinuxDistro(Arch);
-
- if (IsOpenSuse(Distro) || IsUbuntu(Distro)) {
-@@ -1882,6 +1883,7 @@
- addPathIfExists(SysRoot + "/lib", Paths);
- addPathIfExists(SysRoot + "/usr/lib/" + MultiarchTriple, Paths);
- addPathIfExists(SysRoot + "/usr/lib", Paths);
-+#endif
+ // Add the non-multilib suffixed paths (if potentially different).
+ if (GCCInstallation.isValid()) {
+@@ -2100,8 +2090,6 @@
+ addPathIfExists(LibPath, Paths);
+ }
+ }
+- addPathIfExists(SysRoot + "/lib", Paths);
+- addPathIfExists(SysRoot + "/usr/lib", Paths);
}
bool Linux::HasNativeLLVMSupport() const {
-diff -Naur clang-3.0.src-orig/lib/Driver/Tools.cpp clang-3.0.src/lib/Driver/Tools.cpp
---- clang-3.0.src-orig/lib/Driver/Tools.cpp 2011-11-07 05:27:39.000000000 -0500
-+++ clang-3.0.src/lib/Driver/Tools.cpp 2011-12-19 05:34:44.075325534 -0500
-@@ -4306,6 +4306,7 @@
+diff -Naur clang-3.1.src-orig/lib/Driver/Tools.cpp clang-3.1.src/lib/Driver/Tools.cpp
+--- clang-3.1.src-orig/lib/Driver/Tools.cpp 2012-04-18 17:32:25.000000000 -0400
++++ clang-3.1.src/lib/Driver/Tools.cpp 2012-10-08 01:25:23.913501995 -0400
+@@ -5210,24 +5210,6 @@
ToolChain.getArch() == llvm::Triple::thumb ||
(!Args.hasArg(options::OPT_static) &&
!Args.hasArg(options::OPT_shared))) {
-+#if 0
- CmdArgs.push_back("-dynamic-linker");
- if (ToolChain.getArch() == llvm::Triple::x86)
- CmdArgs.push_back("/lib/ld-linux.so.2");
-@@ -4318,6 +4319,7 @@
- CmdArgs.push_back("/lib64/ld64.so.1");
- else
- CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2");
-+#endif
+- CmdArgs.push_back("-dynamic-linker");
+- if (ToolChain.getArch() == llvm::Triple::x86)
+- CmdArgs.push_back("/lib/ld-linux.so.2");
+- else if (ToolChain.getArch() == llvm::Triple::arm ||
+- ToolChain.getArch() == llvm::Triple::thumb)
+- CmdArgs.push_back("/lib/ld-linux.so.3");
+- else if (ToolChain.getArch() == llvm::Triple::mips ||
+- ToolChain.getArch() == llvm::Triple::mipsel)
+- CmdArgs.push_back("/lib/ld.so.1");
+- else if (ToolChain.getArch() == llvm::Triple::mips64 ||
+- ToolChain.getArch() == llvm::Triple::mips64el)
+- CmdArgs.push_back("/lib64/ld.so.1");
+- else if (ToolChain.getArch() == llvm::Triple::ppc)
+- CmdArgs.push_back("/lib/ld.so.1");
+- else if (ToolChain.getArch() == llvm::Triple::ppc64)
+- CmdArgs.push_back("/lib64/ld64.so.1");
+- else
+- CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2");
}
CmdArgs.push_back("-o");
diff --git a/pkgs/development/compilers/llvm/clang.nix b/pkgs/development/compilers/llvm/clang.nix
index 663e1bfab28..48e4c4946f3 100644
--- a/pkgs/development/compilers/llvm/clang.nix
+++ b/pkgs/development/compilers/llvm/clang.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, perl, groff, llvm, cmake }:
-let version = "3.0"; in
+let version = "3.1"; in
stdenv.mkDerivation {
name = "clang-${version}";
@@ -10,20 +10,19 @@ stdenv.mkDerivation {
patches = stdenv.lib.optionals (stdenv.gcc.libc != null)
[ ./clang-include-paths.patch ./clang-ld-flags.patch ];
- postPatch = stdenv.lib.optionalString (stdenv.gcc.libc != null) ''
- sed -i -e 's,C_INCLUDE_PATH,"${stdenv.gcc.libc}/include/",' \
- -e 's,CPP_HOST,"'$(${stdenv.gcc}/bin/cc -dumpmachine)'",' \
- -e 's,CPP_INCLUDE_PATH,"${stdenv.gcc.gcc}/include/c++/${stdenv.gcc.gcc.version}",' \
- lib/Driver/ToolChains.cpp
- '';
-
- cmakeFlags = [ "-DCLANG_PATH_TO_LLVM_BUILD=${llvm}" "-DCMAKE_BUILD_TYPE=Release" "-DLLVM_TARGETS_TO_BUILD=all"];
+ cmakeFlags = [
+ "-DCLANG_PATH_TO_LLVM_BUILD=${llvm}"
+ "-DCMAKE_BUILD_TYPE=Release"
+ "-DLLVM_TARGETS_TO_BUILD=all"
+ ] ++ stdenv.lib.optionals (stdenv.gcc.libc != null) [
+ "-DC_INCLUDE_DIRS=${stdenv.gcc.libc}/include/"
+ ];
enableParallelBuilding = true;
src = fetchurl {
- url = "http://llvm.org/releases/${version}/clang-${version}.tar.gz";
- sha256 = "0v8j9rgmb7w74ihc44zfxa22q17c946n5b6prwl38z3d6pd74kmn";
+ url = "http://llvm.org/releases/${version}/clang-${version}.src.tar.gz";
+ sha256 = "11m7sm9f8qcrayckfg3z91zb3fimilpm0f7azn7q7qnkvhay4qzz";
};
passthru = { gcc = stdenv.gcc.gcc; };
diff --git a/pkgs/development/compilers/llvm/default.nix b/pkgs/development/compilers/llvm/default.nix
index 0fb1cf82cc2..204c080b871 100644
--- a/pkgs/development/compilers/llvm/default.nix
+++ b/pkgs/development/compilers/llvm/default.nix
@@ -1,16 +1,16 @@
-{ stdenv, fetchurl, perl, groff, cmake }:
+{ stdenv, fetchurl, perl, groff, cmake, python }:
-let version = "3.0"; in
+let version = "3.1"; in
stdenv.mkDerivation {
name = "llvm-${version}";
src = fetchurl {
- url = "http://llvm.org/releases/${version}/llvm-${version}.tar.gz";
- sha256 = "0xq4gi7lflv8ilfckslhfvnja5693xjii1yvzz39kklr6hfv37ji";
+ url = "http://llvm.org/releases/${version}/llvm-${version}.src.tar.gz";
+ sha256 = "1ea05135197b5400c1f88d00ff280d775ce778f8f9ea042e25a1e1e734a4b9ab";
};
- buildInputs = [ perl groff cmake ];
+ buildInputs = [ perl groff cmake python ];
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
homepage = http://llvm.org/;
description = "Collection of modular and reusable compiler and toolchain technologies";
license = "BSD";
- maintainers = with stdenv.lib.maintainers; [viric shlevy];
+ maintainers = with stdenv.lib.maintainers; [viric shlevy raskin];
platforms = with stdenv.lib.platforms; all;
};
}
diff --git a/pkgs/development/compilers/neko/default.nix b/pkgs/development/compilers/neko/default.nix
index 28a98fe1e25..ddeeb51c25e 100644
--- a/pkgs/development/compilers/neko/default.nix
+++ b/pkgs/development/compilers/neko/default.nix
@@ -1,69 +1,44 @@
-{ composableDerivation, lib, fetchurl, mysql, apacheHttpd, zlib, sqlite
-, pcre, apr, gtk, boehmgc, pkgconfig, makeWrapper, sourceFromHead }:
+{ stdenv, fetchurl, boehmgc, zlib, sqlite, pcre }:
-let
+stdenv.mkDerivation rec {
+ name = "neko-${version}";
+ version = "1.8.2";
- inherit (composableDerivation) edf wwf;
-
- libs = [ mysql apacheHttpd zlib sqlite pcre apr gtk ];
-
- includes = lib.concatMapStrings (x: ''"${x}/include",'' ) libs + ''"{gkt}/include/gtk-2.0",'';
-
-in
-
-composableDerivation.composableDerivation {} ( fixed : {
-
- name = "neko-cvs";
-
- # REGION AUTO UPDATE: { name="neko"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "neko"; groups = "haxe_group"; }
- src = sourceFromHead "neko-F_16-06-48.tar.gz"
- (fetchurl { url = "http://mawercer.de/~nix/repos/neko-F_16-06-48.tar.gz"; sha256 = "e952582a26099b7a5568d0798839a6d349331510ffe6d7936b4537d60b6ccf26"; });
- # END
-
- # optionally remove apache mysql like gentoo does?
- # they just remove libs/{apache,mod_neko}
- buildInputs = [boehmgc pkgconfig makeWrapper] ++ libs;
- # apr should be in apacheHttpd propagatedBuildInputs
-
- preConfigure = ''
- sed -i \
- -e 's@"/usr/include",@${includes}@' \
- src/tools/install.neko
- sed -i "s@/usr/local@$out@" Makefile vm/load.c
- # make sure that nekotools boot finds the neko executable and not our wrapper:
- mkdir -p $out/{bin,lib}
-
- sed -i "s@\"neko\"@\".neko-wrapped\"@" src/tools/nekoboot.neko
- ln -s ./neko bin/.neko-wrapped
- '';
-
- inherit zlib;
-
- meta = {
- description = "Neko is an high-level dynamicly typed programming language";
- homepage = http://nekovm.org;
- license = ["GPLv2" ]; # -> docs/license.txt
- maintainers = [ lib.maintainers.marcweber ];
- platforms = lib.platforms.linux;
+ src = fetchurl {
+ url = "http://nekovm.org/_media/neko-${version}.tar.gz";
+ sha256 = "099727w6dk689z3pcgbhsqjl74zzrh82a5vb2abxynamcqxcgz1w";
};
- # if stripping was done neko and nekoc would be the same. ?!
- dontStrip = 1;
+ prePatch = with stdenv.lib; let
+ libs = concatStringsSep "," (map (lib: "\"${lib}/include\"") buildInputs);
+ in ''
+ sed -i -e '/^search_includes/,/^}/c \
+ search_includes = function(_) { return $array(${libs}) }
+ ' src/tools/install.neko
+ sed -i -e '/allocated = strdup/s|"[^"]*"|"'"$out/lib/neko:$out/bin"'"|' \
+ vm/load.c
+ # temporarily, fixed in 1.8.3
+ sed -i -e 's/^#if defined(_64BITS)/& || defined(__x86_64__)/' vm/neko.h
- # neko-wrapped: nekotools boot has to find it. So don't prefix wrapped executable by "."
- postInstall = ''
- for prog in nekotools nekoc; do
- wrapProgram "$out/bin/$prog" \
- --prefix "LD_LIBRARY_PATH" $out/lib/neko
+ for disabled_mod in mod_neko{,2} mod_tora{,2} mysql ui; do
+ sed -i -e '/^libs/,/^}/{/^\s*'"$disabled_mod"'\s*=>/,/^\s*}/d}' \
+ src/tools/install.neko
done
-
- wrapProgram "$out/bin/neko" \
- --prefix "LD_LIBRARY_PATH" $out/lib/neko
-
- # create symlink so that nekotools boot finds not wrapped neko-wrapped executable
- ln -s ln -s ../../bin/.neko-wrapped $out/lib/neko
'';
- # TODO make them optional and make them work
- patches = [ ./disable-modules.patch ];
-})
+ makeFlags = "INSTALL_PREFIX=$(out)";
+ buildInputs = [ boehmgc zlib sqlite pcre ];
+ dontStrip = true;
+
+ preInstall = ''
+ install -vd "$out/lib" "$out/bin"
+ '';
+
+ meta = {
+ description = "A high-level dynamically typed programming language";
+ homepage = http://nekovm.org;
+ license = stdenv.lib.licenses.lgpl21;
+ maintainers = [ stdenv.lib.maintainers.marcweber ];
+ platforms = stdenv.lib.platforms.linux;
+ };
+}
diff --git a/pkgs/development/compilers/neko/disable-modules.patch b/pkgs/development/compilers/neko/disable-modules.patch
deleted file mode 100644
index d4d5a8eb30e..00000000000
--- a/pkgs/development/compilers/neko/disable-modules.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff --git a/src/tools/install.neko b/src/tools/install.neko
-index 4cffa5e..5702add 100644
---- a/src/tools/install.neko
-+++ b/src/tools/install.neko
-@@ -39,26 +39,6 @@ buffer_string = $loader.loadprim("std@buffer_string",1);
- // LIBS DATAS
-
- libs = {
-- mod_neko => {
-- src => $array("../../vm/stats","mod_neko","cgi"),
-- inc => "httpd.h",
-- incname => "Apache 1.3.x"
-- },
-- mod_neko2 => {
-- src => $array("../../vm/stats","mod_neko","cgi"),
-- inc => $array("httpd.h","apr.h"),
-- incname => "Apache 2.2.x",
-- cflags => "-D_LARGEFILE64_SOURCE",
-- realdir => "mod_neko",
-- apache2 => true,
-- },
-- mysql => {
-- src => $array("mysql"),
-- inc => "mysql.h",
-- incname => "MySQL 4.+"
-- lib => "libmysqlclient_r.a",
-- lparams => "-lz -lssl"
-- },
- mysql5 => {
- src => $array("../common/sha1","../common/socket","my_proto/my_proto","my_proto/my_api","mysql"),
- inc => $array(),
-@@ -83,27 +63,6 @@ libs = {
- incname => "Sqlite 3",
- lparams => "-lsqlite3",
- },
-- ui => {
-- src => $array("ui"),
-- inc => switch system { "Mac" => "Carbon.h" default => "gtk/gtk.h" },
-- incname => switch system { "Mac" => "Carbon" default => "GTK+2.0" },
-- cflags => switch system { "Mac" => "" default => "`pkg-config --cflags gtk+-2.0`" },
-- lparams => switch system { "Mac" => "-framework Carbon" default => "`pkg-config --libs gtk+-2.0` -lgthread-2.0" },
-- },
-- mod_tora => {
-- src => $array("../common/socket","protocol","mod_tora"),
-- inc => "httpd.h",
-- incname => "Apache 1.3.x",
-- cflags => "-I../common",
-- },
-- mod_tora2 => {
-- src => $array("../common/socket","protocol","mod_tora"),
-- inc => $array("httpd.h","apr.h"),
-- incname => "Apache 2.2.x",
-- cflags => "-D_LARGEFILE64_SOURCE -I../common",
-- realdir => "mod_tora",
-- apache2 => true,
-- },
- }
-
- // PLATFORM
diff --git a/pkgs/development/compilers/ocaml/4.00.0.nix b/pkgs/development/compilers/ocaml/4.00.1.nix
similarity index 95%
rename from pkgs/development/compilers/ocaml/4.00.0.nix
rename to pkgs/development/compilers/ocaml/4.00.1.nix
index e25654a2481..d7c14e031b3 100644
--- a/pkgs/development/compilers/ocaml/4.00.0.nix
+++ b/pkgs/development/compilers/ocaml/4.00.1.nix
@@ -8,11 +8,11 @@ in
stdenv.mkDerivation rec {
- name = "ocaml-4.00.0";
+ name = "ocaml-4.00.1";
src = fetchurl {
url = "http://caml.inria.fr/pub/distrib/ocaml-4.00/${name}.tar.bz2";
- sha256 = "ec886d7bc587ce472fcbdf294feb4b1fa2d8e7ef78ab6a4e66551699435d5cd7";
+ sha256 = "33c3f4acff51685f5bfd7c260f066645e767d4e865877bf1613c176a77799951";
};
prefixKey = "-prefix ";
diff --git a/pkgs/development/compilers/openjdk-darwin/default.nix b/pkgs/development/compilers/openjdk-darwin/default.nix
index cbd41033bfc..1e74acfae72 100644
--- a/pkgs/development/compilers/openjdk-darwin/default.nix
+++ b/pkgs/development/compilers/openjdk-darwin/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl}:
+{stdenv, fetchurl, ...}:
stdenv.mkDerivation {
name = "openjdk6-b16-24_apr_2009-r1";
diff --git a/pkgs/development/compilers/openjdk/default.nix b/pkgs/development/compilers/openjdk/default.nix
index f243baab591..0aaa275ccc5 100644
--- a/pkgs/development/compilers/openjdk/default.nix
+++ b/pkgs/development/compilers/openjdk/default.nix
@@ -17,6 +17,9 @@
, libXrender
, libXtst
, libXi
+, libXinerama
+, libXcursor
+, fontconfig
, cpio
, jreOnly ? false
}:
@@ -82,8 +85,13 @@ stdenv.mkDerivation rec {
libXrender
libXtst
libXi
+ libXinerama
+ libXcursor
+ fontconfig
];
+ NIX_LDFLAGS = "-lfontconfig -lXcursor -lXinerama";
+
postUnpack = ''
mkdir -p drops
cp ${jaxp_src} drops/${jaxp_src_name}
@@ -122,7 +130,6 @@ stdenv.mkDerivation rec {
"UNIXCOMMAND_PATH="
"BOOTDIR=${jdk}"
"DROPS_DIR=$(DROPS_PATH)"
- "SKIP_BOOT_CYCLE=false"
];
configurePhase = ''
diff --git a/pkgs/development/interpreters/clisp/default.nix b/pkgs/development/interpreters/clisp/default.nix
index c985da9a5a2..23b4e4e9e54 100644
--- a/pkgs/development/interpreters/clisp/default.nix
+++ b/pkgs/development/interpreters/clisp/default.nix
@@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
--with-module=clx/new-clx --with-module=i18n --with-module=bindings/glibc
--with-module=pcre --with-module=rawsock --with-module=readline
--with-module=syscalls --with-module=wildcard --with-module=zlib
+ --with-threads=POSIX_THREADS
'';
preBuild = ''
diff --git a/pkgs/development/interpreters/lua-5/5.1.nix b/pkgs/development/interpreters/lua-5/5.1.nix
new file mode 100644
index 00000000000..e3dfd4711a1
--- /dev/null
+++ b/pkgs/development/interpreters/lua-5/5.1.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchurl, readline}:
+
+stdenv.mkDerivation rec {
+ name = "lua-5.1.5";
+
+ src = fetchurl {
+ url = "http://www.lua.org/ftp/${name}.tar.gz";
+ sha256 = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333";
+ };
+
+ buildInputs = [ readline ];
+
+ configurePhase = "makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=linux )";
+
+ meta = {
+ homepage = "http://www.lua.org";
+ description = "Lua is a powerful, fast, lightweight, embeddable scripting language.";
+ longDescription = ''
+ Lua combines simple procedural syntax with powerful data
+ description constructs based on associative arrays and extensible
+ semantics. Lua is dynamically typed, runs by interpreting bytecode
+ for a register-based virtual machine, and has automatic memory
+ management with incremental garbage collection, making it ideal
+ for configuration, scripting, and rapid prototyping.
+ '';
+ license = "MIT";
+ platforms = stdenv.lib.platforms.unix;
+ maintainers = [ ];
+ };
+}
diff --git a/pkgs/development/interpreters/php/5.2.nix b/pkgs/development/interpreters/php/5.2.nix
deleted file mode 100644
index 4395c0f498c..00000000000
--- a/pkgs/development/interpreters/php/5.2.nix
+++ /dev/null
@@ -1,172 +0,0 @@
-args: with args;
-
-let
-
- inherit (args.composableDerivation) composableDerivation edf wwf;
-
-in
-
-composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
-
- version = "5.2.17";
-
- name = "php-${version}";
-
- buildInputs = ["flex" "bison" "pkgconfig"];
-
- flags = {
-
-# much left to do here...
-
- # SAPI modules:
-
- apxs2 = {
- configureFlags = ["--with-apxs2=${apacheHttpd}/bin/apxs"];
- buildInputs = [apacheHttpd];
- };
-
- # Extensions
-
- curl = {
- configureFlags = ["--with-curl=${args.curl}" "--with-curlwrappers"];
- buildInputs = [curl openssl];
- };
-
- zlib = {
- configureFlags = ["--with-zlib=${args.zlib}"];
- buildInputs = [zlib];
- };
-
- libxml2 = {
- configureFlags = [
- "--with-libxml-dir=${libxml2}"
- "--with-iconv-dir=${libiconv}"
- ];
- buildInputs = [ libxml2 ];
- };
-
- readline = {
- configureFlags = ["--with-readline=${readline}"];
- buildInputs = [ readline ];
- };
-
- sqlite = {
- configureFlags = ["--with-pdo-sqlite=${sqlite}"];
- buildInputs = [ sqlite ];
- };
-
- postgresql = {
- configureFlags = ["--with-pgsql=${postgresql}"];
- buildInputs = [ postgresql ];
- };
-
- mysql = {
- configureFlags = ["--with-mysql=${mysql}"];
- buildInputs = [ mysql ];
- };
-
- mysqli = {
- configureFlags = ["--with-mysqli=${mysql}/bin/mysql_config"];
- buildInputs = [ mysql];
- };
-
- mysqli_embedded = {
- configureFlags = ["--enable-embedded-mysqli"];
- depends = "mysqli";
- assertion = fixed.mysqliSupport;
- };
-
- pdo_mysql = {
- configureFlags = ["--with-pdo-mysql=${mysql}"];
- buildInputs = [ mysql ];
- };
-
- bcmath = {
- configureFlags = ["--enable-bcmath"];
- };
-
- gd = {
- configureFlags = ["--with-gd=${args.gd}"];
- buildInputs = [gd libpng libjpeg ];
- };
-
- soap = {
- configureFlags = ["--enable-soap"];
- };
-
- sockets = {
- configureFlags = ["--enable-sockets"];
- };
-
- openssl = {
- configureFlags = ["--with-openssl=${args.openssl}"];
- buildInputs = ["openssl"];
- };
-
- mbstring = {
- configureFlags = ["--enable-mbstring"];
- };
-
- /*
- php is build within this derivation in order to add the xdebug lines to the php.ini.
- So both Apache and command line php both use xdebug without having to configure anything.
- Xdebug could be put in its own derivation.
- * /
- meta = {
- description = "debugging support for PHP";
- homepage = http://xdebug.org;
- license = "based on the PHP license - as is";
- };
- */
- };
-
- cfg = {
- mysqlSupport = config.php.mysql or true;
- mysqliSupport = config.php.mysqli or true;
- pdo_mysqlSupport = config.php.pdo_mysql or true;
- libxml2Support = config.php.libxml2 or true;
- apxs2Support = config.php.apxs2 or true;
- bcmathSupport = config.php.bcmath or true;
- socketsSupport = config.php.sockets or true;
- curlSupport = config.php.curl or true;
- gettextSupport = config.php.gettext or true;
- postgresqlSupport = config.php.postgresql or true;
- readlineSupport = config.php.readline or true;
- sqliteSupport = config.php.sqlite or true;
- soapSupport = config.php.soap or true;
- zlibSupport = config.php.zlib or true;
- opensslSupport = config.php.openssl or true;
- mbstringSupport = config.php.mbstring or true;
- gdSupport = config.php.gd or true;
- };
-
- configurePhase = ''
- iniFile=$out/etc/php-recommended.ini
- [[ -z "$libxml2" ]] || export PATH=$PATH:$libxml2/bin
- ./configure --with-config-file-scan-dir=/etc --with-config-file-path=$out/etc --prefix=$out $configureFlags
- echo configurePhase end
- '';
-
- installPhase = ''
- unset installPhase; installPhase;
- cp php.ini-${ if builtins.lessThan (builtins.compareVersions version "5.3") 0
- then "recommended" /* < PHP 5.3 */
- else "production" /* >= PHP 5.3 */
- } $iniFile
- '';
-
- src = args.fetchurl {
- url = "http://nl.php.net/get/php-${version}.tar.bz2/from/this/mirror";
- sha256 = "0v0i7zjp1a2c60imn58xjqcczmiglnfnwdkgwl0bfai4xh9yn6z8";
- name = "php-${version}.tar.bz2";
- };
-
- meta = {
- description = "The PHP language runtime engine";
- homepage = http://www.php.net/;
- license = "PHP-3";
- };
-
- patches = [./fix.patch];
-
-})
diff --git a/pkgs/development/interpreters/php/5.3.nix b/pkgs/development/interpreters/php/5.3.nix
index d4aebc77637..b811e7349c8 100644
--- a/pkgs/development/interpreters/php/5.3.nix
+++ b/pkgs/development/interpreters/php/5.3.nix
@@ -1,25 +1,23 @@
-args: with args;
+{ stdenv, fetchurl, composableDerivation, autoconf, automake, flex, bison
+, apacheHttpd, mysql, libxml2, readline, zlib, curl, gd, postgresql
+, openssl, pkgconfig, sqlite, config, libiconv, libjpeg, libpng }:
-let
+composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
- inherit (args.composableDerivation) composableDerivation edf wwf;
-
-in
-
-composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
-
- version = "5.3.15";
+ version = "5.3.17";
name = "php-${version}";
+ enableParallelBuilding = true;
+
buildInputs = ["flex" "bison" "pkgconfig"];
flags = {
-# much left to do here...
+ # much left to do here...
# SAPI modules:
-
+
apxs2 = {
configureFlags = ["--with-apxs2=${apacheHttpd}/bin/apxs"];
buildInputs = [apacheHttpd];
@@ -28,12 +26,12 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
# Extensions
curl = {
- configureFlags = ["--with-curl=${args.curl}" "--with-curlwrappers"];
+ configureFlags = ["--with-curl=${curl}" "--with-curlwrappers"];
buildInputs = [curl openssl];
};
-
+
zlib = {
- configureFlags = ["--with-zlib=${args.zlib}"];
+ configureFlags = ["--with-zlib=${zlib}"];
buildInputs = [zlib];
};
@@ -44,7 +42,7 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
];
buildInputs = [ libxml2 ];
};
-
+
readline = {
configureFlags = ["--with-readline=${readline}"];
buildInputs = [ readline ];
@@ -54,12 +52,12 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
configureFlags = ["--with-pdo-sqlite=${sqlite}"];
buildInputs = [ sqlite ];
};
-
+
postgresql = {
configureFlags = ["--with-pgsql=${postgresql}"];
buildInputs = [ postgresql ];
};
-
+
mysql = {
configureFlags = ["--with-mysql=${mysql}"];
buildInputs = [ mysql ];
@@ -80,13 +78,13 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
configureFlags = ["--with-pdo-mysql=${mysql}"];
buildInputs = [ mysql ];
};
-
+
bcmath = {
configureFlags = ["--enable-bcmath"];
};
gd = {
- configureFlags = ["--with-gd=${args.gd}"];
+ configureFlags = ["--with-gd=${gd}"];
buildInputs = [gd libpng libjpeg ];
};
@@ -99,7 +97,7 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
};
openssl = {
- configureFlags = ["--with-openssl=${args.openssl}"];
+ configureFlags = ["--with-openssl=${openssl}"];
buildInputs = ["openssl"];
};
@@ -152,9 +150,9 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
cp php.ini-production $iniFile
'';
- src = args.fetchurl {
+ src = fetchurl {
url = "http://nl.php.net/get/php-${version}.tar.bz2/from/this/mirror";
- sha256 = "1vzij845n2akh2lkpacgdc5r0f7nw6pk9l9vi1h8l8k4krjjbdzr";
+ sha256 = "02bmjlznnfhxhyd4wvk8ky9vpqwl9rbyng803r7ygf84sibyi1dd";
name = "php-${version}.tar.bz2";
};
diff --git a/pkgs/development/libraries/atk/2.2.x.nix b/pkgs/development/libraries/atk/2.6.x.nix
similarity index 83%
rename from pkgs/development/libraries/atk/2.2.x.nix
rename to pkgs/development/libraries/atk/2.6.x.nix
index d0f7e109795..eba56776bd2 100644
--- a/pkgs/development/libraries/atk/2.2.x.nix
+++ b/pkgs/development/libraries/atk/2.6.x.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, perl, glib }:
stdenv.mkDerivation rec {
- name = "atk-2.2.0";
+ name = "atk-2.6.0";
src = fetchurl {
- url = mirror://gnome/sources/atk/2.2/atk-2.2.0.tar.xz;
- sha256 = "17bkqg89l9hxbkgc76cxlin1bwczk7m6ikbccx677lrxh3kz08lb";
+ url = "mirror://gnome/sources/atk/2.6/${name}.tar.xz";
+ sha256 = "eff663f90847620bb68c9c2cbaaf7f45e2ff44163b9ab3f10d15be763680491f";
};
buildNativeInputs = [ pkgconfig perl ];
diff --git a/pkgs/development/libraries/audio/suil/default.nix b/pkgs/development/libraries/audio/suil/default.nix
index a7300f541c4..0358e1c982c 100644
--- a/pkgs/development/libraries/audio/suil/default.nix
+++ b/pkgs/development/libraries/audio/suil/default.nix
@@ -1,15 +1,15 @@
-{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom }:
+{ stdenv, fetchurl, gtk, lv2, pkgconfig, python, serd, sord, sratom, qt4 }:
stdenv.mkDerivation rec {
name = "suil-${version}";
- version = "0.6.2";
+ version = "0.6.4";
src = fetchurl {
url = "http://download.drobilla.net/${name}.tar.bz2";
- sha256 = "1rqi16zqnaf30gr2gwb8wbhg8a2l3m5fllf7rabldmgj4b4jlyzp";
+ sha256 = "12pz2w74rhhi6gsskfs6l71vw8qfz8906kbjf5w6jyy1x4kkdca2";
};
- buildInputs = [ lv2 pkgconfig python serd sord sratom ];
+ buildInputs = [ gtk lv2 pkgconfig python qt4 serd sord sratom ];
configurePhase = "python waf configure --prefix=$out";
diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix
index 0ad643d9ac4..3b2670d988a 100644
--- a/pkgs/development/libraries/boehm-gc/default.nix
+++ b/pkgs/development/libraries/boehm-gc/default.nix
@@ -1,15 +1,20 @@
{ stdenv, fetchurl }:
-stdenv.mkDerivation (rec {
- name = "boehm-gc-7.2alpha6";
+stdenv.mkDerivation rec {
+ name = "boehm-gc-7.2d";
src = fetchurl {
- url = "http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.2alpha6.tar.gz";
- sha256 = "05jwadjbrv8pr7z9cb4miskicxqpxm0pca4h2rg5cgbpajr2bx7b";
+ url = http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.2d.tar.gz;
+ sha256 = "0phwa5driahnpn79zqff14w9yc8sn3599cxz91m78hqdcpl0mznr";
};
+ configureFlags = "--enable-cplusplus";
+
doCheck = true;
+ # Don't run the native `strip' when cross-compiling.
+ dontStrip = stdenv ? cross;
+
meta = {
description = "The Boehm-Demers-Weiser conservative garbage collector for C and C++";
@@ -39,10 +44,3 @@ stdenv.mkDerivation (rec {
platforms = stdenv.lib.platforms.all;
};
}
-
-//
-
-# Don't run the native `strip' when cross-compiling.
-(if (stdenv ? cross)
- then { dontStrip = true; }
- else { }))
diff --git a/pkgs/development/libraries/cairo/default.nix b/pkgs/development/libraries/cairo/default.nix
index fe3fe1e251c..d21f303e741 100644
--- a/pkgs/development/libraries/cairo/default.nix
+++ b/pkgs/development/libraries/cairo/default.nix
@@ -5,7 +5,7 @@
, gobjectSupport ? true, glib
, stdenv, fetchurl, pkgconfig, x11, fontconfig, freetype, xlibs
, zlib, libpng, pixman, libxcb ? null, xcbutil ? null
-, gettext
+, gettext, libiconvOrEmpty
}:
assert postscriptSupport -> zlib != null;
@@ -13,11 +13,11 @@ assert pngSupport -> libpng != null;
assert xcbSupport -> libxcb != null && xcbutil != null;
stdenv.mkDerivation rec {
- name = "cairo-1.10.2";
-
+ name = "cairo-1.12.4";
+
src = fetchurl {
- url = "http://cairographics.org/releases/${name}.tar.gz";
- sha1 = "ccce5ae03f99c505db97c286a0c9a90a926d3c6e";
+ url = "http://cairographics.org/releases/${name}.tar.xz";
+ sha1 = "f4158981ed01e73c94fb8072074b17feee61a68b";
};
buildInputs =
@@ -25,14 +25,16 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optionals xcbSupport [ libxcb xcbutil ]
# On non-GNU systems we need GNU Gettext for libintl.
- ++ stdenv.lib.optional (!stdenv.isLinux) gettext;
+ ++ stdenv.lib.optional (!stdenv.isLinux) gettext
+
+ ++ libiconvOrEmpty;
propagatedBuildInputs =
[ freetype pixman ] ++
stdenv.lib.optional gobjectSupport glib ++
stdenv.lib.optional postscriptSupport zlib ++
stdenv.lib.optional pngSupport libpng;
-
+
configureFlags =
[ "--enable-tee" ]
++ stdenv.lib.optional xcbSupport "--enable-xcb"
@@ -43,7 +45,18 @@ stdenv.mkDerivation rec {
# `-I' flags to be propagated.
sed -i "src/cairo.pc.in" \
-es'|^Cflags:\(.*\)$|Cflags: \1 -I${freetype}/include/freetype2 -I${freetype}/include|g'
- '';
+ ''
+
+ # On FreeBSD, `-ldl' doesn't exist.
+ + (stdenv.lib.optionalString stdenv.isFreeBSD
+ '' for i in "util/"*"/Makefile.in" boilerplate/Makefile.in
+ do
+ cat "$i" | sed -es/-ldl//g > t
+ mv t "$i"
+ done
+ '');
+
+ enableParallelBuilding = true;
# The default `--disable-gtk-doc' is ignored.
postInstall = "rm -rf $out/share/gtk-doc";
diff --git a/pkgs/development/libraries/dbus/default.nix b/pkgs/development/libraries/dbus/default.nix
index c943fe87fb3..0b8029c94db 100644
--- a/pkgs/development/libraries/dbus/default.nix
+++ b/pkgs/development/libraries/dbus/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, expat, libX11, libICE, libSM, useX11 ? true }:
let
- version = "1.4.16";
+ version = "1.6.4";
src = fetchurl {
url = "http://dbus.freedesktop.org/releases/dbus/dbus-${version}.tar.gz";
- sha256 = "1ii93d0lzj5xm564dcq6ca4s0nvm5i9fx3jp0s7i9hlc5wkfd3hx";
+ sha256 = "1wacqyfkcpayg7f8rvx9awqg275n5pksxq5q7y21lxjx85x6pfjz";
};
patches = [ ./ignore-missing-includedirs.patch ];
@@ -21,6 +21,10 @@ in rec {
buildInputs = [ expat ];
+ # FIXME: dbus has optional systemd integration when checking
+ # at_console policies. How to enable this without introducing a
+ # circular dependency between dbus and systemd?
+
inherit src patches configureFlags;
preConfigure =
@@ -58,6 +62,8 @@ in rec {
'';
postConfigure = "cd tools";
+
+ installFlags = "localstatedir=$TMPDIR/var";
};
# I'm too lazy to separate daemon and libs now.
diff --git a/pkgs/development/libraries/expat/cve-2009-3560.patch b/pkgs/development/libraries/expat/cve-2009-3560.patch
deleted file mode 100644
index 71da9e39351..00000000000
--- a/pkgs/development/libraries/expat/cve-2009-3560.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-From: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/expat/files/expat-2.0.1-CVE-2009-3560-revised.patch?revision=1.1
-
-http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-3560
-http://bugs.gentoo.org/show_bug.cgi?id=303727
-http://cvs.fedoraproject.org/viewvc/rpms/expat/devel/
-
---- a/lib/xmlparse.c
-+++ b/lib/xmlparse.c
-@@ -3703,6 +3703,9 @@ doProlog(XML_Parser parser,
- return XML_ERROR_UNCLOSED_TOKEN;
- case XML_TOK_PARTIAL_CHAR:
- return XML_ERROR_PARTIAL_CHAR;
-+ case -XML_TOK_PROLOG_S:
-+ tok = -tok;
-+ break;
- case XML_TOK_NONE:
- #ifdef XML_DTD
- /* for internal PE NOT referenced between declarations */
diff --git a/pkgs/development/libraries/expat/default.nix b/pkgs/development/libraries/expat/default.nix
index 35a2945207b..6b675230119 100644
--- a/pkgs/development/libraries/expat/default.nix
+++ b/pkgs/development/libraries/expat/default.nix
@@ -1,17 +1,15 @@
{ stdenv, fetchurl }:
-stdenv.mkDerivation {
- name = "expat-2.0.1";
-
+stdenv.mkDerivation rec {
+ name = "expat-2.1.0";
+
src = fetchurl {
- url = mirror://sourceforge/expat/expat-2.0.1.tar.gz;
- sha256 = "14sy5qx9hgjyfs743iq8ywldhp5w4n6cscqf2p4hgrw6vys60xl4";
+ url = "mirror://sourceforge/expat/${name}.tar.gz";
+ sha256 = "11pblz61zyxh68s5pdcbhc30ha1b2vfjd83aiwfg4vc15x3hadw2";
};
- patches = [ ./cve-2009-3560.patch ];
-
meta = {
- homepage = http://expat.sourceforge.net/;
+ homepage = http://www.libexpat.org/;
description = "A stream-oriented XML parser library written in C";
};
}
diff --git a/pkgs/development/libraries/ffmpeg/1.0.nix b/pkgs/development/libraries/ffmpeg/1.0.nix
new file mode 100644
index 00000000000..7ac77ffdcb7
--- /dev/null
+++ b/pkgs/development/libraries/ffmpeg/1.0.nix
@@ -0,0 +1,85 @@
+{ stdenv, fetchurl, pkgconfig, yasm, zlib, bzip2
+, mp3Support ? true, lame ? null
+, speexSupport ? true, speex ? null
+, theoraSupport ? true, libtheora ? null
+, vorbisSupport ? true, libvorbis ? null
+, vpxSupport ? false, libvpx ? null
+, x264Support ? true, x264 ? null
+, xvidSupport ? true, xvidcore ? null
+, vdpauSupport ? true, libvdpau ? null
+, faacSupport ? false, faac ? null
+, dc1394Support ? false, libdc1394 ? null
+, x11grabSupport ? false, libXext ? null, libXfixes ? null
+}:
+
+assert speexSupport -> speex != null;
+assert theoraSupport -> libtheora != null;
+assert vorbisSupport -> libvorbis != null;
+assert vpxSupport -> libvpx != null;
+assert x264Support -> x264 != null;
+assert xvidSupport -> xvidcore != null;
+assert vdpauSupport -> libvdpau != null;
+assert faacSupport -> faac != null;
+assert x11grabSupport -> libXext != null && libXfixes != null;
+
+stdenv.mkDerivation rec {
+ name = "ffmpeg-1.0";
+
+ src = fetchurl {
+ url = "http://www.ffmpeg.org/releases/${name}.tar.bz2";
+ sha256 = "1jbi85z2zkk3fh09l9f1s70kpvsz8706ay4lsw75395q8vic70hd";
+ };
+
+ # `--enable-gpl' (as well as the `postproc' and `swscale') mean that
+ # the resulting library is GPL'ed, so it can only be used in GPL'ed
+ # applications.
+ configureFlags = [
+ "--enable-gpl"
+ "--enable-postproc"
+ "--enable-swscale"
+ "--disable-ffplay"
+ "--enable-shared"
+ "--enable-runtime-cpudetect"
+ ]
+ ++ stdenv.lib.optional mp3Support "--enable-libmp3lame"
+ ++ stdenv.lib.optional speexSupport "--enable-libspeex"
+ ++ stdenv.lib.optional theoraSupport "--enable-libtheora"
+ ++ stdenv.lib.optional vorbisSupport "--enable-libvorbis"
+ ++ stdenv.lib.optional vpxSupport "--enable-libvpx"
+ ++ stdenv.lib.optional x264Support "--enable-libx264"
+ ++ stdenv.lib.optional xvidSupport "--enable-libxvid"
+ ++ stdenv.lib.optional vdpauSupport "--enable-vdpau"
+ ++ stdenv.lib.optional faacSupport "--enable-libfaac --enable-nonfree"
+ ++ stdenv.lib.optional dc1394Support "--enable-libdc1394"
+ ++ stdenv.lib.optional x11grabSupport "--enable-x11grab";
+
+ buildInputs = [ pkgconfig lame yasm zlib bzip2 ]
+ ++ stdenv.lib.optional mp3Support lame
+ ++ stdenv.lib.optional speexSupport speex
+ ++ stdenv.lib.optional theoraSupport libtheora
+ ++ stdenv.lib.optional vorbisSupport libvorbis
+ ++ stdenv.lib.optional vpxSupport libvpx
+ ++ stdenv.lib.optional x264Support x264
+ ++ stdenv.lib.optional xvidSupport xvidcore
+ ++ stdenv.lib.optional vdpauSupport libvdpau
+ ++ stdenv.lib.optional faacSupport faac
+ ++ stdenv.lib.optional dc1394Support libdc1394
+ ++ stdenv.lib.optionals x11grabSupport [ libXext libXfixes ];
+
+ enableParallelBuilding = true;
+
+ crossAttrs = {
+ dontSetConfigureCross = true;
+ configureFlags = configureFlags ++ [
+ "--cross-prefix=${stdenv.cross.config}-"
+ "--enable-cross-compile"
+ "--target_os=linux"
+ "--arch=${stdenv.cross.arch}"
+ ];
+ };
+
+ meta = {
+ homepage = http://www.ffmpeg.org/;
+ description = "A complete, cross-platform solution to record, convert and stream audio and video";
+ };
+}
diff --git a/pkgs/development/libraries/ffmpeg/default.nix b/pkgs/development/libraries/ffmpeg/default.nix
index 02cc60d9b8d..3b5e28a2ee7 100644
--- a/pkgs/development/libraries/ffmpeg/default.nix
+++ b/pkgs/development/libraries/ffmpeg/default.nix
@@ -21,11 +21,11 @@ assert vdpauSupport -> libvdpau != null;
assert faacSupport -> faac != null;
stdenv.mkDerivation rec {
- name = "ffmpeg-1.0";
+ name = "ffmpeg-0.10";
src = fetchurl {
url = "http://www.ffmpeg.org/releases/${name}.tar.bz2";
- sha256 = "1jbi85z2zkk3fh09l9f1s70kpvsz8706ay4lsw75395q8vic70hd";
+ sha256 = "1ybzw6d5axr807141izvm2yf4pa0hc1zcywj89nsn3qsdnknlna3";
};
# `--enable-gpl' (as well as the `postproc' and `swscale') mean that
diff --git a/pkgs/development/libraries/fontconfig/default.nix b/pkgs/development/libraries/fontconfig/default.nix
index 8e016401e3d..116fe3c0c20 100644
--- a/pkgs/development/libraries/fontconfig/default.nix
+++ b/pkgs/development/libraries/fontconfig/default.nix
@@ -1,22 +1,21 @@
-{ stdenv, fetchurl, freetype, expat }:
+{ stdenv, fetchurl, pkgconfig, freetype, expat }:
stdenv.mkDerivation rec {
- name = "fontconfig-2.8.0";
-
+ name = "fontconfig-2.10.1";
+
src = fetchurl {
url = "http://fontconfig.org/release/${name}.tar.gz";
- sha256 = "0d9370qnn1qzq0jidbycin2frkcr1kqj04jbgb79ykb5x9p1qaps";
+ sha256 = "08h252crb3aqciwdk81jypmz2i7618dzqn3zlr87w1f017wjp4f3";
};
-
- buildInputs = [ freetype ];
+
+ buildInputs = [ pkgconfig freetype ];
+
propagatedBuildInputs = [ expat ]; # !!! shouldn't be necessary, but otherwise pango breaks
configureFlags = "--with-confdir=/etc/fonts --with-cache-dir=/var/cache/fontconfig --disable-docs --with-default-fonts=";
# We should find a better way to access the arch reliably.
- crossArch = if (stdenv ? cross && stdenv.cross != null)
- then stdenv.cross.arch else null;
-
+ crossArch = stdenv.cross.arch or null;
preConfigure = ''
if test -n "$crossConfig"; then
@@ -24,6 +23,8 @@ stdenv.mkDerivation rec {
fi
'';
+ enableParallelBuilding = true;
+
# Don't try to write to /etc/fonts or /var/cache/fontconfig at install time.
installFlags = "CONFDIR=$(out)/etc/fonts RUN_FC_CACHE_TEST=false fc_cachedir=$(TMPDIR)/dummy";
@@ -31,5 +32,5 @@ stdenv.mkDerivation rec {
description = "A library for font customization and configuration";
homepage = http://fontconfig.org/;
license = "bsd";
- };
+ };
}
diff --git a/pkgs/development/libraries/freetype/default.nix b/pkgs/development/libraries/freetype/default.nix
index e53a3c297ff..a2d14be5001 100644
--- a/pkgs/development/libraries/freetype/default.nix
+++ b/pkgs/development/libraries/freetype/default.nix
@@ -5,12 +5,12 @@
useEncumberedCode ? false
}:
-stdenv.mkDerivation (rec {
- name = "freetype-2.4.4";
-
+stdenv.mkDerivation rec {
+ name = "freetype-2.4.10";
+
src = fetchurl {
url = "mirror://sourceforge/freetype/${name}.tar.bz2";
- sha256 = "1vqg93473j6jma1bxms7mczk32j8is0g9inkcmmmqdsdvk3q30jb";
+ sha256 = "0bwrkqpygayfc1rf6rr1nb8l3svgn1fmjz8davg2hnf46cn293hc";
};
configureFlags = "--disable-static";
@@ -21,16 +21,26 @@ stdenv.mkDerivation (rec {
# The asm for armel is written with the 'asm' keyword.
CFLAGS = stdenv.lib.optionalString stdenv.isArm "-std=gnu99";
+ # FreeType requires GNU Make, which is not part of stdenv on FreeBSD.
+ buildInputs = stdenv.lib.optional (stdenv.system == "i686-freebsd") gnumake;
+
+ enableParallelBuilding = true;
+
+ postInstall =
+ ''
+ ln -s freetype2/freetype $out/include/freetype
+ '';
+
+ crossAttrs = {
+ # Somehow it calls the unwrapped gcc, "i686-pc-linux-gnu-gcc", instead
+ # of gcc. I think it's due to the unwrapped gcc being in the PATH. I don't
+ # know why it's on the PATH.
+ configureFlags = "--disable-static CC_BUILD=gcc";
+ };
+
meta = {
description = "A font rendering engine";
homepage = http://www.freetype.org/;
license = "GPLv2+"; # or the FreeType License (BSD + advertising clause)
};
}
-
-//
-
-# FreeType requires GNU Make, which is not part of stdenv on FreeBSD.
-(if stdenv.system == "i686-freebsd"
- then { buildInputs = [ gnumake ]; }
- else {}))
diff --git a/pkgs/development/libraries/gamin/debian-patches.nix b/pkgs/development/libraries/gamin/debian-patches.nix
index 1da558db141..f784b8ccfee 100644
--- a/pkgs/development/libraries/gamin/debian-patches.nix
+++ b/pkgs/development/libraries/gamin/debian-patches.nix
@@ -1,6 +1,6 @@
# Generated by debian-patches.sh from debian-patches.txt
let
- prefix = "http://patch-tracker.debian.org/patch/series/dl/gamin/0.1.10-4";
+ prefix = "http://patch-tracker.debian.org/patch/series/dl/gamin/0.1.10-4.1";
in
[
{
diff --git a/pkgs/development/libraries/gdk-pixbuf/2.24.x.nix b/pkgs/development/libraries/gdk-pixbuf/2.26.x.nix
similarity index 73%
rename from pkgs/development/libraries/gdk-pixbuf/2.24.x.nix
rename to pkgs/development/libraries/gdk-pixbuf/2.26.x.nix
index 5c0860196d3..07e66df33b5 100644
--- a/pkgs/development/libraries/gdk-pixbuf/2.24.x.nix
+++ b/pkgs/development/libraries/gdk-pixbuf/2.26.x.nix
@@ -1,12 +1,11 @@
-{ stdenv, fetchurl, pkgconfig, glib, libtiff, libjpeg, libpng, libX11, xz
-, jasper }:
+{ stdenv, fetchurl, pkgconfig, glib, libtiff, libjpeg, libpng, libX11, xz, jasper }:
-stdenv.mkDerivation {
- name = "gdk-pixbuf-2.24.1";
+stdenv.mkDerivation rec {
+ name = "gdk-pixbuf-2.26.1";
src = fetchurl {
- url = mirror://gnome/sources/gdk-pixbuf/2.24/gdk-pixbuf-2.24.1.tar.xz;
- sha256 = "1qdywh1r75lalb7z6s9pm6pmqx82chrrxqb8cdqi629nvc03yyns";
+ url = "mirror://gnome/sources/gdk-pixbuf/2.26/${name}.tar.xz";
+ sha256 = "a60af12b58d9cc15ba4c680c6730ce5d38e8d664af1d575a379385b94b4ec7ba";
};
# !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
diff --git a/pkgs/development/libraries/glib/2.30.x.nix b/pkgs/development/libraries/glib/2.34.x.nix
similarity index 71%
rename from pkgs/development/libraries/glib/2.30.x.nix
rename to pkgs/development/libraries/glib/2.34.x.nix
index 72baf0154d9..7fb61ac20e2 100644
--- a/pkgs/development/libraries/glib/2.30.x.nix
+++ b/pkgs/development/libraries/glib/2.34.x.nix
@@ -11,26 +11,25 @@
# Reminder: add 'sed -e 's@python2\.[0-9]@python@' -i
# $out/bin/gtester-report' to postInstall if this is solved
-stdenv.mkDerivation rec {
- name = "glib-2.30.3";
+stdenv.mkDerivation (rec {
+ name = "glib-2.34.0";
src = fetchurl {
- url = mirror://gnome/sources/glib/2.30/glib-2.30.3.tar.xz;
- sha256 = "09yxfajynbw78kji48z384lylp67kihfi1g78qrrjif4f5yb5jz6";
+ url = "mirror://gnome/sources/glib/2.34/${name}.tar.xz";
+ sha256 = "f69b112f8848be35139d9099b62bc81649241f78f6a775516f0d4c9b47f65144";
};
# configure script looks for d-bus but it is only needed for tests
- buildInputs = [ pcre ]
- ++ (if libiconvOrNull != null
- then [ libiconvOrNull ]
- else []);
+ buildInputs = [ libiconvOrNull ];
buildNativeInputs = [ perl pkgconfig gettext python ];
- propagatedBuildInputs = [ zlib libffi ];
+ propagatedBuildInputs = [ pcre zlib libffi ];
configureFlags = "--with-pcre=system --disable-fam";
+ enableParallelBuilding = true;
+
passthru.gioModuleDir = "lib/gio/modules";
postInstall = ''rm -rvf $out/share/gtk-doc'';
@@ -53,3 +52,13 @@ stdenv.mkDerivation rec {
platforms = stdenv.lib.platforms.linux;
};
}
+
+//
+
+(stdenv.lib.optionalAttrs stdenv.isDarwin {
+ # XXX: Disable the NeXTstep back-end because stdenv.gcc doesn't support
+ # Objective-C.
+ postConfigure =
+ '' sed -i configure -e's/glib_have_cocoa=yes/glib_have_cocoa=no/g'
+ '';
+}))
diff --git a/pkgs/development/libraries/gnu-efi/default.nix b/pkgs/development/libraries/gnu-efi/default.nix
index c43e9f6b4da..731b44aa0ec 100644
--- a/pkgs/development/libraries/gnu-efi/default.nix
+++ b/pkgs/development/libraries/gnu-efi/default.nix
@@ -3,11 +3,11 @@
}:
stdenv.mkDerivation {
- name = "gnu-efi-3.0p";
+ name = "gnu-efi-3.0r";
src = fetchurl {
- url = "mirror://sourceforge/gnu-efi/gnu-efi_3.0p.orig.tar.gz";
- sha256 = "1pm4wk1gma7mb8z19js7kb5y31a0zk308mkafmq6gb0b2a0i39cn";
+ url = "mirror://sourceforge/gnu-efi/gnu-efi_3.0r.orig.tar.gz";
+ sha256 = "1zi298wsg8v29xj4azcawqfjbxqi2w7l60agf7x2ph2lnqlga2v5";
};
meta = {
diff --git a/pkgs/development/libraries/gnutls/default.nix b/pkgs/development/libraries/gnutls/default.nix
index 93f5dab537e..ee566d46b65 100644
--- a/pkgs/development/libraries/gnutls/default.nix
+++ b/pkgs/development/libraries/gnutls/default.nix
@@ -5,29 +5,29 @@ assert guileBindings -> guile != null;
stdenv.mkDerivation (rec {
- name = "gnutls-3.0.22";
+ name = "gnutls-3.1.3";
src = fetchurl {
url = "mirror://gnu/gnutls/${name}.tar.xz";
- sha256 = "1pp90fm27qi5cd0pq18xcmnl79xcbfwxc54bg1xi1wv0vryqdpcr";
+ sha256 = "0fff9frz0ycbnppfn0w4a2s9x27k21l4hh9zbax3v7a8cg33dcpw";
};
- # FIXME: Turn into a Nix list.
+ # Note: GMP is a dependency of Nettle, whose public headers include
+ # GMP headers, hence the hack.
configurePhase = ''
./configure --prefix="$out" \
--disable-dependency-tracking --enable-fast-install \
--without-p11-kit \
- --with-lzo --with-libtasn1-prefix="${libtasn1}" \
+ --with-lzo --with-libtasn1-prefix="${libtasn1}" \
+ --with-libnettle-prefix="${nettle}" \
+ CPPFLAGS="-I${gmp}/include" \
${if guileBindings
then "--enable-guile --with-guile-site-dir=\"$out/share/guile/site\""
- else ""}${if stdenv.isSunOS
- # TODO: Use `--with-libnettle-prefix' on all platforms
- # Note: GMP is a dependency of Nettle, whose public headers include
- # GMP headers, hence the hack.
- then " --with-libnettle-prefix=${nettle} CPPFLAGS=-I${gmp}/include"
else ""}
'';
+ enableParallelBuilding = true;
+
buildInputs = [ zlib lzo ]
++ stdenv.lib.optional guileBindings guile;
diff --git a/pkgs/development/libraries/gobject-introspection/default.nix b/pkgs/development/libraries/gobject-introspection/default.nix
index de9059dbd15..fe1d519f562 100644
--- a/pkgs/development/libraries/gobject-introspection/default.nix
+++ b/pkgs/development/libraries/gobject-introspection/default.nix
@@ -1,12 +1,7 @@
{ stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python }:
-let
- baseName = "gobject-introspection";
- v = "0.10.8";
-in
-
stdenv.mkDerivation rec {
- name = "${baseName}-${v}";
+ name = "gobject-introspection-1.34.0";
buildInputs = [ flex bison glib pkgconfig python ];
propagatedBuildInputs = [ libffi ];
@@ -16,8 +11,8 @@ stdenv.mkDerivation rec {
configureFlags = "--disable-tests";
src = fetchurl {
- url = "mirror://gnome/sources/${baseName}/0.10/${name}.tar.bz2";
- sha256 = "5b1387ff37f03db880a2b1cbd6c6b6dfb923a29468d4d8367c458abf7704c61e";
+ url = "mirror://gnome/sources/gobject-introspection/1.34/${name}.tar.xz";
+ sha256 = "80e211ea95404fc7c5fa3b04ba69ee0b29af70847af315155ab06b8cff832c85";
};
postInstall = "rm -rf $out/share/gtk-doc";
diff --git a/pkgs/development/libraries/goffice/default.nix b/pkgs/development/libraries/goffice/default.nix
index b90cbbad920..1eaa1baf86d 100644
--- a/pkgs/development/libraries/goffice/default.nix
+++ b/pkgs/development/libraries/goffice/default.nix
@@ -1,19 +1,18 @@
{ fetchurl, stdenv, pkgconfig, glib, gtk, libglade, bzip2
, pango, libgsf, libxml2, libart, intltool, gettext
-, cairo, gconf, libgnomeui }:
+, cairo, gconf, libgnomeui, pcre }:
stdenv.mkDerivation rec {
- name = "goffice-0.6.6";
+ name = "goffice-0.8.17";
src = fetchurl {
- # An old version, but one that's actually usable for Gnucash.
- url = "mirror://gnome/sources/goffice/0.6/${name}.tar.bz2";
- sha256 = "11lzhmk7g6mdsbyn4p4a6q2d9m8j71vad2haw6pmzyjzv2gs4rq7";
+ url = "mirror://gnome/sources/goffice/0.8/${name}.tar.xz";
+ sha256 = "165070beb67b84580afe80a8a100b674a81d553ab791acd72ac0c655f4fadb15";
};
buildInputs = [
pkgconfig libglade bzip2 libart intltool gettext
- gconf libgnomeui
+ gconf libgnomeui pcre
];
propagatedBuildInputs = [
@@ -21,6 +20,12 @@ stdenv.mkDerivation rec {
glib libgsf libxml2 gtk libglade libart cairo pango
];
+ postInstall =
+ ''
+ # Get GnuCash to build. Might be unnecessary if we upgrade pkgconfig.
+ substituteInPlace $out/lib/pkgconfig/libgoffice-*.pc --replace Requires.private Requires
+ '';
+
doCheck = true;
meta = {
diff --git a/pkgs/development/libraries/gstreamer/gst-plugins-base/default.nix b/pkgs/development/libraries/gstreamer/gst-plugins-base/default.nix
index 47762660b29..2ac325dc282 100644
--- a/pkgs/development/libraries/gstreamer/gst-plugins-base/default.nix
+++ b/pkgs/development/libraries/gstreamer/gst-plugins-base/default.nix
@@ -8,14 +8,14 @@
}:
stdenv.mkDerivation rec {
- name = "gst-plugins-base-0.10.35";
+ name = "gst-plugins-base-0.10.36";
src = fetchurl {
urls = [
- "${meta.homepage}/src/gst-plugins-base/${name}.tar.bz2"
- "mirror://gentoo/distfiles/${name}.tar.bz2"
+ "${meta.homepage}/src/gst-plugins-base/${name}.tar.xz"
+ "mirror://gentoo/distfiles/${name}.tar.xz"
];
- sha256 = "00vis5kg6km26zaq1ywz7ki9xvkwpc9c5wn41d01z2i5nldz096d";
+ sha256 = "0jp6hjlra98cnkal4n6bdmr577q8mcyp3c08s3a02c4hjhw5rr0z";
};
patchPhase = ''
@@ -43,3 +43,4 @@ stdenv.mkDerivation rec {
license = "LGPLv2+";
};
}
+
diff --git a/pkgs/development/libraries/gstreamer/gstreamer/default.nix b/pkgs/development/libraries/gstreamer/gstreamer/default.nix
index 01d5487302c..5d33e7bff03 100644
--- a/pkgs/development/libraries/gstreamer/gstreamer/default.nix
+++ b/pkgs/development/libraries/gstreamer/gstreamer/default.nix
@@ -1,14 +1,14 @@
{ fetchurl, stdenv, perl, bison, flex, pkgconfig, glib, libxml2 }:
stdenv.mkDerivation rec {
- name = "gstreamer-0.10.35";
+ name = "gstreamer-0.10.36";
src = fetchurl {
urls =
- [ "${meta.homepage}/src/gstreamer/${name}.tar.bz2"
- "mirror://gentoo/distfiles/${name}.tar.bz2"
+ [ "${meta.homepage}/src/gstreamer/${name}.tar.xz"
+ "mirror://gentoo/distfiles/${name}.tar.xz"
];
- sha256 = "11lp13lig3c6qys80phyvsik56r9y0c95vg2jxxliqj6rnigwyw1";
+ sha256 = "1nkid1n2l3rrlmq5qrf5yy06grrkwjh3yxl5g0w58w0pih8allci";
};
buildInputs = [ perl bison flex pkgconfig ];
diff --git a/pkgs/development/libraries/gtk+/2.24.x.nix b/pkgs/development/libraries/gtk+/2.24.x.nix
index 12b270d637b..2bf657e04e7 100644
--- a/pkgs/development/libraries/gtk+/2.24.x.nix
+++ b/pkgs/development/libraries/gtk+/2.24.x.nix
@@ -7,24 +7,18 @@
assert xineramaSupport -> xlibs.libXinerama != null;
assert cupsSupport -> cups != null;
-stdenv.mkDerivation {
- name = "gtk+-2.24.10";
+stdenv.mkDerivation rec {
+ name = "gtk+-2.24.13";
src = fetchurl {
- url = mirror://gnome/sources/gtk+/2.24/gtk+-2.24.10.tar.xz;
- sha256 = "128fb8vmsqmfmpf1r8na65281jwkqix4q7wix399xqfnp4dy6mpa";
+ url = "mirror://gnome/sources/gtk+/2.24/${name}.tar.xz";
+ sha256 = "35e1a01e46b02970b02ee9f299390d0aa57c1215ad2667bcd584b72f4ea6513d";
};
- patches =
- [ # Fix broken icons such as the back/forward buttons in Firefox.
- # http://bugs.gentoo.org/339319
- ./old-icons.patch
- ];
-
enableParallelBuilding = true;
-
+
buildNativeInputs = [ perl pkgconfig ];
-
+
propagatedBuildInputs =
[ xlibs.xlibs glib atk pango gdk_pixbuf cairo
xlibs.libXrandr xlibs.libXrender xlibs.libXcomposite xlibs.libXi
@@ -35,7 +29,7 @@ stdenv.mkDerivation {
configureFlags = "--with-xinput=yes";
postInstall = "rm -rf $out/share/gtk-doc";
-
+
meta = {
description = "A multi-platform toolkit for creating graphical user interfaces";
diff --git a/pkgs/development/libraries/gtk+/3.2.x.nix b/pkgs/development/libraries/gtk+/3.2.x.nix
index df59c017626..9f333c03fab 100644
--- a/pkgs/development/libraries/gtk+/3.2.x.nix
+++ b/pkgs/development/libraries/gtk+/3.2.x.nix
@@ -8,11 +8,11 @@ assert xineramaSupport -> xlibs.libXinerama != null;
assert cupsSupport -> cups != null;
stdenv.mkDerivation rec {
- name = "gtk+-3.2.3";
+ name = "gtk+-3.2.4";
src = fetchurl {
- url = mirror://gnome/sources/gtk+/3.2/gtk+-3.2.3.tar.xz;
- sha256 = "0g8x2kcqq17bccm4yszim837saj73zfk66ia2azcgfqfa7r21kz2";
+ url = "mirror://gnome/sources/gtk+/3.2/${name}.tar.xz";
+ sha256 = "f981bf514858c00d7084bd6f6c34b3c60b8aebdb959e7aca6faa59ed67c136bd";
};
enableParallelBuilding = true;
diff --git a/pkgs/development/libraries/gtk+/old-icons.patch b/pkgs/development/libraries/gtk+/old-icons.patch
deleted file mode 100644
index e53d87474d0..00000000000
--- a/pkgs/development/libraries/gtk+/old-icons.patch
+++ /dev/null
@@ -1,270 +0,0 @@
-diff -ru gtk+-2.24.5-orig/gtk/Makefile.in gtk+-2.24.5/gtk/Makefile.in
---- gtk+-2.24.5-orig/gtk/Makefile.in 2011-06-16 01:56:37.000000000 +0200
-+++ gtk+-2.24.5/gtk/Makefile.in 2011-07-07 15:38:06.000000000 +0200
-@@ -1616,7 +1616,173 @@
- stock-icons/24/folder-remote.png \
- stock-icons/24/user-home.png \
- stock-icons/24/user-desktop.png \
-- stock-icons/24/text-x-generic.png
-+ stock-icons/24/text-x-generic.png \
-+ stock-icons/16/gtk-quit.png \
-+ stock-icons/16/gtk-info.png \
-+ stock-icons/16/gtk-file.png \
-+ stock-icons/16/gtk-open.png \
-+ stock-icons/16/gtk-print-preview.png \
-+ stock-icons/16/gtk-print.png \
-+ stock-icons/16/gtk-properties.png \
-+ stock-icons/16/gtk-revert-to-saved-ltr.png \
-+ stock-icons/16/gtk-revert-to-saved-rtl.png \
-+ stock-icons/16/gtk-save-as.png \
-+ stock-icons/16/gtk-new.png \
-+ stock-icons/16/gtk-harddisk.png \
-+ stock-icons/16/gtk-clear.png \
-+ stock-icons/16/gtk-copy.png \
-+ stock-icons/16/gtk-cut.png \
-+ stock-icons/16/gtk-delete.png \
-+ stock-icons/16/gtk-find-and-replace.png \
-+ stock-icons/16/gtk-find.png \
-+ stock-icons/16/gtk-paste.png \
-+ stock-icons/16/gtk-redo-ltr.png \
-+ stock-icons/16/gtk-redo-rtl.png \
-+ stock-icons/16/gtk-select-all.png \
-+ stock-icons/16/gtk-undo-ltr.png \
-+ stock-icons/16/gtk-undo-rtl.png \
-+ stock-icons/16/gtk-directory.png \
-+ stock-icons/16/gtk-unindent-ltr.png \
-+ stock-icons/16/gtk-unindent-rtl.png \
-+ stock-icons/16/gtk-indent-ltr.png \
-+ stock-icons/16/gtk-indent-rtl.png \
-+ stock-icons/16/gtk-justify-center.png \
-+ stock-icons/16/gtk-justify-fill.png \
-+ stock-icons/16/gtk-justify-left.png \
-+ stock-icons/16/gtk-justify-right.png \
-+ stock-icons/16/gtk-bold.png \
-+ stock-icons/16/gtk-italic.png \
-+ stock-icons/16/gtk-strikethrough.png \
-+ stock-icons/16/gtk-underline.png \
-+ stock-icons/16/gtk-goto-bottom.png \
-+ stock-icons/16/gtk-go-down.png \
-+ stock-icons/16/gtk-goto-first-ltr.png \
-+ stock-icons/16/gtk-home.png \
-+ stock-icons/16/gtk-jump-to-ltr.png \
-+ stock-icons/16/gtk-jump-to-rtl.png \
-+ stock-icons/16/gtk-goto-last-ltr.png \
-+ stock-icons/16/gtk-go-forward-ltr.png \
-+ stock-icons/16/gtk-go-back-ltr.png \
-+ stock-icons/16/gtk-goto-top.png \
-+ stock-icons/16/gtk-go-up.png \
-+ stock-icons/16/gtk-about.png \
-+ stock-icons/16/gtk-help.png \
-+ stock-icons/16/gtk-missing-image.png \
-+ stock-icons/16/gtk-add.png \
-+ stock-icons/16/gtk-remove.png \
-+ stock-icons/16/gtk-floppy.png \
-+ stock-icons/16/gtk-cdrom.png \
-+ stock-icons/16/gtk-media-pause.png \
-+ stock-icons/16/gtk-media-play-ltr.png \
-+ stock-icons/16/gtk-media-play-rtl.png \
-+ stock-icons/16/gtk-media-stop.png \
-+ stock-icons/16/gtk-media-record.png \
-+ stock-icons/16/gtk-media-rewind-ltr.png \
-+ stock-icons/16/gtk-media-forward-ltr.png \
-+ stock-icons/16/gtk-media-previous-ltr.png \
-+ stock-icons/16/gtk-media-next-ltr.png \
-+ stock-icons/16/gtk-network.png \
-+ stock-icons/16/gtk-print-error.png \
-+ stock-icons/16/gtk-print-report.png \
-+ stock-icons/16/gtk-print-paused.png \
-+ stock-icons/16/gtk-print-warning.png \
-+ stock-icons/16/gtk-stop.png \
-+ stock-icons/16/gtk-execute.png \
-+ stock-icons/16/gtk-spell-check.png \
-+ stock-icons/16/gtk-fullscreen.png \
-+ stock-icons/16/gtk-refresh.png \
-+ stock-icons/16/gtk-leave-fullscreen.png \
-+ stock-icons/16/gtk-sort-ascending.png \
-+ stock-icons/16/gtk-sort-descending.png \
-+ stock-icons/16/gtk-close.png \
-+ stock-icons/16/gtk-zoom-fit.png \
-+ stock-icons/16/gtk-zoom-in.png \
-+ stock-icons/16/gtk-zoom-100.png \
-+ stock-icons/16/gtk-zoom-out.png \
-+ stock-icons/24/gtk-quit.png \
-+ stock-icons/24/gtk-info.png \
-+ stock-icons/24/gtk-file.png \
-+ stock-icons/24/gtk-open.png \
-+ stock-icons/24/gtk-print-preview.png \
-+ stock-icons/24/gtk-print.png \
-+ stock-icons/24/gtk-properties.png \
-+ stock-icons/24/gtk-revert-to-saved-ltr.png \
-+ stock-icons/24/gtk-revert-to-saved-rtl.png \
-+ stock-icons/24/gtk-save-as.png \
-+ stock-icons/24/gtk-new.png \
-+ stock-icons/24/gtk-harddisk.png \
-+ stock-icons/24/gtk-clear.png \
-+ stock-icons/24/gtk-copy.png \
-+ stock-icons/24/gtk-cut.png \
-+ stock-icons/24/gtk-delete.png \
-+ stock-icons/24/gtk-find-and-replace.png \
-+ stock-icons/24/gtk-find.png \
-+ stock-icons/24/gtk-paste.png \
-+ stock-icons/24/gtk-redo-ltr.png \
-+ stock-icons/24/gtk-redo-rtl.png \
-+ stock-icons/24/gtk-select-all.png \
-+ stock-icons/24/gtk-undo-ltr.png \
-+ stock-icons/24/gtk-undo-rtl.png \
-+ stock-icons/24/gtk-directory.png \
-+ stock-icons/24/gtk-unindent-ltr.png \
-+ stock-icons/24/gtk-unindent-rtl.png \
-+ stock-icons/24/gtk-indent-ltr.png \
-+ stock-icons/24/gtk-indent-rtl.png \
-+ stock-icons/24/gtk-justify-center.png \
-+ stock-icons/24/gtk-justify-fill.png \
-+ stock-icons/24/gtk-justify-left.png \
-+ stock-icons/24/gtk-justify-right.png \
-+ stock-icons/24/gtk-bold.png \
-+ stock-icons/24/gtk-italic.png \
-+ stock-icons/24/gtk-strikethrough.png \
-+ stock-icons/24/gtk-underline.png \
-+ stock-icons/24/gtk-goto-bottom.png \
-+ stock-icons/24/gtk-go-down.png \
-+ stock-icons/24/gtk-goto-first-ltr.png \
-+ stock-icons/24/gtk-home.png \
-+ stock-icons/24/gtk-jump-to-ltr.png \
-+ stock-icons/24/gtk-jump-to-rtl.png \
-+ stock-icons/24/gtk-goto-last-ltr.png \
-+ stock-icons/24/gtk-go-forward-ltr.png \
-+ stock-icons/24/gtk-go-back-ltr.png \
-+ stock-icons/24/gtk-goto-top.png \
-+ stock-icons/24/gtk-go-up.png \
-+ stock-icons/24/gtk-about.png \
-+ stock-icons/24/gtk-help.png \
-+ stock-icons/24/gtk-missing-image.png \
-+ stock-icons/24/gtk-add.png \
-+ stock-icons/24/gtk-remove.png \
-+ stock-icons/24/gtk-floppy.png \
-+ stock-icons/24/gtk-cdrom.png \
-+ stock-icons/24/gtk-media-pause.png \
-+ stock-icons/24/gtk-media-play-ltr.png \
-+ stock-icons/24/gtk-media-play-rtl.png \
-+ stock-icons/24/gtk-media-stop.png \
-+ stock-icons/24/gtk-media-record.png \
-+ stock-icons/24/gtk-media-rewind-ltr.png \
-+ stock-icons/24/gtk-media-forward-ltr.png \
-+ stock-icons/24/gtk-media-previous-ltr.png \
-+ stock-icons/24/gtk-media-next-ltr.png \
-+ stock-icons/24/gtk-network.png \
-+ stock-icons/24/gtk-print-error.png \
-+ stock-icons/24/gtk-print-report.png \
-+ stock-icons/24/gtk-print-paused.png \
-+ stock-icons/24/gtk-print-warning.png \
-+ stock-icons/24/gtk-stop.png \
-+ stock-icons/24/gtk-execute.png \
-+ stock-icons/24/gtk-spell-check.png \
-+ stock-icons/24/gtk-fullscreen.png \
-+ stock-icons/24/gtk-refresh.png \
-+ stock-icons/24/gtk-leave-fullscreen.png \
-+ stock-icons/24/gtk-sort-ascending.png \
-+ stock-icons/24/gtk-sort-descending.png \
-+ stock-icons/24/gtk-close.png \
-+ stock-icons/24/gtk-zoom-fit.png \
-+ stock-icons/24/gtk-zoom-in.png \
-+ stock-icons/24/gtk-zoom-100.png \
-+ stock-icons/24/gtk-zoom-out.png \
-+ stock-icons/48/gtk-dialog-error.png
-+
-
- @CROSS_COMPILING_FALSE@gtk_update_icon_cache_program = \
- @CROSS_COMPILING_FALSE@ ./gtk-update-icon-cache
-@@ -2887,7 +3053,91 @@
- && $(LN_S) folder.png user-desktop.png \
- && $(RM) user-home.png \
- && $(LN_S) folder.png user-home.png \
-+ && $(LN_S) application-exit.png gtk-quit.png \
-+ && $(LN_S) dialog-information.png gtk-info.png \
-+ && $(LN_S) document-new.png gtk-file.png \
-+ && $(LN_S) document-open.png gtk-open.png \
-+ && $(LN_S) document-print-preview.png gtk-print-preview.png \
-+ && $(LN_S) document-print.png gtk-print.png \
-+ && $(LN_S) document-properties.png gtk-properties.png \
-+ && $(LN_S) document-revert-ltr.png gtk-revert-to-saved-ltr.png \
-+ && $(LN_S) document-revert-rtl.png gtk-revert-to-saved-rtl.png \
-+ && $(LN_S) document-save-as.png gtk-save-as.png \
-+ && $(LN_S) document-x-generic.png gtk-new.png \
-+ && $(LN_S) drive-harddisk.png gtk-harddisk.png \
-+ && $(LN_S) edit-clear.png gtk-clear.png \
-+ && $(LN_S) edit-copy.png gtk-copy.png \
-+ && $(LN_S) edit-cut.png gtk-cut.png \
-+ && $(LN_S) edit-delete.png gtk-delete.png \
-+ && $(LN_S) edit-find-replace.png gtk-find-and-replace.png \
-+ && $(LN_S) edit-find.png gtk-find.png \
-+ && $(LN_S) edit-paste.png gtk-paste.png \
-+ && $(LN_S) edit-redo-ltr.png gtk-redo-ltr.png \
-+ && $(LN_S) edit-redo-rtl.png gtk-redo-rtl.png \
-+ && $(LN_S) edit-select-all.png gtk-select-all.png \
-+ && $(LN_S) edit-undo-ltr.png gtk-undo-ltr.png \
-+ && $(LN_S) edit-undo-rtl.png gtk-undo-rtl.png \
-+ && $(LN_S) folder.png gtk-directory.png \
-+ && $(LN_S) format-indent-less-ltr.png gtk-unindent-ltr.png \
-+ && $(LN_S) format-indent-less-rtl.png gtk-unindent-rtl.png \
-+ && $(LN_S) format-indent-more-ltr.png gtk-indent-ltr.png \
-+ && $(LN_S) format-indent-more-rtl.png gtk-indent-rtl.png \
-+ && $(LN_S) format-justify-center.png gtk-justify-center.png \
-+ && $(LN_S) format-justify-fill.png gtk-justify-fill.png \
-+ && $(LN_S) format-justify-left.png gtk-justify-left.png \
-+ && $(LN_S) format-justify-right.png gtk-justify-right.png \
-+ && $(LN_S) format-text-bold.png gtk-bold.png \
-+ && $(LN_S) format-text-italic.png gtk-italic.png \
-+ && $(LN_S) format-text-strikethrough.png gtk-strikethrough.png \
-+ && $(LN_S) format-text-underline.png gtk-underline.png \
-+ && $(LN_S) go-bottom.png gtk-goto-bottom.png \
-+ && $(LN_S) go-down.png gtk-go-down.png \
-+ && $(LN_S) go-first-ltr.png gtk-goto-first-ltr.png \
-+ && $(LN_S) go-home.png gtk-home.png \
-+ && $(LN_S) go-jump-ltr.png gtk-jump-to-ltr.png \
-+ && $(LN_S) go-jump-rtl.png gtk-jump-to-rtl.png \
-+ && $(LN_S) go-last-ltr.png gtk-goto-last-ltr.png \
-+ && $(LN_S) go-next-ltr.png gtk-go-forward-ltr.png \
-+ && $(LN_S) go-previous-ltr.png gtk-go-back-ltr.png \
-+ && $(LN_S) go-top.png gtk-goto-top.png \
-+ && $(LN_S) go-up.png gtk-go-up.png \
-+ && $(LN_S) help-about.png gtk-about.png \
-+ && $(LN_S) help-contents.png gtk-help.png \
-+ && $(LN_S) image-missing.png gtk-missing-image.png \
-+ && $(LN_S) list-add.png gtk-add.png \
-+ && $(LN_S) list-remove.png gtk-remove.png \
-+ && $(LN_S) media-floppy.png gtk-floppy.png \
-+ && $(LN_S) media-optical.png gtk-cdrom.png \
-+ && $(LN_S) media-playback-pause.png gtk-media-pause.png \
-+ && $(LN_S) media-playback-start-ltr.png gtk-media-play-ltr.png \
-+ && $(LN_S) media-playback-start-rtl.png gtk-media-play-rtl.png \
-+ && $(LN_S) media-playback-stop.png gtk-media-stop.png \
-+ && $(LN_S) media-record.png gtk-media-record.png \
-+ && $(LN_S) media-seek-backward-ltr.png gtk-media-rewind-ltr.png \
-+ && $(LN_S) media-seek-forward-ltr.png gtk-media-forward-ltr.png \
-+ && $(LN_S) media-skip-backward-ltr.png gtk-media-previous-ltr.png \
-+ && $(LN_S) media-skip-forward-ltr.png gtk-media-next-ltr.png \
-+ && $(LN_S) network-idle.png gtk-network.png \
-+ && $(LN_S) printer-error.png gtk-print-error.png \
-+ && $(LN_S) printer-info.png gtk-print-report.png \
-+ && $(LN_S) printer-paused.png gtk-print-paused.png \
-+ && $(LN_S) printer-warning.png gtk-print-warning.png \
-+ && $(LN_S) process-stop.png gtk-stop.png \
-+ && $(LN_S) system-run.png gtk-execute.png \
-+ && $(LN_S) tools-check-spelling.png gtk-spell-check.png \
-+ && $(LN_S) view-fullscreen.png gtk-fullscreen.png \
-+ && $(LN_S) view-refresh.png gtk-refresh.png \
-+ && $(LN_S) view-restore.png gtk-leave-fullscreen.png \
-+ && $(LN_S) view-sort-ascending.png gtk-sort-ascending.png \
-+ && $(LN_S) view-sort-descending.png gtk-sort-descending.png \
-+ && $(LN_S) window-close.png gtk-close.png \
-+ && $(LN_S) zoom-fit-best.png gtk-zoom-fit.png \
-+ && $(LN_S) zoom-in.png gtk-zoom-in.png \
-+ && $(LN_S) zoom-original.png gtk-zoom-100.png \
-+ && $(LN_S) zoom-out.png gtk-zoom-out.png \
- ) done \
-+ && (cd stock-icons/48 \
-+ && $(LN_S) dialog-error.png gtk-dialog-error.png) \
- && touch stamp-icons
-
- gtkbuiltincache.h: @REBUILD@ stamp-icons
diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix
new file mode 100644
index 00000000000..5755e747a6b
--- /dev/null
+++ b/pkgs/development/libraries/harfbuzz/default.nix
@@ -0,0 +1,19 @@
+{ stdenv, fetchurl, pkgconfig, glib, freetype }:
+
+stdenv.mkDerivation rec {
+ name = "harfbuzz-0.9.4";
+
+ src = fetchurl {
+ url = "http://www.freedesktop.org/software/harfbuzz/release/${name}.tar.bz2";
+ sha256 = "2572f9a810d17a735ef565115463827d075af2371ee5b68e6d77231381f4bddc";
+ };
+
+ buildInputs = [ pkgconfig glib freetype ];
+
+ meta = {
+ description = "An OpenType text shaping engine";
+ homepage = http://www.freedesktop.org/wiki/Software/HarfBuzz;
+ maintainers = [ stdenv.lib.maintainers.eelco ];
+ platforms = stdenv.lib.platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/haskell/Cabal/1.16.0.nix b/pkgs/development/libraries/haskell/Cabal/1.16.0.1.nix
similarity index 81%
rename from pkgs/development/libraries/haskell/Cabal/1.16.0.nix
rename to pkgs/development/libraries/haskell/Cabal/1.16.0.1.nix
index 14e811b5e94..e4698c72cad 100644
--- a/pkgs/development/libraries/haskell/Cabal/1.16.0.nix
+++ b/pkgs/development/libraries/haskell/Cabal/1.16.0.1.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "Cabal";
- version = "1.16.0";
- sha256 = "0ia2ysqbnnbfv75l8617bys5iaq8aygcbd1ijqcbzd3asf8flyms";
+ version = "1.16.0.1";
+ sha256 = "03h0fsdm00i5pq37j3d7rjw3gnqkmacvgvdhcrmmamn5q81qld5g";
buildDepends = [ filepath ];
meta = {
homepage = "http://www.haskell.org/cabal/";
diff --git a/pkgs/development/libraries/haskell/DSH/default.nix b/pkgs/development/libraries/haskell/DSH/default.nix
index 3275db0e0d8..32cf21242de 100644
--- a/pkgs/development/libraries/haskell/DSH/default.nix
+++ b/pkgs/development/libraries/haskell/DSH/default.nix
@@ -1,15 +1,10 @@
-{ cabal, convertible, csv, FerryCore, HaXml, HDBC, json, mtl
-, Pathfinder, syb, text, xhtml
-}:
+{ cabal, csv, FerryCore, HaXml, HDBC, mtl, Pathfinder, text }:
cabal.mkDerivation (self: {
pname = "DSH";
- version = "0.7.8.2";
- sha256 = "1rs42c05q4s46a1a03srzdq0aijwalhilzifc8ryq4qwjgh7vkwz";
- buildDepends = [
- convertible csv FerryCore HaXml HDBC json mtl Pathfinder syb text
- xhtml
- ];
+ version = "0.8.2.2";
+ sha256 = "0hjy8c97avi4wwv3p9gyml66n34mbrfrhb19j5y6vcy0y8ysgf0c";
+ buildDepends = [ csv FerryCore HaXml HDBC mtl Pathfinder text ];
meta = {
description = "Database Supported Haskell";
license = self.stdenv.lib.licenses.bsd3;
diff --git a/pkgs/development/libraries/haskell/async/default.nix b/pkgs/development/libraries/haskell/async/2.0.1.3.nix
similarity index 100%
rename from pkgs/development/libraries/haskell/async/default.nix
rename to pkgs/development/libraries/haskell/async/2.0.1.3.nix
diff --git a/pkgs/development/libraries/haskell/binary/default.nix b/pkgs/development/libraries/haskell/binary/default.nix
index f0757bcca02..303e67c3b99 100644
--- a/pkgs/development/libraries/haskell/binary/default.nix
+++ b/pkgs/development/libraries/haskell/binary/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "binary";
- version = "0.6.1.0";
- sha256 = "0d423k37973f5v9mz9401zmsfdgspnf9h6s9xgr3zh19giz7c3js";
+ version = "0.6.2.0";
+ sha256 = "0nm4vsgyz7ml6w3lk5hrh34i7s7li32gj7bgs75w636kln338aab";
meta = {
homepage = "https://github.com/kolmodin/binary";
description = "Binary serialisation for Haskell values using lazy ByteStrings";
diff --git a/pkgs/development/libraries/haskell/citeproc-hs/default.nix b/pkgs/development/libraries/haskell/citeproc-hs/default.nix
index 3cd0c09c3b2..2899f526f36 100644
--- a/pkgs/development/libraries/haskell/citeproc-hs/default.nix
+++ b/pkgs/development/libraries/haskell/citeproc-hs/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "citeproc-hs";
- version = "0.3.4";
- sha256 = "17w6fpmlhbfd8jxxz4s6ybz3dswf0i96fjjbs05ykh4i97rs62nv";
+ version = "0.3.5";
+ sha256 = "134sdz22h2aqwy3cmn0vw91nmbp3ckpjg5djxsg93ddl08ahr4zr";
buildDepends = [
filepath hsBibutils HTTP json mtl network pandocTypes parsec syb
time utf8String xml
diff --git a/pkgs/development/libraries/haskell/conduit/default.nix b/pkgs/development/libraries/haskell/conduit/default.nix
index c383c46f30b..6da1b8db34d 100644
--- a/pkgs/development/libraries/haskell/conduit/default.nix
+++ b/pkgs/development/libraries/haskell/conduit/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "conduit";
- version = "0.5.2.4";
- sha256 = "17959j5frfbl5af4pmxhfb4swrjckk4fh5wmd5bwsbs824glb97a";
+ version = "0.5.2.7";
+ sha256 = "14bn755f25cin0wv775na85ngfx8ack31s15982zkqfva88xg48i";
buildDepends = [
liftedBase monadControl resourcet text transformers
transformersBase void
diff --git a/pkgs/development/libraries/haskell/criterion/default.nix b/pkgs/development/libraries/haskell/criterion/default.nix
index 54b6b20dc83..64f03d4dcca 100644
--- a/pkgs/development/libraries/haskell/criterion/default.nix
+++ b/pkgs/development/libraries/haskell/criterion/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "criterion";
- version = "0.6.1.1";
- sha256 = "1w5yqcgnx2ij3hmvmz5g4ynj6n8wa3yyk1kfbbwxyh9j5kc2xwiw";
+ version = "0.6.2.0";
+ sha256 = "1xd90qb026niq2sn7ks8bn92ifb6255saic68bzg6kzj7ydwwdmx";
buildDepends = [
aeson deepseq filepath hastache mtl mwcRandom parsec statistics
time transformers vector vectorAlgorithms
diff --git a/pkgs/development/libraries/haskell/data-accessor/data-accessor-template.nix b/pkgs/development/libraries/haskell/data-accessor/data-accessor-template.nix
index 077e31c683e..41bd2347012 100644
--- a/pkgs/development/libraries/haskell/data-accessor/data-accessor-template.nix
+++ b/pkgs/development/libraries/haskell/data-accessor/data-accessor-template.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "data-accessor-template";
- version = "0.2.1.9";
- sha256 = "14zp2zjxlkdi33cjif9lc1kl8m0x4brh0pk3d34wk1g1bfzynijc";
+ version = "0.2.1.10";
+ sha256 = "11a4c0g74ppl7nls0dhx6xs47dfcq1wp7bd8qgdba6hhn645afzy";
buildDepends = [ dataAccessor utilityHt ];
meta = {
homepage = "http://www.haskell.org/haskellwiki/Record_access";
diff --git a/pkgs/development/libraries/haskell/data-memocombinators/default.nix b/pkgs/development/libraries/haskell/data-memocombinators/default.nix
index 25f063c20ac..2b3adde1d72 100644
--- a/pkgs/development/libraries/haskell/data-memocombinators/default.nix
+++ b/pkgs/development/libraries/haskell/data-memocombinators/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "data-memocombinators";
- version = "0.4.3";
- sha256 = "0mzvjgccm23y7mfaz9iwdy64amf69d7i8yq9fc9mjx1nyzxdrgsc";
+ version = "0.4.4";
+ sha256 = "06x79rgxi6cxrpzjzzsjk7yj7i0ajmcgns0n12lxakz9vxbqxyn2";
buildDepends = [ dataInttrie ];
meta = {
homepage = "http://github.com/luqui/data-memocombinators";
diff --git a/pkgs/development/libraries/haskell/dbus/default.nix b/pkgs/development/libraries/haskell/dbus/default.nix
new file mode 100644
index 00000000000..b9c436f4a56
--- /dev/null
+++ b/pkgs/development/libraries/haskell/dbus/default.nix
@@ -0,0 +1,19 @@
+{ cabal, cereal, libxmlSax, network, parsec, random, text
+, transformers, vector, xmlTypes
+}:
+
+cabal.mkDerivation (self: {
+ pname = "dbus";
+ version = "0.10.2";
+ sha256 = "11nzpc2x2khln6xm2fbz54fy3ry1s08c83jndrcn1a4ymv3j1xh1";
+ buildDepends = [
+ cereal libxmlSax network parsec random text transformers vector
+ xmlTypes
+ ];
+ meta = {
+ homepage = "https://john-millikin.com/software/haskell-dbus/";
+ description = "A client library for the D-Bus IPC system";
+ license = self.stdenv.lib.licenses.gpl3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/deepseq-th/default.nix b/pkgs/development/libraries/haskell/deepseq-th/default.nix
index 1072bcb9ca7..2af4bb9f3f1 100644
--- a/pkgs/development/libraries/haskell/deepseq-th/default.nix
+++ b/pkgs/development/libraries/haskell/deepseq-th/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "deepseq-th";
- version = "0.1.0.3";
- sha256 = "1xx88i55iskyxrpxbdg0srb64y5siqs1b8qj7bh3i1893qs9sha2";
+ version = "0.1.0.4";
+ sha256 = "12wk8higrp12b22zzz1b4ar1q5h7flk22bp2rvswsqri2zkbi965";
buildDepends = [ deepseq ];
meta = {
description = "Template Haskell based deriver for optimised NFData instances";
diff --git a/pkgs/development/libraries/haskell/digestive-functors-snap/default.nix b/pkgs/development/libraries/haskell/digestive-functors-snap/default.nix
index 3d5725e603f..a6490953341 100644
--- a/pkgs/development/libraries/haskell/digestive-functors-snap/default.nix
+++ b/pkgs/development/libraries/haskell/digestive-functors-snap/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "digestive-functors-snap";
- version = "0.5.0.0";
- sha256 = "01lbd42rsryzqzra8ax22iw6c9fyv5az8q7dkdi6yyfxdq976l0x";
+ version = "0.5.0.1";
+ sha256 = "149c01vxzlwskqsncc5l26mk67icmsq2zbav2asjxpp6z8b53i3b";
buildDepends = [ digestiveFunctors filepath mtl snapCore text ];
meta = {
homepage = "http://github.com/jaspervdj/digestive-functors";
diff --git a/pkgs/development/libraries/haskell/digestive-functors/default.nix b/pkgs/development/libraries/haskell/digestive-functors/default.nix
index d6d4710f306..31a81778f45 100644
--- a/pkgs/development/libraries/haskell/digestive-functors/default.nix
+++ b/pkgs/development/libraries/haskell/digestive-functors/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "digestive-functors";
- version = "0.5.0.2";
- sha256 = "1phakcljl6ri2p9lfzjnn001jw0inyxa5zd7lp2k9lhq1yq0byb0";
+ version = "0.5.0.3";
+ sha256 = "176wpnwg4zpfwphl0ifb3zdm0dhw5xyd3vr81rc98s4db5y9csl0";
buildDepends = [ mtl text ];
meta = {
homepage = "http://github.com/jaspervdj/digestive-functors";
diff --git a/pkgs/development/libraries/haskell/distributed-process-simplelocalnet/default.nix b/pkgs/development/libraries/haskell/distributed-process-simplelocalnet/default.nix
index 650f82a99ec..bec44a0b8e2 100644
--- a/pkgs/development/libraries/haskell/distributed-process-simplelocalnet/default.nix
+++ b/pkgs/development/libraries/haskell/distributed-process-simplelocalnet/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "distributed-process-simplelocalnet";
- version = "0.2.0.5";
- sha256 = "04cx5pb3pf4wpmqx1zhdc9lrfs0mb8zk7p1qxxlsqg0x63f3353w";
+ version = "0.2.0.6";
+ sha256 = "1mgsmxxy1fcbxh8p82078c70fj7iv6wr8g47r4d0c3jwz84xya57";
buildDepends = [
binary dataAccessor distributedProcess network networkMulticast
networkTransport networkTransportTcp transformers
diff --git a/pkgs/development/libraries/haskell/distributed-process/default.nix b/pkgs/development/libraries/haskell/distributed-process/default.nix
index 25b53834f94..7b478d8cd99 100644
--- a/pkgs/development/libraries/haskell/distributed-process/default.nix
+++ b/pkgs/development/libraries/haskell/distributed-process/default.nix
@@ -5,8 +5,10 @@
cabal.mkDerivation (self: {
pname = "distributed-process";
- version = "0.3.1";
- sha256 = "048j27mpdmknz2s4ja3q2mla1d2sjbvrpmzx0lz2qas123qz1siq";
+ version = "0.4.0.1";
+ sha256 = "0yi0403665l01gkqbsix9f4hj8c8m4i42nwjq2i63x259qz2njwi";
+ isLibrary = true;
+ isExecutable = true;
buildDepends = [
binary dataAccessor distributedStatic mtl networkTransport random
rank1dynamic stm syb time transformers
diff --git a/pkgs/development/libraries/haskell/distributed-static/default.nix b/pkgs/development/libraries/haskell/distributed-static/default.nix
index 0778089bdd0..c09558449df 100644
--- a/pkgs/development/libraries/haskell/distributed-static/default.nix
+++ b/pkgs/development/libraries/haskell/distributed-static/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "distributed-static";
- version = "0.2.0.0";
- sha256 = "04s3iils9ji8bwizvm36r5ihnd11098346br0919dv1x6g67a610";
+ version = "0.2.1";
+ sha256 = "0cdwizm4fr2akw7hsqdrvqk06h1lybpxjiczv3kmd0lyc4cb7kyc";
buildDepends = [ binary rank1dynamic ];
meta = {
homepage = "http://www.github.com/haskell-distributed/distributed-process";
diff --git a/pkgs/development/libraries/haskell/edit-distance/default.nix b/pkgs/development/libraries/haskell/edit-distance/default.nix
index 07744765adb..b6d0b4668f8 100644
--- a/pkgs/development/libraries/haskell/edit-distance/default.nix
+++ b/pkgs/development/libraries/haskell/edit-distance/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "edit-distance";
- version = "0.2.1";
- sha256 = "1zhiyzgqmxi4mn7zn5q6rg03hgff9y5f9xizbs00069v7ncygi38";
+ version = "0.2.1.1";
+ sha256 = "1d8h38cn3azvsp2dp5gycglm5bwwd8plbag8ypi38yj6c35a82yn";
isLibrary = true;
isExecutable = true;
buildDepends = [ random ];
diff --git a/pkgs/development/libraries/haskell/exception-mtl/default.nix b/pkgs/development/libraries/haskell/exception-mtl/default.nix
index 9b378751ebf..2c64598d1d0 100644
--- a/pkgs/development/libraries/haskell/exception-mtl/default.nix
+++ b/pkgs/development/libraries/haskell/exception-mtl/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "exception-mtl";
- version = "0.3.0.2";
- sha256 = "1mhk1z7hz50h8ssr4s7dzdxzn02rr0njxijdddfjjw71fln3nl5h";
+ version = "0.3.0.3";
+ sha256 = "1mmkp16c5ixknhm69a2zjrs9q0dd5ragmljnjjd6lxpakdlw64ww";
buildDepends = [ exceptionTransformers mtl transformers ];
meta = {
homepage = "http://www.eecs.harvard.edu/~mainland/";
diff --git a/pkgs/development/libraries/haskell/exception-transformers/default.nix b/pkgs/development/libraries/haskell/exception-transformers/default.nix
index b1e0fcec5e0..5c4a9402020 100644
--- a/pkgs/development/libraries/haskell/exception-transformers/default.nix
+++ b/pkgs/development/libraries/haskell/exception-transformers/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "exception-transformers";
- version = "0.3.0.2";
- sha256 = "1ah3dimnc980vkr2lycpl4nsb615gxqws6mv9j90mz6g165h9khf";
+ version = "0.3.0.3";
+ sha256 = "0z3z5pppaqqbndd4fgv1czr8f9f4a8r86bwc3bcv88yf7y8cfbwz";
buildDepends = [ stm transformers ];
meta = {
homepage = "http://www.eecs.harvard.edu/~mainland/";
diff --git a/pkgs/development/libraries/haskell/file-embed/default.nix b/pkgs/development/libraries/haskell/file-embed/default.nix
index 0a6fdf6c8cc..a36d333e909 100644
--- a/pkgs/development/libraries/haskell/file-embed/default.nix
+++ b/pkgs/development/libraries/haskell/file-embed/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "file-embed";
- version = "0.0.4.5";
- sha256 = "18rhcjll5gj790g5balk3xhnmmgjh2bixik8vna5drs7y9i0innp";
+ version = "0.0.4.6";
+ sha256 = "0p2vs56s1jy5xaw3axzfsir925z2a46624n32x797lga9khm3qvp";
meta = {
homepage = "https://github.com/snoyberg/file-embed";
description = "Use Template Haskell to embed file contents directly";
diff --git a/pkgs/development/libraries/haskell/ghc-mtl/default.nix b/pkgs/development/libraries/haskell/ghc-mtl/default.nix
index f885b9a5313..ea2495f6586 100644
--- a/pkgs/development/libraries/haskell/ghc-mtl/default.nix
+++ b/pkgs/development/libraries/haskell/ghc-mtl/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "ghc-mtl";
- version = "1.0.1.1";
- sha256 = "04lm1g27xwwph02k3d8b51nbhi2sw8jx7arqczcqc3rygak10fpn";
+ version = "1.0.1.2";
+ sha256 = "06m8ynqlbvvs37w211ikldwvlvg4ry27x9l7idnwa1m8w2jkbkva";
buildDepends = [ MonadCatchIOMtl mtl ];
meta = {
homepage = "http://darcsden.com/jcpetruzza/ghc-mtl";
diff --git a/pkgs/development/libraries/haskell/gloss/default.nix b/pkgs/development/libraries/haskell/gloss/default.nix
index e988eae9adf..8fe5080b1ac 100644
--- a/pkgs/development/libraries/haskell/gloss/default.nix
+++ b/pkgs/development/libraries/haskell/gloss/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "gloss";
- version = "1.7.6.1";
- sha256 = "1gwmrnwn1x0hs9jp2qsjp737wahbdsjrp2kp7gpz9pkq4a6jmjmx";
+ version = "1.7.6.5";
+ sha256 = "0s02vbcyfqzlmjw68kp3arn3vvmldh04460gm050vbc6rqpc8dkv";
buildDepends = [ bmp GLUT OpenGL ];
meta = {
homepage = "http://gloss.ouroborus.net";
diff --git a/pkgs/development/libraries/haskell/happstack/happstack-server.nix b/pkgs/development/libraries/haskell/happstack/happstack-server.nix
index 5d4b4365f39..e864075b42a 100644
--- a/pkgs/development/libraries/haskell/happstack/happstack-server.nix
+++ b/pkgs/development/libraries/haskell/happstack/happstack-server.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "happstack-server";
- version = "7.0.5";
- sha256 = "11ialzvjdqmf62yl5r9yxir8fg5agfg1fysf3c3ja5456k07b466";
+ version = "7.0.7";
+ sha256 = "0r9bk82zjzlsi6j6dnz5b73qacpfdyhsn5ds98cn7gkqyf4yg7cj";
buildDepends = [
base64Bytestring blazeHtml extensibleExceptions filepath hslogger
html monadControl mtl network parsec sendfile syb systemFilepath
diff --git a/pkgs/development/libraries/haskell/hashtables/default.nix b/pkgs/development/libraries/haskell/hashtables/default.nix
index 08f93355910..8b8616fce20 100644
--- a/pkgs/development/libraries/haskell/hashtables/default.nix
+++ b/pkgs/development/libraries/haskell/hashtables/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "hashtables";
- version = "1.0.1.7";
- sha256 = "0swk501whj08jj9q1d1lwg06nakimxnr7797zx8y8275f5mmisi7";
+ version = "1.0.1.8";
+ sha256 = "0skrzvzasm0hg4631nhfppsb7mn60pnxk4v31gipzz780sbx9zi8";
buildDepends = [ hashable primitive vector ];
meta = {
homepage = "http://github.com/gregorycollins/hashtables";
diff --git a/pkgs/development/libraries/haskell/haskell-platform/2012.4.0.0.nix b/pkgs/development/libraries/haskell/haskell-platform/2012.4.0.0.nix
new file mode 100644
index 00000000000..c9f269eebef
--- /dev/null
+++ b/pkgs/development/libraries/haskell/haskell-platform/2012.4.0.0.nix
@@ -0,0 +1,44 @@
+{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, async, cgi, fgl,
+ haskellSrc, html, network, parallel, parsec, primitive,
+ regexBase, regexCompat, regexPosix,
+ split, stm, syb, deepseq, text, transformers, mtl, vector, xhtml, zlib, random,
+ cabalInstall, alex, happy, haddock, ghc}:
+
+# This is just a meta-package. Because upstream fails to provide proper versioned
+# release tarballs that can be used for the purpose of verifying this package, we
+# just create it on the fly from a simple Setup.hs file and a .cabal file that we
+# store directly in the nixpkgs repository.
+
+cabal.mkDerivation (self : {
+ pname = "haskell-platform";
+ version = "2012.4.0.0";
+ cabalFile = ./haskell-platform-2012.4.0.0.cabal;
+ setupFile = ./Setup.hs;
+ src = null;
+ propagatedBuildInputs = [
+ GLUT HTTP HUnit OpenGL QuickCheck async cgi fgl
+ haskellSrc html network parallel parsec primitive
+ regexBase regexCompat regexPosix
+ split stm syb deepseq text transformers mtl vector xhtml zlib random
+ cabalInstall alex happy ghc haddock
+ ];
+ unpackPhase = ''
+ sourceRoot=haskell-platform
+ mkdir $sourceRoot
+ cp ${self.cabalFile} $sourceRoot/${self.pname}.cabal
+ cp ${self.setupFile} $sourceRoot/Setup.hs
+ touch $sourceRoot/LICENSE
+ '';
+ noHaddock = true;
+ meta = {
+ homepage = "http://haskell.org/platform";
+ description = "Haskell Platform meta package";
+ 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/haskell-platform/haskell-platform-2012.4.0.0.cabal b/pkgs/development/libraries/haskell/haskell-platform/haskell-platform-2012.4.0.0.cabal
new file mode 100644
index 00000000000..6346b6ab297
--- /dev/null
+++ b/pkgs/development/libraries/haskell/haskell-platform/haskell-platform-2012.4.0.0.cabal
@@ -0,0 +1,96 @@
+name: haskell-platform
+version: 2012.4.0.0
+homepage: http://haskell.org/platform
+license: BSD3
+license-file: LICENSE
+author: libraries@haskell.org
+maintainer: haskell-platform@projects.haskell.org
+category: System
+synopsis: The Haskell Platform
+description:
+ The Haskell Platform (HP) is the blessed set of libraries and tools on
+ which to build further Haskell libraries and applications. It is
+ intended to provide a comprehensive, stable, and quality tested base for
+ Haskell projects to work from.
+ .
+ This version specifies the following additional developer tools be
+ installed, for a system to be in full compliance:
+ .
+ * cabal-install
+ * alex
+ * happy
+ * haddock
+
+cabal-version: >= 1.8
+build-type: Custom
+tested-with: GHC ==7.4.2
+
+library
+ build-depends:
+ -- ghc ==7.4.2,
+
+ -- Core libraries: provided by every ghc installation
+ -- We don't include "non-API" packages here.
+ -- array ==0.4.0.0,
+ -- base ==4.5.1.0,
+ -- bytestring ==0.9.2.1,
+ -- Cabal ==1.14.0,
+ -- containers ==0.4.2.1,
+ -- deepseq ==1.3.0.0,
+ -- directory ==1.1.0.2,
+ -- extensible-exceptions ==0.1.1.4,
+ -- filepath ==1.3.0.0,
+ -- haskell2010 ==1.1.0.1,
+ -- haskell98 ==2.0.0.1,
+ -- hpc ==0.5.1.1,
+ -- old-locale ==1.0.0.4,
+ -- old-time ==1.1.0.0,
+ -- pretty ==1.1.1.0,
+ -- process ==1.1.0.1,
+ -- template-haskell ==2.7.0.0,
+ -- time ==1.4,
+ -- unix ==2.5.1.1,
+ -- Win32 ==2.2.2.0,
+
+ -- Libraries in addition to what GHC provides:
+ -- Note: newer versions of cgi need monad-catchio.
+ async ==2.0.1.3,
+ cgi ==3001.1.7.4,
+ fgl ==5.4.2.4,
+ GLUT ==2.1.2.1,
+ haskell-src ==1.0.1.5,
+ html ==1.0.1.2,
+ HTTP ==4000.2.5,
+ HUnit ==1.2.5.1,
+ mtl ==2.1.2,
+ network ==2.3.1.0,
+ OpenGL ==2.2.3.1,
+ parallel ==3.2.0.3,
+ parsec ==3.1.3,
+ QuickCheck ==2.5.1.1,
+ random ==1.0.1.1,
+ regex-base ==0.93.2,
+ regex-compat ==0.95.1,
+ regex-posix ==0.95.2,
+ split ==0.2.1.1,
+ stm ==2.4,
+ syb ==0.3.7,
+ text ==0.11.2.3,
+ transformers ==0.3.0.0,
+ vector ==0.10,
+ xhtml ==3000.2.1,
+ zlib ==0.5.4.0,
+
+ -- Libraries that are needed to support the above,
+ -- though are not officially part of the platform
+ primitive ==0.5
+
+ -- Depending on programs does not work, they are not registered
+ -- We list them to help distro packaging.
+ build-tools:
+ cabal-install ==0.14.0,
+ alex ==3.0.2,
+ happy ==1.18.10
+ -- hscolour ==1.19 -- ???
+ -- haddock ==2.11.0 -- need to use the one shipped with ghc
+
diff --git a/pkgs/development/libraries/haskell/heist/default.nix b/pkgs/development/libraries/haskell/heist/default.nix
index 44ba8ba15ee..d87f4fe239e 100644
--- a/pkgs/development/libraries/haskell/heist/default.nix
+++ b/pkgs/development/libraries/haskell/heist/default.nix
@@ -1,16 +1,16 @@
{ cabal, aeson, attoparsec, blazeBuilder, blazeHtml, directoryTree
, filepath, MonadCatchIOTransformers, mtl, random, text, time
-, transformers, unorderedContainers, vector, xmlhtml
+, unorderedContainers, vector, xmlhtml
}:
cabal.mkDerivation (self: {
pname = "heist";
- version = "0.8.1.1";
- sha256 = "0ad56izskafpc1dx2nq0a8w71ayppwx8dc7kdaw1by972kh3nflh";
+ version = "0.8.2";
+ sha256 = "0zamggvfq9054vxznbnfq1fihk110ih8q0dza1rmsjb1h2s88rkj";
buildDepends = [
aeson attoparsec blazeBuilder blazeHtml directoryTree filepath
- MonadCatchIOTransformers mtl random text time transformers
- unorderedContainers vector xmlhtml
+ MonadCatchIOTransformers mtl random text time unorderedContainers
+ vector xmlhtml
];
meta = {
homepage = "http://snapframework.com/";
diff --git a/pkgs/development/libraries/haskell/highlighting-kate/default.nix b/pkgs/development/libraries/haskell/highlighting-kate/default.nix
index 21497f3252a..99726ab0389 100644
--- a/pkgs/development/libraries/haskell/highlighting-kate/default.nix
+++ b/pkgs/development/libraries/haskell/highlighting-kate/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "highlighting-kate";
- version = "0.5.3.2";
- sha256 = "09yvqxvjzahz0y6yhsfgkx5xm39a74arv294w14sgmhay1wnlwvj";
+ version = "0.5.3.3";
+ sha256 = "08jxl2ba0kb4vj1qbdf4sas8bwbxzayzwsxnjvq358x57i5l302n";
isLibrary = true;
isExecutable = true;
buildDepends = [ blazeHtml filepath mtl parsec regexPcreBuiltin ];
diff --git a/pkgs/development/libraries/haskell/hint/default.nix b/pkgs/development/libraries/haskell/hint/default.nix
index 795d8c1d674..106b8591778 100644
--- a/pkgs/development/libraries/haskell/hint/default.nix
+++ b/pkgs/development/libraries/haskell/hint/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "hint";
- version = "0.3.3.4";
- sha256 = "0pmvhlj9m0s1wvw8ppx1wx879lwzg38bcvhy1ma1d4wnrpq3bhiy";
+ version = "0.3.3.5";
+ sha256 = "09pd4b105c2ikf4ap96fz8091qra7hypq3k3ik0kay3bb532hmlq";
buildDepends = [
extensibleExceptions filepath ghcMtl ghcPaths haskellSrc
MonadCatchIOMtl mtl random utf8String
diff --git a/pkgs/development/libraries/haskell/hjsmin/default.nix b/pkgs/development/libraries/haskell/hjsmin/default.nix
index 6d749feea3a..35eed1de3f0 100644
--- a/pkgs/development/libraries/haskell/hjsmin/default.nix
+++ b/pkgs/development/libraries/haskell/hjsmin/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "hjsmin";
- version = "0.1.2";
- sha256 = "04yk383504blg8x10x5j1fd5mzyybqkhz7jfsyimvz2wz2v86qsb";
+ version = "0.1.3";
+ sha256 = "0lz7qsm74hbs8qa5d3khw43ipiimjbvxsrqqmxvp44605ib22y4d";
buildDepends = [ blazeBuilder languageJavascript text ];
meta = {
homepage = "http://github.com/alanz/hjsmin";
diff --git a/pkgs/development/libraries/haskell/hspec/default.nix b/pkgs/development/libraries/haskell/hspec/default.nix
index 1a22ff5df0d..d525f2a6e0b 100644
--- a/pkgs/development/libraries/haskell/hspec/default.nix
+++ b/pkgs/development/libraries/haskell/hspec/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "hspec";
- version = "1.3.0";
- sha256 = "0kl9mdksy8bifb37dfb9y8mnnjlq0x1h970cgzv9idq61gafii4n";
+ version = "1.3.0.1";
+ sha256 = "1xgj1yg49vb524blswclr0yw4pvfpbmjyh0b62fac14mawl89v36";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/http-conduit/default.nix b/pkgs/development/libraries/haskell/http-conduit/default.nix
index 4aad24d1cc7..9a1d45c40f1 100644
--- a/pkgs/development/libraries/haskell/http-conduit/default.nix
+++ b/pkgs/development/libraries/haskell/http-conduit/default.nix
@@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "http-conduit";
- version = "1.6.1";
- sha256 = "1yzsa6gqhq6s4b2drhx4jd6qdfawf1swrjyffi2bfq1vq8i9ikf2";
+ version = "1.6.1.2";
+ sha256 = "02dh7gh9pk5dj6dl28hn3vqvf9280b57bqas4w7zsgnhjivxy20x";
buildDepends = [
asn1Data attoparsec attoparsecConduit base64Bytestring blazeBuilder
blazeBuilderConduit caseInsensitive certificate conduit cookie
diff --git a/pkgs/development/libraries/haskell/hxt/default.nix b/pkgs/development/libraries/haskell/hxt/default.nix
index ee79d374d42..35783c7762e 100644
--- a/pkgs/development/libraries/haskell/hxt/default.nix
+++ b/pkgs/development/libraries/haskell/hxt/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "hxt";
- version = "9.3.1.0";
- sha256 = "0nv7d7ffwq81671c7gyzaqx7xgrgs42svbq5xraij4jbq5406719";
+ version = "9.3.1.1";
+ sha256 = "1x0z85vx49s2b9bgjm14c2152cwr0vzf02rlxrla5dj5g565985y";
buildDepends = [
binary deepseq filepath HUnit hxtCharproperties hxtRegexXmlschema
hxtUnicode mtl network parsec
diff --git a/pkgs/development/libraries/haskell/json/default.nix b/pkgs/development/libraries/haskell/json/default.nix
index 09ebeb847b9..9a56f412fe2 100644
--- a/pkgs/development/libraries/haskell/json/default.nix
+++ b/pkgs/development/libraries/haskell/json/default.nix
@@ -1,10 +1,10 @@
-{ cabal, mtl, parsec, syb }:
+{ cabal, mtl, parsec, syb, text }:
cabal.mkDerivation (self: {
pname = "json";
- version = "0.6";
- sha256 = "1f5l1992r2gm8fivqfljhgs3nix4qf7h3rji78rsq1kf3r9shz32";
- buildDepends = [ mtl parsec syb ];
+ version = "0.7";
+ sha256 = "18v8vbx3pyskf3ap4lpy2d3461gghfsq5bzjyrjvqsd2r9r44rfk";
+ buildDepends = [ mtl parsec syb text ];
meta = {
description = "Support for serialising Haskell to and from JSON";
license = self.stdenv.lib.licenses.bsd3;
diff --git a/pkgs/development/libraries/haskell/language-c-quote/default.nix b/pkgs/development/libraries/haskell/language-c-quote/default.nix
index 3f835383831..77396e3cf55 100644
--- a/pkgs/development/libraries/haskell/language-c-quote/default.nix
+++ b/pkgs/development/libraries/haskell/language-c-quote/default.nix
@@ -4,14 +4,13 @@
cabal.mkDerivation (self: {
pname = "language-c-quote";
- version = "0.4.1";
- sha256 = "1graq6nfmzd2lj6fh1rwyaikfrlzn05pgd347dzrfq5ch35fgg10";
+ version = "0.4.3";
+ sha256 = "13xpmj3jrqkcgilkh4p8ycxhlk5yvfsisx4c1ax7n7aafg1n7phf";
buildDepends = [
exceptionMtl exceptionTransformers filepath haskellSrcMeta
mainlandPretty mtl srcloc syb symbol
];
buildTools = [ alex happy ];
- jailbreak = true;
meta = {
homepage = "http://www.eecs.harvard.edu/~mainland/";
description = "C/CUDA/OpenCL quasiquoting library";
diff --git a/pkgs/development/libraries/haskell/language-javascript/default.nix b/pkgs/development/libraries/haskell/language-javascript/default.nix
index 3f04b3a9289..1d649ba27a9 100644
--- a/pkgs/development/libraries/haskell/language-javascript/default.nix
+++ b/pkgs/development/libraries/haskell/language-javascript/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "language-javascript";
- version = "0.5.4";
- sha256 = "0hjx12n3pkxcdkppqalv6sl68vjlib37gby89ksay807ndslvb9q";
+ version = "0.5.6";
+ sha256 = "1a1nki2z7x0rna5jg6g0gqnipvd115k4xgagg6prrvj284ml44wd";
buildDepends = [ blazeBuilder mtl utf8Light utf8String ];
buildTools = [ happy ];
meta = {
diff --git a/pkgs/development/libraries/haskell/libmpd/default.nix b/pkgs/development/libraries/haskell/libmpd/default.nix
index c0ba821d5f1..f6185597af1 100644
--- a/pkgs/development/libraries/haskell/libmpd/default.nix
+++ b/pkgs/development/libraries/haskell/libmpd/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "libmpd";
- version = "0.8.0";
- sha256 = "0sn9yqiqr011glb7q0f3xj24wkkvnib0khzf833npcas4420d0ya";
+ version = "0.8.0.1";
+ sha256 = "16j2c0dnwllsb979gqf1cl4ylvpldcj8k32ddpp4wf62lbb1mqxm";
buildDepends = [ filepath mtl network text time utf8String ];
meta = {
homepage = "http://github.com/joachifm/libmpd-haskell";
diff --git a/pkgs/development/libraries/haskell/libxml-sax/default.nix b/pkgs/development/libraries/haskell/libxml-sax/default.nix
new file mode 100644
index 00000000000..b41ca8dfa54
--- /dev/null
+++ b/pkgs/development/libraries/haskell/libxml-sax/default.nix
@@ -0,0 +1,16 @@
+{ cabal, libxml2, text, xmlTypes }:
+
+cabal.mkDerivation (self: {
+ pname = "libxml-sax";
+ version = "0.7.3";
+ sha256 = "1514ix5n8y1dwjdm0kmr17fdigc0ic89gzwdvfgh542sjm11100r";
+ buildDepends = [ text xmlTypes ];
+ extraLibraries = [ libxml2 ];
+ pkgconfigDepends = [ libxml2 ];
+ meta = {
+ homepage = "https://john-millikin.com/software/haskell-libxml/";
+ description = "Bindings for the libXML2 SAX interface";
+ license = self.stdenv.lib.licenses.mit;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/lifted-base/default.nix b/pkgs/development/libraries/haskell/lifted-base/default.nix
index 09264ab57f4..e5c334e1b22 100644
--- a/pkgs/development/libraries/haskell/lifted-base/default.nix
+++ b/pkgs/development/libraries/haskell/lifted-base/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "lifted-base";
- version = "0.1.2";
- sha256 = "0js94dlfy2wjl026jcj2l399ly4zgw0cgxkmil6lsm34gcy9vrvq";
+ version = "0.2";
+ sha256 = "12ai34wb1sd6fza50arlpvsdc6l2nwrrcik0xakf2q0ddzjmhjfb";
buildDepends = [
baseUnicodeSymbols monadControl transformersBase
];
diff --git a/pkgs/development/libraries/haskell/mainland-pretty/default.nix b/pkgs/development/libraries/haskell/mainland-pretty/default.nix
index e22e0b053e6..5da3e47a333 100644
--- a/pkgs/development/libraries/haskell/mainland-pretty/default.nix
+++ b/pkgs/development/libraries/haskell/mainland-pretty/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "mainland-pretty";
- version = "0.2.2";
- sha256 = "0kvn67g2ic46ybgyxpgpzjapwiww9848m9dv8y3xkkl7jd8anpb2";
+ version = "0.2.4";
+ sha256 = "0x481k36rz4zvj1nwvrfw1d10vbmmx8gb5f2nc8alnxcbc2y7xwq";
buildDepends = [ srcloc text ];
meta = {
homepage = "http://www.eecs.harvard.edu/~mainland/";
diff --git a/pkgs/development/libraries/haskell/monadcryptorandom/default.nix b/pkgs/development/libraries/haskell/monadcryptorandom/default.nix
index c1901f470fd..b702f10354c 100644
--- a/pkgs/development/libraries/haskell/monadcryptorandom/default.nix
+++ b/pkgs/development/libraries/haskell/monadcryptorandom/default.nix
@@ -1,12 +1,12 @@
-{ cabal, cryptoApi, mtl, transformers }:
+{ cabal, cryptoApi, mtl, tagged, transformers }:
cabal.mkDerivation (self: {
pname = "monadcryptorandom";
- version = "0.4.1";
- sha256 = "01x3zfr4m93bgx062rhxqk1d8qhn6s7rkfkm4yf00p89fclyjsg1";
- buildDepends = [ cryptoApi mtl transformers ];
+ version = "0.5";
+ sha256 = "19sb9mgfvmmmx1sn0aiq6dn5nl0201xwgs6xqakn7pz5vsqcww2b";
+ buildDepends = [ cryptoApi mtl tagged transformers ];
meta = {
- homepage = "http://trac.haskell.org/crypto-api/wiki";
+ homepage = "https://github.com/TomMD/monadcryptorandom";
description = "A monad for using CryptoRandomGen";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
diff --git a/pkgs/development/libraries/haskell/multiarg/default.nix b/pkgs/development/libraries/haskell/multiarg/default.nix
index c376ab0cbd6..8b2871c3ce4 100644
--- a/pkgs/development/libraries/haskell/multiarg/default.nix
+++ b/pkgs/development/libraries/haskell/multiarg/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "multiarg";
- version = "0.4.0.0";
- sha256 = "04m4ynf6x8rlnlmnl6a7jj42fszjc1bly4h3jyjxxsqjdynrv81q";
+ version = "0.6.0.0";
+ sha256 = "1qrw1rajdvrvd297a7lpfkxm5qqhwmnnl5jiagjwzb9lckgpy87y";
buildDepends = [ explicitException utf8String ];
meta = {
homepage = "https://github.com/massysett/multiarg";
diff --git a/pkgs/development/libraries/haskell/network-conduit/default.nix b/pkgs/development/libraries/haskell/network-conduit/default.nix
index d5c04d8e2b8..3b86b0699ca 100644
--- a/pkgs/development/libraries/haskell/network-conduit/default.nix
+++ b/pkgs/development/libraries/haskell/network-conduit/default.nix
@@ -3,8 +3,8 @@
cabal.mkDerivation (self: {
pname = "network-conduit";
- version = "0.5.0.2";
- sha256 = "0ragnwhc8szh680iyzyz6fbprqd3drr8sb970h1p2l4i22srkm39";
+ version = "0.6.1.1";
+ sha256 = "00x5ks1qcq5smmd2g4bm23lb3ngdxmdlz822qkkj9l9c27lkn67n";
buildDepends = [
conduit liftedBase monadControl network transformers
];
diff --git a/pkgs/development/libraries/haskell/network-info/default.nix b/pkgs/development/libraries/haskell/network-info/default.nix
new file mode 100644
index 00000000000..c1bfea43bde
--- /dev/null
+++ b/pkgs/development/libraries/haskell/network-info/default.nix
@@ -0,0 +1,13 @@
+{ cabal }:
+
+cabal.mkDerivation (self: {
+ pname = "network-info";
+ version = "0.2.0.3";
+ sha256 = "04nwl5akrsppxkqqq7a7qi5sixvrzvj4njl8rbz7sglbh9393rs2";
+ meta = {
+ homepage = "http://github.com/jystic/network-info";
+ description = "Access the local computer's basic network configuration";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/network-transport-tcp/default.nix b/pkgs/development/libraries/haskell/network-transport-tcp/default.nix
index 61ebc4ec1d9..f0f6957c036 100644
--- a/pkgs/development/libraries/haskell/network-transport-tcp/default.nix
+++ b/pkgs/development/libraries/haskell/network-transport-tcp/default.nix
@@ -2,12 +2,12 @@
cabal.mkDerivation (self: {
pname = "network-transport-tcp";
- version = "0.2.0.3";
- sha256 = "0jlw59ib6yzkv2qggza571k2nhxnwvwj42zdgzz6wh2bgdyihayw";
+ version = "0.3.0";
+ sha256 = "0x2rz0h890bfay52af2wcvja706dr4r6wgfs9csjf7y3jf53nc63";
buildDepends = [ dataAccessor network networkTransport ];
meta = {
homepage = "http://github.com/haskell-distributed/distributed-process";
- description = "TCP instantation of Network.Transport";
+ description = "TCP instantiation of Network.Transport";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
diff --git a/pkgs/development/libraries/haskell/network-transport/default.nix b/pkgs/development/libraries/haskell/network-transport/default.nix
index 9e3ab7e7796..813e8372cfc 100644
--- a/pkgs/development/libraries/haskell/network-transport/default.nix
+++ b/pkgs/development/libraries/haskell/network-transport/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "network-transport";
- version = "0.2.0.2";
- sha256 = "1pipykqwbjmbkgkmk0ss2pvfp72rkxwmz49d1j5xi8b0rlfgw05c";
+ version = "0.3.0";
+ sha256 = "1i6sn5x3z1r9l7xwag68s5gsii137d5dajwr0abcbv6143ph3bvm";
buildDepends = [ binary transformers ];
meta = {
homepage = "http://github.com/haskell-distributed/distributed-process";
diff --git a/pkgs/development/libraries/haskell/network/2.3.1.0.nix b/pkgs/development/libraries/haskell/network/2.3.1.0.nix
new file mode 100644
index 00000000000..28fa50d8342
--- /dev/null
+++ b/pkgs/development/libraries/haskell/network/2.3.1.0.nix
@@ -0,0 +1,15 @@
+{ cabal, parsec }:
+
+cabal.mkDerivation (self: {
+ pname = "network";
+ version = "2.3.1.0";
+ sha256 = "1fp25wkl5cc4kx0jv5w02b7pzgqadjg1yrknzzwsqxc5s3cpyz6l";
+ buildDepends = [ parsec ];
+ meta = {
+ homepage = "http://github.com/haskell/network";
+ description = "Low-level networking interface";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.andres ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/numbers/default.nix b/pkgs/development/libraries/haskell/numbers/default.nix
index 8b57b3d7e96..d1485b7cf1f 100644
--- a/pkgs/development/libraries/haskell/numbers/default.nix
+++ b/pkgs/development/libraries/haskell/numbers/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "numbers";
- version = "3000.0.0.0";
- sha256 = "073xjrnbv6z16va2h3arlxq3z8kywb961dwh4jcm8g7w5m84b2xb";
+ version = "3000.1.0.1";
+ sha256 = "0r2s47nfdxasnp8j7giwpxls9v48f6ld0gc2hg2p7y2ar5xfrcc4";
meta = {
homepage = "https://github.com/DanBurton/numbers";
description = "Various number types";
diff --git a/pkgs/development/libraries/haskell/parallel-io/default.nix b/pkgs/development/libraries/haskell/parallel-io/default.nix
index 1cb682d2b91..d16f42f52ff 100644
--- a/pkgs/development/libraries/haskell/parallel-io/default.nix
+++ b/pkgs/development/libraries/haskell/parallel-io/default.nix
@@ -2,12 +2,11 @@
cabal.mkDerivation (self: {
pname = "parallel-io";
- version = "0.3.2";
- sha256 = "1n9y1d1lcdwvhjsfqdlxknl89fxncq17kgin43wlki0c39cgirga";
+ version = "0.3.2.1";
+ sha256 = "0wrmz0i5s8p87840pacdnpf2fi12nips4yc72vymifrc1wvlc42q";
isLibrary = true;
isExecutable = true;
buildDepends = [ extensibleExceptions random ];
- jailbreak = true;
meta = {
homepage = "http://batterseapower.github.com/parallel-io";
description = "Combinators for executing IO actions in parallel on a thread pool";
diff --git a/pkgs/development/libraries/haskell/persistent/default.nix b/pkgs/development/libraries/haskell/persistent/default.nix
index b4010959d77..449debe0405 100644
--- a/pkgs/development/libraries/haskell/persistent/default.nix
+++ b/pkgs/development/libraries/haskell/persistent/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "persistent";
- version = "1.0.1.2";
- sha256 = "0gw635mhbn6w8aswiw9j41rdpi7rhnnhay2qgvlc8103s0g5lp9j";
+ version = "1.0.1.3";
+ sha256 = "156iv1iv807wm39sr98z0f10sbw4q0ac3lafgai0mq3ph5xysi80";
buildDepends = [
aeson attoparsec base64Bytestring blazeHtml blazeMarkup conduit
liftedBase monadControl monadLogger pathPieces poolConduit
diff --git a/pkgs/development/libraries/haskell/primitive/default.nix b/pkgs/development/libraries/haskell/primitive/0.4.1.nix
similarity index 100%
rename from pkgs/development/libraries/haskell/primitive/default.nix
rename to pkgs/development/libraries/haskell/primitive/0.4.1.nix
diff --git a/pkgs/development/libraries/haskell/primitive/0.5.0.1.nix b/pkgs/development/libraries/haskell/primitive/0.5.0.1.nix
new file mode 100644
index 00000000000..af6778ccd14
--- /dev/null
+++ b/pkgs/development/libraries/haskell/primitive/0.5.0.1.nix
@@ -0,0 +1,14 @@
+{ cabal }:
+
+cabal.mkDerivation (self: {
+ pname = "primitive";
+ version = "0.5.0.1";
+ sha256 = "04s33xqxz68ddppig5pjf7ki1y5y62xzzzmg3b5pkcxp0r6rsv2j";
+ meta = {
+ homepage = "http://code.haskell.org/primitive";
+ description = "Primitive memory-related operations";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.andres ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/primitive/0.5.nix b/pkgs/development/libraries/haskell/primitive/0.5.nix
new file mode 100644
index 00000000000..d09359aaeb9
--- /dev/null
+++ b/pkgs/development/libraries/haskell/primitive/0.5.nix
@@ -0,0 +1,14 @@
+{ cabal }:
+
+cabal.mkDerivation (self: {
+ pname = "primitive";
+ version = "0.5";
+ sha256 = "0m2gv7lac7q24cy02bbc7hq41awjxzs8dcjc6j2nv8xiq14cp3mk";
+ meta = {
+ homepage = "http://code.haskell.org/primitive";
+ description = "Primitive memory-related operations";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.andres ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/repa/default.nix b/pkgs/development/libraries/haskell/repa/default.nix
index e0a8e591a5b..1ddf05ce5f8 100644
--- a/pkgs/development/libraries/haskell/repa/default.nix
+++ b/pkgs/development/libraries/haskell/repa/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "repa";
- version = "3.2.2.1";
- sha256 = "0k8i4gm74gc19kfmg2790x1i6im58nqfblq2fq2bilh6rsj8hxh0";
+ version = "3.2.2.2";
+ sha256 = "1a7rgpy2qc42zc9si7p1zgi1m9b06dz533d2mvhizzac9k3fb5vq";
buildDepends = [ QuickCheck vector ];
meta = {
homepage = "http://repa.ouroborus.net";
diff --git a/pkgs/development/libraries/haskell/resourcet/default.nix b/pkgs/development/libraries/haskell/resourcet/default.nix
index e3190749f1c..95e051a3eec 100644
--- a/pkgs/development/libraries/haskell/resourcet/default.nix
+++ b/pkgs/development/libraries/haskell/resourcet/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "resourcet";
- version = "0.4.0.1";
- sha256 = "0idyb2xvjk9cbz9gy1gr6sw1mz6v9d8fgk0kw778n6k3h488dw9x";
+ version = "0.4.0.2";
+ sha256 = "0w4hm29dig6m4jm6y9zmyfnhwii7b88hqjqlvl6xmk5zxp1q7hc2";
buildDepends = [
liftedBase monadControl mtl transformers transformersBase
];
diff --git a/pkgs/development/libraries/haskell/shelly/default.nix b/pkgs/development/libraries/haskell/shelly/default.nix
index 838e6c30faf..c266b6bd085 100644
--- a/pkgs/development/libraries/haskell/shelly/default.nix
+++ b/pkgs/development/libraries/haskell/shelly/default.nix
@@ -3,8 +3,8 @@
cabal.mkDerivation (self: {
pname = "shelly";
- version = "0.14.1";
- sha256 = "1cvfak5siysnpms1znra6dk762zp0gv1sam3xfdp67a7ir0hpcpp";
+ version = "0.14.2";
+ sha256 = "1vx7yq5fj4dnba94ypf8ldd236kivxisrzhkxcfhhar5zvw2jqng";
buildDepends = [
mtl systemFileio systemFilepath text time unixCompat
];
diff --git a/pkgs/development/libraries/haskell/silently/default.nix b/pkgs/development/libraries/haskell/silently/default.nix
index 4fb4323bd17..1153a25cda5 100644
--- a/pkgs/development/libraries/haskell/silently/default.nix
+++ b/pkgs/development/libraries/haskell/silently/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "silently";
- version = "1.2.0.2";
- sha256 = "0qcprbjnh351hc9v12gww478qd4pw7wgpyjj1gmkx4mr80w0qmm1";
+ version = "1.2.3";
+ sha256 = "1fvkj5qngdi2zxsrfk6dnaynm0wbxpmqr0jzvzayxifhzh04mqld";
buildDepends = [ deepseq ];
meta = {
homepage = "https://github.com/trystan/silently";
diff --git a/pkgs/development/libraries/haskell/snap/core.nix b/pkgs/development/libraries/haskell/snap/core.nix
index a39442aef07..16df3f34756 100644
--- a/pkgs/development/libraries/haskell/snap/core.nix
+++ b/pkgs/development/libraries/haskell/snap/core.nix
@@ -1,19 +1,19 @@
{ cabal, attoparsec, attoparsecEnumerator, blazeBuilder
, blazeBuilderEnumerator, bytestringMmap, caseInsensitive, deepseq
, enumerator, filepath, HUnit, MonadCatchIOTransformers, mtl
-, random, regexPosix, text, time, transformers, unixCompat
-, unorderedContainers, vector, zlibEnum
+, random, regexPosix, text, time, unixCompat, unorderedContainers
+, vector, zlibEnum
}:
cabal.mkDerivation (self: {
pname = "snap-core";
- version = "0.9.2.1";
- sha256 = "18i0hfzc37q12nyp7g4sc87s4xcqz1crjwpnhh4y5fw66glzmq3q";
+ version = "0.9.2.2";
+ sha256 = "0svahih2piaj87xfysgjvqqh11gmwz9icrh2g819h68kzh10imlf";
buildDepends = [
attoparsec attoparsecEnumerator blazeBuilder blazeBuilderEnumerator
bytestringMmap caseInsensitive deepseq enumerator filepath HUnit
- MonadCatchIOTransformers mtl random regexPosix text time
- transformers unixCompat unorderedContainers vector zlibEnum
+ MonadCatchIOTransformers mtl random regexPosix text time unixCompat
+ unorderedContainers vector zlibEnum
];
meta = {
homepage = "http://snapframework.com/";
diff --git a/pkgs/development/libraries/haskell/snap/loader-dynamic.nix b/pkgs/development/libraries/haskell/snap/loader-dynamic.nix
index 5815496695c..3f6c5db004b 100644
--- a/pkgs/development/libraries/haskell/snap/loader-dynamic.nix
+++ b/pkgs/development/libraries/haskell/snap/loader-dynamic.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "snap-loader-dynamic";
- version = "0.9.0";
- sha256 = "1pbpvi20an077klvha1dflnlxpfb6m81n9d50hjhidf6430cmmhm";
+ version = "0.9.0.1";
+ sha256 = "1pzn8lfqngn8cqm1dpxn5wsx70xcd7r90rd2948n4p5309qgh9mq";
buildDepends = [ directoryTree hint mtl snapCore time ];
meta = {
homepage = "http://snapframework.com/";
diff --git a/pkgs/development/libraries/haskell/snap/server.nix b/pkgs/development/libraries/haskell/snap/server.nix
index c17b8e50e61..7f8dc878024 100644
--- a/pkgs/development/libraries/haskell/snap/server.nix
+++ b/pkgs/development/libraries/haskell/snap/server.nix
@@ -1,20 +1,18 @@
-{ cabal, attoparsec, attoparsecEnumerator, binary, blazeBuilder
-, blazeBuilderEnumerator, caseInsensitive, directoryTree
-, enumerator, filepath, MonadCatchIOTransformers, mtl, network
-, snapCore, text, time, transformers, unixCompat
+{ cabal, attoparsec, attoparsecEnumerator, blazeBuilder
+, blazeBuilderEnumerator, caseInsensitive, enumerator
+, MonadCatchIOTransformers, mtl, network, snapCore, text, time
+, unixCompat
}:
cabal.mkDerivation (self: {
pname = "snap-server";
- version = "0.9.2.3";
- sha256 = "0wl7clzwrd34d32sikd6vkj3pla9yni26mmdsnrjw1s3lq412yqd";
+ version = "0.9.2.4";
+ sha256 = "1kwmrlk9dr033h6q05afnr916wnw5wlxrr87z1myv0a6nzqmdhzl";
buildDepends = [
- attoparsec attoparsecEnumerator binary blazeBuilder
- blazeBuilderEnumerator caseInsensitive directoryTree enumerator
- filepath MonadCatchIOTransformers mtl network snapCore text time
- transformers unixCompat
+ attoparsec attoparsecEnumerator blazeBuilder blazeBuilderEnumerator
+ caseInsensitive enumerator MonadCatchIOTransformers mtl network
+ snapCore text time unixCompat
];
- jailbreak = true;
meta = {
homepage = "http://snapframework.com/";
description = "A fast, iteratee-based, epoll-enabled web server for the Snap Framework";
diff --git a/pkgs/development/libraries/haskell/snap/snap.nix b/pkgs/development/libraries/haskell/snap/snap.nix
index 83e149391c5..1676de1e840 100644
--- a/pkgs/development/libraries/haskell/snap/snap.nix
+++ b/pkgs/development/libraries/haskell/snap/snap.nix
@@ -2,14 +2,14 @@
, dataLens, dataLensTemplate, directoryTree, filepath, hashable
, heist, logict, MonadCatchIOTransformers, mtl, mwcRandom
, pwstoreFast, snapCore, snapServer, stm, syb, text, time
-, transformers, unorderedContainers, utf8String, vector
-, vectorAlgorithms, xmlhtml
+, transformers, unorderedContainers, vector, vectorAlgorithms
+, xmlhtml
}:
cabal.mkDerivation (self: {
pname = "snap";
- version = "0.9.2.1";
- sha256 = "0gxnkr6icx2g16w3ab54cqy4x15xj6y9cs6qv8dg0xamm7kyyfhl";
+ version = "0.9.2.2";
+ sha256 = "1ql9c8b9arcd8zwlwsiipl4diah87sp339ljc5bc7yls1g4d9zsw";
isLibrary = true;
isExecutable = true;
buildDepends = [
@@ -17,9 +17,8 @@ cabal.mkDerivation (self: {
dataLensTemplate directoryTree filepath hashable heist logict
MonadCatchIOTransformers mtl mwcRandom pwstoreFast snapCore
snapServer stm syb text time transformers unorderedContainers
- utf8String vector vectorAlgorithms xmlhtml
+ vector vectorAlgorithms xmlhtml
];
- jailbreak = true;
meta = {
homepage = "http://snapframework.com/";
description = "Top-level package for the Snap Web Framework";
diff --git a/pkgs/development/libraries/haskell/split/default.nix b/pkgs/development/libraries/haskell/split/0.2.1.1.nix
similarity index 100%
rename from pkgs/development/libraries/haskell/split/default.nix
rename to pkgs/development/libraries/haskell/split/0.2.1.1.nix
diff --git a/pkgs/development/libraries/haskell/srcloc/default.nix b/pkgs/development/libraries/haskell/srcloc/default.nix
index 2ca9e373101..aa2331cfac3 100644
--- a/pkgs/development/libraries/haskell/srcloc/default.nix
+++ b/pkgs/development/libraries/haskell/srcloc/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "srcloc";
- version = "0.2.1";
- sha256 = "03b0ra5g7mqcjjfnhm84mv4ph454j08pb9dwxrv9zfwk1kiqb2ss";
+ version = "0.3.0";
+ sha256 = "1ymk8k0r9ckk7dalz3virvvpyrf4nw8xvb23cs6ibdjjbzsphpiz";
buildDepends = [ syb ];
noHaddock = true;
meta = {
diff --git a/pkgs/development/libraries/haskell/stringsearch/default.nix b/pkgs/development/libraries/haskell/stringsearch/default.nix
index fb31ab76a2c..f8032f8cde4 100644
--- a/pkgs/development/libraries/haskell/stringsearch/default.nix
+++ b/pkgs/development/libraries/haskell/stringsearch/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "stringsearch";
- version = "0.3.6.3";
- sha256 = "1f0sl1zjya8glvlscf3g5i0in0ai1knls7kg9dp82grg2k287sgz";
+ version = "0.3.6.4";
+ sha256 = "16g0x0n8x3bg3mij7w3r5m3h2i2dn3bd298n14iccdwhfnlzm91b";
meta = {
homepage = "https://bitbucket.org/dafis/stringsearch";
description = "Fast searching, splitting and replacing of ByteStrings";
diff --git a/pkgs/development/libraries/haskell/stylish-haskell/default.nix b/pkgs/development/libraries/haskell/stylish-haskell/default.nix
index f2ebed7cc6a..59c10c40133 100644
--- a/pkgs/development/libraries/haskell/stylish-haskell/default.nix
+++ b/pkgs/development/libraries/haskell/stylish-haskell/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "stylish-haskell";
- version = "0.5.1.0";
- sha256 = "0vriwgx7z8azqmci9lq7xlvn0v12p5nj9s6i4jvxsjam538qll94";
+ version = "0.5.2.0";
+ sha256 = "1g02ih4hgn2chv56vy8dcql7x421w15m4fsgqnff236znxarn0v7";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/symbol/default.nix b/pkgs/development/libraries/haskell/symbol/default.nix
index b8dd2aa69a2..d82a1968878 100644
--- a/pkgs/development/libraries/haskell/symbol/default.nix
+++ b/pkgs/development/libraries/haskell/symbol/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "symbol";
- version = "0.1.3";
- sha256 = "1kz4kzbv6bara31pv4vc75r6wvjln6md8gjlsxx8hf50ab8vb68j";
+ version = "0.1.4";
+ sha256 = "00318syprv1ixfbr4v7xq86z10f0psxk0b8kaxvawvacm8hp61bn";
buildDepends = [ deepseq syb ];
meta = {
homepage = "http://www.eecs.harvard.edu/~mainland/";
diff --git a/pkgs/development/libraries/haskell/temporary/default.nix b/pkgs/development/libraries/haskell/temporary/default.nix
index 99ce29b1991..df93cae198a 100644
--- a/pkgs/development/libraries/haskell/temporary/default.nix
+++ b/pkgs/development/libraries/haskell/temporary/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "temporary";
- version = "1.1.2.3";
- sha256 = "1x4jljggbcdq90h578yyvc8z1i9zmlhvqfz2dym8kj8pq4qiwixd";
+ version = "1.1.2.4";
+ sha256 = "1j8kc22rz2wqg90n5wcxb06ylqv3lnz764077kvwhrw7mhmbp7jz";
buildDepends = [ filepath ];
meta = {
homepage = "http://www.github.com/batterseapower/temporary";
diff --git a/pkgs/development/libraries/haskell/tls-extra/default.nix b/pkgs/development/libraries/haskell/tls-extra/default.nix
index 349c4e05754..362dab2125f 100644
--- a/pkgs/development/libraries/haskell/tls-extra/default.nix
+++ b/pkgs/development/libraries/haskell/tls-extra/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "tls-extra";
- version = "0.4.6";
- sha256 = "1xl55i4nr7kyc3qxi8zmq18m0xhlwlrx9fwkck22krshqgq2i6nn";
+ version = "0.4.7";
+ sha256 = "1ykmwkzq2vwjvcvg8c9b020baqxp3w7w0x7ka7jrk88aqmil9hiq";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/uu-parsinglib/default.nix b/pkgs/development/libraries/haskell/uu-parsinglib/default.nix
index 1bb3cb76dac..02356789bc3 100644
--- a/pkgs/development/libraries/haskell/uu-parsinglib/default.nix
+++ b/pkgs/development/libraries/haskell/uu-parsinglib/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "uu-parsinglib";
- version = "2.7.3.4";
- sha256 = "1f582cr17qxwrhxx6pdv503ldm4ccbnbv9pcksibgparfyc25bnv";
+ version = "2.7.4";
+ sha256 = "1cznyn09a3glfkvvzqma3bhjinddkp6v2xwiy5x403v0wy8y565j";
buildDepends = [ ListLike time ];
meta = {
homepage = "http://www.cs.uu.nl/wiki/bin/view/HUT/ParserCombinators";
diff --git a/pkgs/development/libraries/haskell/vector-algorithms/default.nix b/pkgs/development/libraries/haskell/vector-algorithms/default.nix
index 2704942b360..dc8c9dd35ba 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.4.1";
- sha256 = "00dikjmy1pyyn3mmq7sjnmd91xcg7q3n3yiil3dqi1fgr0787xng";
+ version = "0.5.4.2";
+ sha256 = "08pb6mkghf9h5011vxrfdrfq6g26jk4gxmjh9s3hpdiwybf3ab64";
buildDepends = [ primitive vector ];
meta = {
homepage = "http://code.haskell.org/~dolio/";
diff --git a/pkgs/development/libraries/haskell/vector/0.10.0.1.nix b/pkgs/development/libraries/haskell/vector/0.10.0.1.nix
new file mode 100644
index 00000000000..7acc89d6a91
--- /dev/null
+++ b/pkgs/development/libraries/haskell/vector/0.10.0.1.nix
@@ -0,0 +1,15 @@
+{ cabal, deepseq, primitive }:
+
+cabal.mkDerivation (self: {
+ pname = "vector";
+ version = "0.10.0.1";
+ sha256 = "1bq8am8qnpnsla315i21f1kikikalyz9ps1izxgpr9q1ic2lbsgc";
+ buildDepends = [ deepseq primitive ];
+ meta = {
+ homepage = "http://code.haskell.org/vector";
+ description = "Efficient Arrays";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.andres ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/vector/0.10.nix b/pkgs/development/libraries/haskell/vector/0.10.nix
new file mode 100644
index 00000000000..8fac71eed4b
--- /dev/null
+++ b/pkgs/development/libraries/haskell/vector/0.10.nix
@@ -0,0 +1,15 @@
+{ cabal, deepseq, primitive }:
+
+cabal.mkDerivation (self: {
+ pname = "vector";
+ version = "0.10";
+ sha256 = "0lwhsdg7wv6gwjswakf2d1h9w7lp4pznab0mz6xg5q48pgknrcig";
+ buildDepends = [ deepseq primitive ];
+ meta = {
+ homepage = "http://code.haskell.org/vector";
+ description = "Efficient Arrays";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.andres ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/vector/default.nix b/pkgs/development/libraries/haskell/vector/0.9.1.nix
similarity index 100%
rename from pkgs/development/libraries/haskell/vector/default.nix
rename to pkgs/development/libraries/haskell/vector/0.9.1.nix
diff --git a/pkgs/development/libraries/haskell/wai-extra/default.nix b/pkgs/development/libraries/haskell/wai-extra/default.nix
index 7c460681fcb..bc70d14ddf9 100644
--- a/pkgs/development/libraries/haskell/wai-extra/default.nix
+++ b/pkgs/development/libraries/haskell/wai-extra/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "wai-extra";
- version = "1.3.0.2";
- sha256 = "0w69wjfbzgg523n0rcs700qx0gsdhvlr0qjvqg1hppvi188llpwl";
+ version = "1.3.0.3";
+ sha256 = "0nfk24mwzf2v35vlvvhzb7a6ldr6pvw37m3ws3b3cv2m80jdd7kr";
buildDepends = [
ansiTerminal blazeBuilder blazeBuilderConduit caseInsensitive
conduit dataDefault dateCache fastLogger httpTypes network
diff --git a/pkgs/development/libraries/haskell/warp/default.nix b/pkgs/development/libraries/haskell/warp/default.nix
index bb168f7d990..2d9fa98d5ce 100644
--- a/pkgs/development/libraries/haskell/warp/default.nix
+++ b/pkgs/development/libraries/haskell/warp/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "warp";
- version = "1.3.2";
- sha256 = "14yib72x3z6fylpkzpr77cvvnr4bn1vdadh2pq6rknszspl6g7iq";
+ version = "1.3.4.1";
+ sha256 = "09slbxbk88sjdgs3mibsvp17c85mn2r2sp67fchkmqkhf40lhcxw";
buildDepends = [
blazeBuilder blazeBuilderConduit caseInsensitive conduit hashable
httpTypes liftedBase network networkConduit simpleSendfile
diff --git a/pkgs/development/libraries/haskell/yaml/default.nix b/pkgs/development/libraries/haskell/yaml/default.nix
index 52460c8246b..20d0bf3bc89 100644
--- a/pkgs/development/libraries/haskell/yaml/default.nix
+++ b/pkgs/development/libraries/haskell/yaml/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "yaml";
- version = "0.8.0.2";
- sha256 = "14blcsylbf9wx4yw8fsk8ddjvg844x97xfc1h7r4ls9l9ar7k95j";
+ version = "0.8.1";
+ sha256 = "0cirffxydjh5650s1i0mq1v839pl2dljwmrjnmjf44fcqsvanvyg";
buildDepends = [
aeson attoparsec conduit resourcet text transformers
unorderedContainers vector
diff --git a/pkgs/development/libraries/haskell/yesod-auth/default.nix b/pkgs/development/libraries/haskell/yesod-auth/default.nix
index ac5c87d7613..765724e00d4 100644
--- a/pkgs/development/libraries/haskell/yesod-auth/default.nix
+++ b/pkgs/development/libraries/haskell/yesod-auth/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "yesod-auth";
- version = "1.1.1.1";
- sha256 = "1ryq3jxcgb55ijjmcv0j234n9nay2ianifb59gz9akyv0sc3zcl9";
+ version = "1.1.1.2";
+ sha256 = "1agyazzkgwmp63vwx84bzalf9lwg14k5jshj6n97g1iagsiaxqa0";
buildDepends = [
aeson authenticate blazeHtml blazeMarkup hamlet httpConduit
liftedBase mimeMail persistent persistentTemplate pureMD5
diff --git a/pkgs/development/libraries/haskell/yesod-core/default.nix b/pkgs/development/libraries/haskell/yesod-core/default.nix
index c0bef5018ba..0d7346ed589 100644
--- a/pkgs/development/libraries/haskell/yesod-core/default.nix
+++ b/pkgs/development/libraries/haskell/yesod-core/default.nix
@@ -9,8 +9,8 @@
cabal.mkDerivation (self: {
pname = "yesod-core";
- version = "1.1.2";
- sha256 = "1pgwqghj9kc9kh90515nswz5ssbmm2y6miw5j6sx4dha0xncqvgs";
+ version = "1.1.3.1";
+ sha256 = "16fb0f9si5r65mw7d8j6221qjw61xgi2v60j7dm9j02ljp68i2bq";
buildDepends = [
aeson blazeBuilder blazeHtml blazeMarkup caseInsensitive cereal
clientsession conduit cookie failure fastLogger hamlet httpTypes
diff --git a/pkgs/development/libraries/haskell/yesod-default/default.nix b/pkgs/development/libraries/haskell/yesod-default/default.nix
index c3dce8ca7d3..5a82c8b30af 100644
--- a/pkgs/development/libraries/haskell/yesod-default/default.nix
+++ b/pkgs/development/libraries/haskell/yesod-default/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "yesod-default";
- version = "1.1.0";
- sha256 = "124407a0in474l71jja04ds0xh84ac5i3jv62iswxlcp1y9f52bq";
+ version = "1.1.0.2";
+ sha256 = "0gjf819mrg3h50c8qlnh8i3xzq0z8mdz8bbqrpjx1haljcgxrzm3";
buildDepends = [
dataDefault hamlet networkConduit shakespeareCss shakespeareJs text
transformers unorderedContainers wai waiExtra warp yaml yesodCore
diff --git a/pkgs/development/libraries/haskell/yesod-routes/default.nix b/pkgs/development/libraries/haskell/yesod-routes/default.nix
index 9a801d62df8..12076d94f26 100644
--- a/pkgs/development/libraries/haskell/yesod-routes/default.nix
+++ b/pkgs/development/libraries/haskell/yesod-routes/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "yesod-routes";
- version = "1.1.0";
- sha256 = "0r0a3s1dngqp2vcq0cdsbqf1lsyhygj2x4a93csr2iyn244zgxnx";
+ version = "1.1.0.2";
+ sha256 = "07nrxqkpc5z32c8lk5wz9m6ql703hdhyd86pfk704frvbic02xly";
buildDepends = [ pathPieces text vector ];
meta = {
homepage = "http://www.yesodweb.com/";
diff --git a/pkgs/development/libraries/haskell/yesod/default.nix b/pkgs/development/libraries/haskell/yesod/default.nix
index 10d8013f1b3..6115601f530 100644
--- a/pkgs/development/libraries/haskell/yesod/default.nix
+++ b/pkgs/development/libraries/haskell/yesod/default.nix
@@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "yesod";
- version = "1.1.1";
- sha256 = "0666g2ap6ignqif9vwis2bnsb45jb19llw9z20nsfs0q3wj8ykn3";
+ version = "1.1.2";
+ sha256 = "02d40crvsnhasa6jhl0k7hzxnwr9lxmbm7caf2mrvpr4sldzy1ss";
isLibrary = true;
isExecutable = true;
buildDepends = [
@@ -19,7 +19,6 @@ cabal.mkDerivation (self: {
transformers unixCompat unorderedContainers wai waiExtra warp yaml
yesodAuth yesodCore yesodForm yesodJson yesodPersistent zlib
];
- jailbreak = true;
meta = {
homepage = "http://www.yesodweb.com/";
description = "Creation of type-safe, RESTful web applications";
diff --git a/pkgs/development/libraries/haskell/zip-archive/default.nix b/pkgs/development/libraries/haskell/zip-archive/default.nix
index 050d48280d2..5ee2377147e 100644
--- a/pkgs/development/libraries/haskell/zip-archive/default.nix
+++ b/pkgs/development/libraries/haskell/zip-archive/default.nix
@@ -1,12 +1,12 @@
-{ cabal, binary, digest, filepath, mtl, utf8String, zlib }:
+{ cabal, binary, digest, filepath, mtl, time, utf8String, zlib }:
cabal.mkDerivation (self: {
pname = "zip-archive";
- version = "0.1.1.8";
- sha256 = "0rq4jk1sxi6lrc7d7sh500lh83v2fxxrfh2gknqiyzxd3wh364y1";
+ version = "0.1.2.1";
+ sha256 = "1c0pjbrkfv44nbpz60b1c4xdbkdk8qaxlkfxl51rb2183gj1gkph";
isLibrary = true;
isExecutable = true;
- buildDepends = [ binary digest filepath mtl utf8String zlib ];
+ buildDepends = [ binary digest filepath mtl time utf8String zlib ];
meta = {
homepage = "http://github.com/jgm/zip-archive";
description = "Library for creating and modifying zip archives";
diff --git a/pkgs/development/libraries/json-glib/default.nix b/pkgs/development/libraries/json-glib/default.nix
index ace271b7a35..ad3af7778ff 100644
--- a/pkgs/development/libraries/json-glib/default.nix
+++ b/pkgs/development/libraries/json-glib/default.nix
@@ -5,8 +5,8 @@ stdenv.mkDerivation rec {
src = fetchurl_gnome {
project = "json-glib";
- major = "0"; minor = "14"; patchlevel = "0"; extension = "xz";
- sha256 = "0mpw996cyidspjwns281l5haj9i8azpkfpl4jf98lh3kcqcr07l2";
+ major = "0"; minor = "14"; patchlevel = "2"; extension = "xz";
+ sha256 = "19wlpsbdnm3mq2a6yjpzj0cwrmlkarp2m5x6g63b0r2n7vxaa5mq";
};
propagatedBuildInputs = [ glib ];
diff --git a/pkgs/development/libraries/libc++/default.nix b/pkgs/development/libraries/libc++/default.nix
new file mode 100644
index 00000000000..bed95311915
--- /dev/null
+++ b/pkgs/development/libraries/libc++/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchsvn, cmake }:
+
+let rev = "165151"; in
+
+stdenv.mkDerivation {
+ name = "libc++-pre${rev}";
+
+ src = fetchsvn {
+ url = "http://llvm.org/svn/llvm-project/libcxx/trunk";
+ inherit rev;
+ sha256 = "00l8xx5nc3cjlmln7c1sy1i4v844has9kbfxrsziwkalzbgwaslz";
+ };
+
+ buildInputs = [ cmake ];
+
+ cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
+
+ enableParallelBuilding = true;
+
+ meta = {
+ homepage = http://libcxx.llvm.org/;
+ description = "A new implementation of the C++ standard library, targeting C++11";
+ license = "BSD";
+ maintainers = stdenv.lib.maintainers.shlevy;
+ platforms = stdenv.lib.platforms.all;
+ };
+}
+
diff --git a/pkgs/development/libraries/libdrm/default.nix b/pkgs/development/libraries/libdrm/default.nix
index a6b39e170bd..3a1e101aa43 100644
--- a/pkgs/development/libraries/libdrm/default.nix
+++ b/pkgs/development/libraries/libdrm/default.nix
@@ -1,20 +1,20 @@
-{stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, cairo, udev}:
+{ stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, udev }:
stdenv.mkDerivation rec {
- name = "libdrm-2.4.29";
+ name = "libdrm-2.4.33";
src = fetchurl {
url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
- sha256 = "0bj5ihmnzpbbgdrvp5f8bgsk0k19haixr893449pjd4k7v4jshz2";
+ sha256 = "1slgi61n4dlsfli47ql354fd1ppj7n40jd94wvnsdqx0mna9syrd";
};
buildNativeInputs = [ pkgconfig ];
- buildInputs = [ libpthreadstubs libpciaccess cairo udev ];
+ buildInputs = [ libpthreadstubs libpciaccess udev ];
patches = stdenv.lib.optional stdenv.isDarwin ./libdrm-apple.patch;
preConfigure = stdenv.lib.optionalString stdenv.isDarwin
- "echo : \\\${ac_cv_func_clock_gettime=\'yes\'} > config.cache";
+ "echo : \\\${ac_cv_func_clock_gettime=\'yes\'} > config.cache";
configureFlags = [ "--enable-nouveau-experimental-api"
"--enable-radeon-experimental-api"
diff --git a/pkgs/development/libraries/libgsf/default.nix b/pkgs/development/libraries/libgsf/default.nix
index 3941fd4d694..0acd4a77b46 100644
--- a/pkgs/development/libraries/libgsf/default.nix
+++ b/pkgs/development/libraries/libgsf/default.nix
@@ -7,11 +7,11 @@ assert gnomeSupport -> gdk_pixbuf != null && gnome_vfs != null && libbonobo != n
&& glib != null;
stdenv.mkDerivation rec {
- name = "libgsf-1.14.22";
+ name = "libgsf-1.14.23";
src = fetchurl {
- url = mirror://gnome/sources/libgsf/1.14/libgsf-1.14.22.tar.xz;
- sha256 = "0gvq1gbbcl078s3kgdc508jp7p3a3ps34fj4pf8vsamprbikpwm5";
+ url = "mirror://gnome/sources/libgsf/1.14/${name}.tar.xz";
+ sha256 = "05zvaazf0d584nfirwsz7889lbsl4v781hslv3kda6akiwbwdhdz";
};
buildNativeInputs = [ intltool pkgconfig ];
@@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
doCheck = true;
+ patches = [ ./syscall-name-clash.patch ];
+
meta = {
homepage = http://www.gnome.org/projects/libgsf;
license = "LGPLv2";
diff --git a/pkgs/development/libraries/libgsf/syscall-name-clash.patch b/pkgs/development/libraries/libgsf/syscall-name-clash.patch
new file mode 100644
index 00000000000..01543ade4fd
--- /dev/null
+++ b/pkgs/development/libraries/libgsf/syscall-name-clash.patch
@@ -0,0 +1,120 @@
+diff -Naur libgsf-1.14.23-orig/tests/test-cp-msole.c libgsf-1.14.23/tests/test-cp-msole.c
+--- libgsf-1.14.23-orig/tests/test-cp-msole.c 2009-05-18 21:55:48.000000000 -0400
++++ libgsf-1.14.23/tests/test-cp-msole.c 2012-07-15 03:52:03.858382670 -0400
+@@ -34,7 +34,7 @@
+ static void clone_dir (GsfInfile *in, GsfOutfile *out);
+
+ static void
+-clone (GsfInput *input, GsfOutput *output)
++clone_is_a_stupid_name_for_a_function_compiled_on_linux (GsfInput *input, GsfOutput *output)
+ {
+ if (gsf_input_size (input) > 0) {
+ guint8 const *data;
+@@ -87,7 +87,7 @@
+ gsf_infile_name_by_index (in, i),
+ is_dir);
+
+- clone (new_input, new_output);
++ clone_is_a_stupid_name_for_a_function_compiled_on_linux (new_input, new_output);
+ }
+ /* An observation: when you think about the explanation to is_dir
+ * above, you realize that clone_dir is called even for regular files.
+@@ -137,7 +137,7 @@
+
+ outfile = gsf_outfile_msole_new (output);
+ g_object_unref (G_OBJECT (output));
+- clone (GSF_INPUT (infile), GSF_OUTPUT (outfile));
++ clone_is_a_stupid_name_for_a_function_compiled_on_linux (GSF_INPUT (infile), GSF_OUTPUT (outfile));
+
+ return 0;
+ }
+diff -Naur libgsf-1.14.23-orig/tests/test-cp-zip.c libgsf-1.14.23/tests/test-cp-zip.c
+--- libgsf-1.14.23-orig/tests/test-cp-zip.c 2009-05-18 21:55:48.000000000 -0400
++++ libgsf-1.14.23/tests/test-cp-zip.c 2012-07-15 03:54:53.719198559 -0400
+@@ -32,7 +32,7 @@
+ #include
+
+ static void
+-clone (GsfInfile *in, GsfOutfile *out)
++clone_is_a_stupid_name_for_a_function_compiled_on_linux (GsfInfile *in, GsfOutfile *out)
+ {
+ GsfInput *input = GSF_INPUT (in);
+ GsfOutput *output = GSF_OUTPUT (out);
+@@ -85,7 +85,7 @@
+ output = gsf_outfile_new_child_full (out, name, is_dir,
+ "compression-level", level,
+ NULL);
+- clone (GSF_INFILE (input), GSF_OUTFILE (output));
++ clone_is_a_stupid_name_for_a_function_compiled_on_linux (GSF_INFILE (input), GSF_OUTFILE (output));
+ }
+ }
+ gsf_output_close (GSF_OUTPUT (out));
+@@ -137,7 +137,7 @@
+
+ outfile = gsf_outfile_zip_new (output, &err);
+ g_object_unref (G_OBJECT (output));
+- clone (infile, outfile);
++ clone_is_a_stupid_name_for_a_function_compiled_on_linux (infile, outfile);
+
+ return 0;
+ }
+diff -Naur libgsf-1.14.23-orig/tests/test-dump-msole.c libgsf-1.14.23/tests/test-dump-msole.c
+--- libgsf-1.14.23-orig/tests/test-dump-msole.c 2011-12-07 18:05:18.000000000 -0500
++++ libgsf-1.14.23/tests/test-dump-msole.c 2012-07-15 03:56:15.581110536 -0400
+@@ -32,7 +32,7 @@
+ #include
+
+ static void
+-clone (GsfInput *input, GsfOutput *output)
++clone_is_a_stupid_name_for_a_function_compiled_on_linux (GsfInput *input, GsfOutput *output)
+ {
+ guint8 const *data;
+ size_t len;
+@@ -72,7 +72,7 @@
+ dst = gsf_outfile_new_child (out,
+ gsf_infile_name_by_index (in, i),
+ is_dir);
+- clone (src, dst);
++ clone_is_a_stupid_name_for_a_function_compiled_on_linux (src, dst);
+ }
+ }
+
+@@ -118,7 +118,7 @@
+ g_error_free (err);
+ return 1;
+ }
+- clone (GSF_INPUT (infile), GSF_OUTPUT (outfile));
++ clone_is_a_stupid_name_for_a_function_compiled_on_linux (GSF_INPUT (infile), GSF_OUTPUT (outfile));
+
+ return 0;
+ }
+diff -Naur libgsf-1.14.23-orig/tests/test-restore-msole.c libgsf-1.14.23/tests/test-restore-msole.c
+--- libgsf-1.14.23-orig/tests/test-restore-msole.c 2011-12-07 18:05:18.000000000 -0500
++++ libgsf-1.14.23/tests/test-restore-msole.c 2012-07-15 03:57:39.972017963 -0400
+@@ -32,7 +32,7 @@
+ #include
+
+ static void
+-clone (GsfInput *input, GsfOutput *output)
++clone_is_a_stupid_name_for_a_function_compiled_on_linux (GsfInput *input, GsfOutput *output)
+ {
+ guint8 const *data;
+ size_t len;
+@@ -72,7 +72,7 @@
+ dst = gsf_outfile_new_child (out,
+ gsf_infile_name_by_index (in, i),
+ is_dir);
+- clone (src, dst);
++ clone_is_a_stupid_name_for_a_function_compiled_on_linux (src, dst);
+ }
+ }
+
+@@ -111,7 +111,7 @@
+
+ outfile = gsf_outfile_msole_new (output);
+ g_object_unref (G_OBJECT (output));
+- clone (GSF_INPUT (infile), GSF_OUTPUT (outfile));
++ clone_is_a_stupid_name_for_a_function_compiled_on_linux (GSF_INPUT (infile), GSF_OUTPUT (outfile));
+
+ return 0;
+ }
diff --git a/pkgs/development/libraries/libicns/default.nix b/pkgs/development/libraries/libicns/default.nix
index 0e582c903c5..970a7a87497 100644
--- a/pkgs/development/libraries/libicns/default.nix
+++ b/pkgs/development/libraries/libicns/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libpng, jasper }:
-stdenv.mkDerivation {
- name = "libicns-0.8.0";
+stdenv.mkDerivation rec {
+ name = "libicns-0.8.1";
src = fetchurl {
- url = mirror://sourceforge/icns/libicns-0.8.0.tar.gz;
- sha256 = "0jh67nm07jr1nfkfjid3jjw7fyw5hvj6a2fqan1bhg6gyr2hswla";
+ url = "mirror://sourceforge/icns/${name}.tar.gz";
+ sha256 = "1hjm8lwap7bjyyxsyi94fh5817xzqhk4kb5y0b7mb6675xw10prk";
};
buildInputs = [ libpng jasper ];
diff --git a/pkgs/development/libraries/libmnl/default.nix b/pkgs/development/libraries/libmnl/default.nix
new file mode 100644
index 00000000000..fb6eacc366b
--- /dev/null
+++ b/pkgs/development/libraries/libmnl/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ name = "libmnl-1.0.3";
+
+ src = fetchurl {
+ url = "http://netfilter.org/projects/libmnl/files/${name}.tar.bz2";
+ sha1 = "c27e25f67c6422ebf893fc3a844af8085a1c5b63";
+ };
+
+ meta = {
+ description = "minimalistic user-space library oriented to Netlink developers";
+ longDescription = ''
+ libmnl is a minimalistic user-space library oriented to Netlink developers.
+ There are a lot of common tasks in parsing, validating, constructing of both the Netlink
+ header and TLVs that are repetitive and easy to get wrong.
+ This library aims to provide simple helpers that allows you to re-use code and to avoid
+ re-inventing the wheel.
+ '';
+ homepage = http://netfilter.org/projects/libmnl/index.html;
+ license = "GPLv2+";
+
+ platforms = stdenv.lib.platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/libnetfilter_conntrack/default.nix b/pkgs/development/libraries/libnetfilter_conntrack/default.nix
new file mode 100644
index 00000000000..99624911077
--- /dev/null
+++ b/pkgs/development/libraries/libnetfilter_conntrack/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchurl, pkgconfig, libnfnetlink, libmnl }:
+
+stdenv.mkDerivation rec {
+ name = "libnetfilter_conntrack-1.0.2";
+
+ src = fetchurl {
+ url = "http://netfilter.org/projects/libnetfilter_conntrack/files/${name}.tar.bz2";
+ md5 = "447114b5d61bb9a9617ead3217c3d3ff";
+ };
+
+ buildInputs = [ pkgconfig libnfnetlink libmnl ];
+
+ meta = {
+ description = "userspace library providing an API to the in-kernel connection tracking state table.";
+ longDescription = ''
+ libnetfilter_conntrack is a userspace library providing a programming interface (API) to the
+ in-kernel connection tracking state table. The library libnetfilter_conntrack has been
+ previously known as libnfnetlink_conntrack and libctnetlink. This library is currently used
+ by conntrack-tools among many other applications
+ '';
+ homepage = http://netfilter.org/projects/libnetfilter_conntrack/;
+ license = "GPLv2+";
+
+ platforms = stdenv.lib.platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/libnfnetlink/default.nix b/pkgs/development/libraries/libnfnetlink/default.nix
new file mode 100644
index 00000000000..07a182dff10
--- /dev/null
+++ b/pkgs/development/libraries/libnfnetlink/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ name = "libnfnetlink-1.0.1";
+
+ src = fetchurl {
+ url = "http://www.netfilter.org/projects/libnfnetlink/files/${name}.tar.bz2";
+ md5 = "98927583d2016a9fb1936fed992e2c5e";
+ };
+
+ meta = {
+ description = "low-level library for netfilter related kernel/userspace communication.";
+ longDescription = ''
+ libnfnetlink is the low-level library for netfilter related kernel/userspace communication.
+ It provides a generic messaging infrastructure for in-kernel netfilter subsystems
+ (such as nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) and their respective users
+ and/or management tools in userspace.
+
+ This library is not meant as a public API for application developers.
+ It is only used by other netfilter.org projects, like the aforementioned ones.
+ '';
+ homepage = http://www.netfilter.org/projects/libnfnetlink/index.html;
+ license = "GPLv2";
+
+ platforms = stdenv.lib.platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/libpng/12.nix b/pkgs/development/libraries/libpng/12.nix
index 5d6e439484d..ebdb9e756aa 100644
--- a/pkgs/development/libraries/libpng/12.nix
+++ b/pkgs/development/libraries/libpng/12.nix
@@ -3,11 +3,11 @@
assert zlib != null;
stdenv.mkDerivation rec {
- name = "libpng-1.2.47";
+ name = "libpng-1.2.50";
src = fetchurl {
url = "mirror://sourceforge/libpng/${name}.tar.xz";
- sha256 = "1lai3dnzw81y40jr17bdj1qh08hwv9mc1v74yybl7jdx2hiilsvx";
+ sha256 = "1rz8v3cvy1zzpagxn91lj8swb9vf75rz3yyi18v7zb4jihgzh927";
};
propagatedBuildInputs = [ zlib ];
diff --git a/pkgs/development/libraries/libpng/default.nix b/pkgs/development/libraries/libpng/default.nix
index a06e8e12543..ce23cf48587 100644
--- a/pkgs/development/libraries/libpng/default.nix
+++ b/pkgs/development/libraries/libpng/default.nix
@@ -3,11 +3,11 @@
assert zlib != null;
stdenv.mkDerivation rec {
- name = "libpng-1.5.10";
+ name = "libpng-1.5.13";
src = fetchurl {
url = "mirror://sourceforge/libpng/${name}.tar.xz";
- sha256 = "0pb096zn6iyza28js4j7krvcw23b979igfi315aqmvx622bw6jfx";
+ sha256 = "1vks4mqv4140b10kp53qrywsx9m4xan5ibwsrlmf42ni075zjhxq";
};
propagatedBuildInputs = [ zlib ];
diff --git a/pkgs/development/libraries/libraw1394/default.nix b/pkgs/development/libraries/libraw1394/default.nix
index 2ca4d1bd090..81cac5be709 100644
--- a/pkgs/development/libraries/libraw1394/default.nix
+++ b/pkgs/development/libraries/libraw1394/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "libraw1394-2.0.8";
+ name = "libraw1394-2.1.0";
src = fetchurl {
url = "mirror://kernel/linux/libs/ieee1394/${name}.tar.gz";
- sha256 = "0cwd8xn7wsm7nddbz7xgynxcjb1m4v2vjw1ky4dd6r5cv454hslk";
+ sha256 = "0w5sw06p51wfq2ahgql93ljkkp3hqprifzcxq8dq71c8zcbgyg58";
};
meta = {
diff --git a/pkgs/development/libraries/libsoup/default.nix b/pkgs/development/libraries/libsoup/default.nix
index 861f41cb7a4..87aaafabcc4 100644
--- a/pkgs/development/libraries/libsoup/default.nix
+++ b/pkgs/development/libraries/libsoup/default.nix
@@ -2,11 +2,11 @@
, gnomeSupport ? true, libgnome_keyring, sqlite, glib_networking }:
stdenv.mkDerivation {
- name = "libsoup-2.36.1";
+ name = "libsoup-2.38.1";
src = fetchurl {
- url = mirror://gnome/sources/libsoup/2.36/libsoup-2.36.1.tar.xz;
- sha256 = "0r8zkr0a328jkww4dv9z1q691rw59nh4lf5f5pzzr9szzw3j8wkk";
+ url = mirror://gnome/sources/libsoup/2.38/libsoup-2.38.1.tar.xz;
+ sha256 = "16iza4y8pmc4sn90iid88fgminvgcqypy3s2qnmzkzm5qwzr5f3i";
};
diff --git a/pkgs/development/libraries/libtiff/default.nix b/pkgs/development/libraries/libtiff/default.nix
index d170c2fd231..ba5966d13d4 100644
--- a/pkgs/development/libraries/libtiff/default.nix
+++ b/pkgs/development/libraries/libtiff/default.nix
@@ -1,18 +1,22 @@
{ stdenv, fetchurl, zlib, libjpeg }:
-stdenv.mkDerivation {
- name = "libtiff-3.9.4";
-
+let version = "3.9.7"; in
+
+stdenv.mkDerivation rec {
+ name = "libtiff-${version}";
+
src = fetchurl {
urls =
- [ ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.9.4.tar.gz
- http://download.osgeo.org/libtiff/tiff-3.9.4.tar.gz
+ [ "ftp://ftp.remotesensing.org/pub/libtiff/tiff-${version}.tar.gz"
+ "http://download.osgeo.org/libtiff/tiff-${version}.tar.gz"
];
- sha256 = "19hxd773yxcs4lxlc3zfdkz5aiv705vj2jvy5srpqkxpbw3nvdv7";
+ sha256 = "0spg1hr5rsrmg88sfzb05qnf0haspq7r5hvdkxg5zib1rva4vmpm";
};
-
+
propagatedBuildInputs = [ zlib libjpeg ];
+ enableParallelBuilding = true;
+
meta = {
description = "Library and utilities for working with the TIFF image file format";
homepage = http://www.libtiff.org/;
diff --git a/pkgs/development/libraries/libusb1/default.nix b/pkgs/development/libraries/libusb1/default.nix
index dcdd9f46d76..8a1580d4fbe 100644
--- a/pkgs/development/libraries/libusb1/default.nix
+++ b/pkgs/development/libraries/libusb1/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "libusb-1.0.8";
+ name = "libusb-1.0.9";
src = fetchurl {
url = "mirror://sourceforge/libusb/${name}.tar.bz2";
- sha256 = "1afvpaqnl5plqg95nkvsl4sj9d6ckrmjq44mql8l4zqgf6jx7l11";
+ sha256 = "16sz34ix6hw2wwl3kqx6rf26fg210iryr68wc439dc065pffw879";
};
meta = {
diff --git a/pkgs/development/libraries/libxml2/default.nix b/pkgs/development/libraries/libxml2/default.nix
index defba390cf1..8fc32babd3b 100644
--- a/pkgs/development/libraries/libxml2/default.nix
+++ b/pkgs/development/libraries/libxml2/default.nix
@@ -1,28 +1,34 @@
-{stdenv, fetchurl, zlib, python ? null, pythonSupport ? true }:
+{ stdenv, fetchurl, zlib, python ? null, pythonSupport ? true }:
assert pythonSupport -> python != null;
-stdenv.mkDerivation {
- name = "libxml2-2.7.8";
+stdenv.mkDerivation rec {
+ name = "libxml2-2.9.0";
src = fetchurl {
- url = ftp://xmlsoft.org/libxml2/libxml2-sources-2.7.8.tar.gz;
- sha256 = "6a33c3a2d18b902cd049e0faa25dd39f9b554a5b09a3bb56ee07dd7938b11c54";
+ url = "ftp://xmlsoft.org/libxml2/${name}.tar.gz";
+ sha256 = "10ib8bpar2pl68aqksfinvfmqknwnk7i35ibq6yjl8dpb0cxj9dd";
};
- configureFlags = ''
- ${if pythonSupport then "--with-python=${python}" else ""}
- '';
-
- propagatedBuildInputs = [zlib];
+ patches = [ ./pthread-once-init.patch ];
+
+ configureFlags = stdenv.lib.optionalString pythonSupport "--with-python=${python}";
+
+ buildInputs = stdenv.lib.optional pythonSupport [ python ];
+
+ propagatedBuildInputs = [ zlib ];
setupHook = ./setup-hook.sh;
- passthru = {inherit pythonSupport;};
+ passthru = { inherit pythonSupport; };
+
+ enableParallelBuilding = true;
meta = {
homepage = http://xmlsoft.org/;
description = "A XML parsing library for C";
license = "bsd";
+ platforms = stdenv.lib.platforms.linux;
+ maintainers = [ stdenv.lib.maintainers.eelco ];
};
}
diff --git a/pkgs/development/libraries/libxml2/pthread-once-init.patch b/pkgs/development/libraries/libxml2/pthread-once-init.patch
new file mode 100644
index 00000000000..fadfc27a911
--- /dev/null
+++ b/pkgs/development/libraries/libxml2/pthread-once-init.patch
@@ -0,0 +1,35 @@
+http://git.gnome.org/browse/libxml2/commit/?id=3f6cfbd1d38d0634a2ddcb9a0a13e1b5a2195a5e
+
+From 3f6cfbd1d38d0634a2ddcb9a0a13e1b5a2195a5e Mon Sep 17 00:00:00 2001
+From: Friedrich Haubensak
+Date: Wed, 12 Sep 2012 15:34:53 +0000
+Subject: Fix a thread portability problem
+
+cannot compile libxml2-2.9.0 using studio 12.1 compiler on solaris 10
+
+I.M.O. structure initializer (as PTHREAD_ONCE_INIT) cannot be used in
+a structure assignment anyway
+---
+diff --git a/threads.c b/threads.c
+index f206149..7e85a26 100644
+--- a/threads.c
++++ b/threads.c
+@@ -146,6 +146,7 @@ struct _xmlRMutex {
+ static pthread_key_t globalkey;
+ static pthread_t mainthread;
+ static pthread_once_t once_control = PTHREAD_ONCE_INIT;
++static pthread_once_t once_control_init = PTHREAD_ONCE_INIT;
+ static pthread_mutex_t global_init_lock = PTHREAD_MUTEX_INITIALIZER;
+ #elif defined HAVE_WIN32_THREADS
+ #if defined(HAVE_COMPILER_TLS)
+@@ -915,7 +916,7 @@ xmlCleanupThreads(void)
+ #ifdef HAVE_PTHREAD_H
+ if ((libxml_is_threaded) && (pthread_key_delete != NULL))
+ pthread_key_delete(globalkey);
+- once_control = PTHREAD_ONCE_INIT;
++ once_control = once_control_init;
+ #elif defined(HAVE_WIN32_THREADS) && !defined(HAVE_COMPILER_TLS) && (!defined(LIBXML_STATIC) || defined(LIBXML_STATIC_FOR_DLL))
+ if (globalkey != TLS_OUT_OF_INDEXES) {
+ xmlGlobalStateCleanupHelperParams *p;
+--
+cgit v0.9.0.2
diff --git a/pkgs/development/libraries/libxml2/setup-hook.sh b/pkgs/development/libraries/libxml2/setup-hook.sh
index d87c226506a..f8e4f5e0fd6 100644
--- a/pkgs/development/libraries/libxml2/setup-hook.sh
+++ b/pkgs/development/libraries/libxml2/setup-hook.sh
@@ -1,10 +1,10 @@
addXMLCatalogs () {
for kind in dtd xsl; do
- if test -d $1/xml/$kind; then
+ if test -d $1/xml/$kind; then
for i in $(find $1/xml/$kind -name catalog.xml); do
- export XML_CATALOG_FILES="$XML_CATALOG_FILES $i"
+ export XML_CATALOG_FILES="$XML_CATALOG_FILES $i"
done
- fi
+ fi
done
}
diff --git a/pkgs/development/libraries/libxslt/default.nix b/pkgs/development/libraries/libxslt/default.nix
index 05ce8019c4e..d3b7769754e 100644
--- a/pkgs/development/libraries/libxslt/default.nix
+++ b/pkgs/development/libraries/libxslt/default.nix
@@ -1,15 +1,15 @@
-{stdenv, fetchurl, libxml2 }:
+{ stdenv, fetchurl, libxml2 }:
stdenv.mkDerivation rec {
- name = "libxslt-1.1.26";
-
+ name = "libxslt-1.1.27";
+
src = fetchurl {
url = "ftp://xmlsoft.org/libxml2/${name}.tar.gz";
- sha256 = "1c9xdv39jvq1hp16gsbi56hbz032dmqyy0fpi4ls1y3152s55pam";
+ sha256 = "09ky3vhlaahvsb0q9gp6h3as53pfj70gincirachjqzj46jdka5n";
};
-
- buildInputs = [libxml2];
-
+
+ buildInputs = [ libxml2 ];
+
postInstall = ''
mkdir -p $out/nix-support
ln -s ${libxml2}/nix-support/setup-hook $out/nix-support/
@@ -19,5 +19,7 @@ stdenv.mkDerivation rec {
homepage = http://xmlsoft.org/XSLT/;
description = "A C library and tools to do XSL transformations";
license = "bsd";
+ platforms = stdenv.lib.platforms.linux;
+ maintainers = [ stdenv.lib.maintainers.eelco ];
};
}
diff --git a/pkgs/development/libraries/loudmouth/default.nix b/pkgs/development/libraries/loudmouth/default.nix
index ffa3ebdef92..ae9f3fc6c18 100644
--- a/pkgs/development/libraries/loudmouth/default.nix
+++ b/pkgs/development/libraries/loudmouth/default.nix
@@ -1,16 +1,22 @@
-{stdenv, fetchurl, openssl, libidn, glib, pkgconfig, zlib}:
+{ stdenv, fetchurl, openssl, libidn, glib, pkgconfig, zlib }:
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
name = "loudmouth-1.4.3";
-
+
src = fetchurl {
- url = mirror://gnome/sources/loudmouth/1.4/loudmouth-1.4.3.tar.bz2;
+ url = "mirror://gnome/sources/loudmouth/1.4/${name}.tar.bz2";
md5 = "55339ca42494690c3942ee1465a96937";
};
-
+
+ patches = [ ./glib-2.32.patch ];
+
configureFlags = "--with-ssl=openssl";
-
- propagatedBuildInputs = [openssl libidn glib zlib];
-
- buildInputs = [pkgconfig];
+
+ propagatedBuildInputs = [ openssl libidn glib zlib ];
+
+ buildInputs = [ pkgconfig ];
+
+ meta = {
+ description = "A lightweight C library for the Jabber protocol";
+ };
}
diff --git a/pkgs/development/libraries/loudmouth/glib-2.32.patch b/pkgs/development/libraries/loudmouth/glib-2.32.patch
new file mode 100644
index 00000000000..87fc170c80d
--- /dev/null
+++ b/pkgs/development/libraries/loudmouth/glib-2.32.patch
@@ -0,0 +1,13 @@
+Index: loudmouth-1.4.3/loudmouth/lm-error.c
+===================================================================
+--- loudmouth-1.4.3.orig/loudmouth/lm-error.c
++++ loudmouth-1.4.3/loudmouth/lm-error.c
+@@ -19,7 +19,7 @@
+ */
+
+ #include
+-#include
++#include
+ #include "lm-error.h"
+
+ /**
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index 219dc161761..f72638677d1 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -7,27 +7,24 @@ if ! stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms then
throw "unsupported platform for Mesa"
else
-let version = "7.11.2"; in
+let version = "8.0.4"; in
stdenv.mkDerivation {
name = "mesa-${version}";
src = fetchurl {
url = "ftp://ftp.freedesktop.org/pub/mesa/${version}/MesaLib-${version}.tar.bz2";
- sha256 = "0msk1fh4yw4yi7z37v75vhpa23z49lkwgin6drczbihbqsl6lx2p";
+ md5 = "d546f988adfdf986cff45b1efa2d8a46";
};
- patches = [ ./swrast-settexbuffer.patch ] ++ stdenv.lib.optional
- (stdenv.system == "mips64el-linux") ./mips_wmb.patch;
+ patches =
+ stdenv.lib.optional (stdenv.system == "mips64el-linux") ./mips_wmb.patch;
prePatch = "patchShebangs .";
-# r300
configureFlags =
- " --with-driver=dri --enable-gl-osmesa --enable-gles1"
+ " --enable-gles1 --enable-gles2 --enable-gallium-egl"
+ " --with-gallium-drivers=i915,nouveau,r600,svga,swrast"
- + " --enable-gles2 --enable-gallium-egl --disable-glx-tls"
- + " --enable-xcb --enable-egl --disable-glut"
# Texture floats are patented, see docs/patents.txt
+ stdenv.lib.optionalString enableTextureFloats " --enable-texture-float";
@@ -44,7 +41,6 @@ stdenv.mkDerivation {
description = "An open source implementation of OpenGL";
homepage = http://www.mesa3d.org/;
license = "bsd";
-
platforms = stdenv.lib.platforms.mesaPlatforms;
maintainers = [ stdenv.lib.maintainers.simons ];
};
diff --git a/pkgs/development/libraries/nettle/default.nix b/pkgs/development/libraries/nettle/default.nix
index 6c7383435a8..2a4d89bb4f0 100644
--- a/pkgs/development/libraries/nettle/default.nix
+++ b/pkgs/development/libraries/nettle/default.nix
@@ -1,12 +1,11 @@
{ fetchurl, stdenv, gmp, gnum4 }:
stdenv.mkDerivation (rec {
- name = "nettle-2.4";
+ name = "nettle-2.5";
src = fetchurl {
- # Eventually use `mirror://gnu/'.
- url = "ftp://ftp.lysator.liu.se/pub/security/lsh/${name}.tar.gz";
- sha256 = "0gwwcipmjxkv7p2p01m19n4c3jiczg682w58l5dgg0b8vw494056";
+ url = "mirror://gnu/nettle/${name}.tar.gz";
+ sha256 = "0wicr7amx01l03rm0pzgr1qvw3f9blaw17vjsy1301dh13ll58aa";
};
buildInputs = [ gnum4 ];
@@ -14,6 +13,8 @@ stdenv.mkDerivation (rec {
doCheck = (stdenv.system != "i686-cygwin");
+ enableParallelBuilding = true;
+
patches = stdenv.lib.optional (stdenv.system == "i686-cygwin")
./cygwin.patch;
diff --git a/pkgs/development/libraries/openjpeg/default.nix b/pkgs/development/libraries/openjpeg/default.nix
index 575d580faf6..6024456652c 100644
--- a/pkgs/development/libraries/openjpeg/default.nix
+++ b/pkgs/development/libraries/openjpeg/default.nix
@@ -1,11 +1,11 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ name = "openjpeg-1.5.1";
-stdenv.mkDerivation {
- name = "openjpeg-1.5.0";
-
src = fetchurl {
- url = http://openjpeg.googlecode.com/files/openjpeg-1.5.0.tar.gz;
- sha256 = "1kja6s9dk0hh7p9064kg69y6vninwyvpqi8cap92waj38jmqz469";
+ url = "http://openjpeg.googlecode.com/files/${name}.tar.gz";
+ sha256 = "13dbyf3jwr4h2dn1k11zph3jgx17z7d66xmi640mbsf8l6bk1yvc";
};
meta = {
diff --git a/pkgs/development/libraries/pango/1.29.x.nix b/pkgs/development/libraries/pango/1.30.x.nix
similarity index 83%
rename from pkgs/development/libraries/pango/1.29.x.nix
rename to pkgs/development/libraries/pango/1.30.x.nix
index 6c5d0f4cebc..7168c1b6c9d 100644
--- a/pkgs/development/libraries/pango/1.29.x.nix
+++ b/pkgs/development/libraries/pango/1.30.x.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng }:
stdenv.mkDerivation rec {
- name = "pango-1.29.4";
+ name = "pango-1.30.1";
src = fetchurl {
- url = mirror://gnome/sources/pango/1.29/pango-1.29.4.tar.xz;
- sha256 = "0zqjq6ccv6mbah74rcvb03ksq1jwan21z37mdmqa56307sax3s3s";
+ url = "mirror://gnome/sources/pango/1.30/${name}.tar.xz";
+ sha256 = "3a8c061e143c272ddcd5467b3567e970cfbb64d1d1600a8f8e62435556220cbe";
};
buildInputs = stdenv.lib.optional stdenv.isDarwin gettext;
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ x11 glib cairo libpng ];
+ enableParallelBuilding = true;
+
postInstall = "rm -rf $out/share/gtk-doc";
meta = {
diff --git a/pkgs/development/libraries/phat/default.nix b/pkgs/development/libraries/phat/default.nix
deleted file mode 100644
index 6e68e3d9da8..00000000000
--- a/pkgs/development/libraries/phat/default.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{ stdenv, fetchurl, gtk, libgnomecanvas, pkgconfig }:
-
-stdenv.mkDerivation rec {
- name = "phat-${version}";
- version = "0.4.1";
-
- src = fetchurl {
- url = "http://download.berlios.de/phat/${name}.tar.gz";
- sha256 = "1icncp2d8hbarzz8mmflkw13blg7blgwfic8q2wll7s6n01ii2av";
- };
-
- buildInputs = [ gtk libgnomecanvas pkgconfig ];
-
- meta = with stdenv.lib; {
- description = "GTK+ widgets geared toward pro-audio apps";
- homepage = http://phat.berlios.de;
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
- maintainers = [ maintainers.goibhniu ];
- };
-}
diff --git a/pkgs/development/libraries/qt-4.x/4.8/default.nix b/pkgs/development/libraries/qt-4.x/4.8/default.nix
index f56886259a6..cea59780627 100644
--- a/pkgs/development/libraries/qt-4.x/4.8/default.nix
+++ b/pkgs/development/libraries/qt-4.x/4.8/default.nix
@@ -7,13 +7,13 @@
, perl, coreutils, libXi
, buildMultimedia ? true, alsaLib, gstreamer, gst_plugins_base
, buildWebkit ? true
-, flashplayerFix ? true, gdk_pixbuf
+, flashplayerFix ? false, gdk_pixbuf
, gtkStyle ? false, libgnomeui, gtk, GConf, gnome_vfs
}:
-let
- v = "4.8.2";
-in
+with stdenv.lib;
+
+let v = "4.8.3"; in
# TODO:
# * move some plugins (e.g., SQL plugins) to dedicated derivations to avoid
@@ -24,27 +24,26 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-${v}.tar.gz";
- sha256 = "0y93vkkn44md37gyg4y8sc9ylk27xkniaimfcpdcwd090qnjl6wj";
+ sha256 = "0a67riy4i0xj6j7vmckd0nakras3rl3rzx0r83h1p1i4z5s2kxzi";
};
- patches = [ ( substituteAll {
+ patches =
+ [ ./glib-2.32.patch
+ (substituteAll {
src = ./dlopen-absolute-paths.diff;
inherit cups icu libXfixes;
glibc = stdenv.gcc.libc;
})
- ] ++ stdenv.lib.optional gtkStyle (
- substituteAll {
+ ] ++ stdenv.lib.optional gtkStyle (substituteAll {
src = ./dlopen-gtkstyle.diff;
# substituteAll ignores env vars starting with capital letter
- gconf = GConf;
+ gconf = GConf;
inherit gnome_vfs libgnomeui gtk;
- }
- ) ++ stdenv.lib.optional flashplayerFix (
- substituteAll {
+ })
+ ++ stdenv.lib.optional flashplayerFix (substituteAll {
src = ./dlopen-webkit-nsplugin.diff;
inherit gtk gdk_pixbuf;
- }
- );
+ });
preConfigure =
''
@@ -81,18 +80,16 @@ stdenv.mkDerivation rec {
[ libXrender libXrandr libXinerama libXcursor libXext libXfixes
libXv libXi libSM
]
- ++ (stdenv.lib.optional (stdenv.lib.lists.elem stdenv.system
- stdenv.lib.platforms.mesaPlatforms)
- mesa)
- ++ (stdenv.lib.optional (buildWebkit || buildMultimedia) alsaLib)
+ ++ optional (stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms) mesa
+ ++ optional (buildWebkit || buildMultimedia) alsaLib
++ [ zlib libpng openssl dbus.libs freetype fontconfig glib ]
- ++ (stdenv.lib.optionals (buildWebkit || buildMultimedia)
- [ gstreamer gst_plugins_base ]);
+ ++ optionals (buildWebkit || buildMultimedia) [ gstreamer gst_plugins_base ];
# The following libraries are only used in plugins
- buildInputs = [ cups # Qt dlopen's libcups instead of linking to it
- mysql postgresql sqlite libjpeg libmng libtiff icu ]
- ++ stdenv.lib.optionals gtkStyle [ gtk gdk_pixbuf ];
+ buildInputs =
+ [ cups # Qt dlopen's libcups instead of linking to it
+ mysql postgresql sqlite libjpeg libmng libtiff icu ]
+ ++ optionals gtkStyle [ gtk gdk_pixbuf ];
buildNativeInputs = [ perl pkgconfig which ];
@@ -119,7 +116,7 @@ stdenv.mkDerivation rec {
-no-svg
-make qmake -make libs -nomake tools
-nomake demos -nomake examples -nomake docs
- '' + stdenv.lib.optionalString isMingw " -xplatform win32-g++-4.6";
+ '' + optionalString isMingw " -xplatform win32-g++-4.6";
patches = [];
preConfigure = ''
sed -i -e 's/ g++/ ${stdenv.cross.config}-g++/' \
@@ -136,12 +133,11 @@ stdenv.mkDerivation rec {
'';
dontSetConfigureCross = true;
dontStrip = true;
- } // (if isMingw then
- {
+ } // optionalAttrs isMingw {
propagatedBuildInputs = [ ];
- } else {});
+ };
- meta = with stdenv.lib; {
+ meta = {
homepage = http://qt.nokia.com/products;
description = "A cross-platform application framework for C++";
license = "GPL/LGPL";
diff --git a/pkgs/development/libraries/qt-4.x/4.8/dlopen-absolute-paths.diff b/pkgs/development/libraries/qt-4.x/4.8/dlopen-absolute-paths.diff
index 9823d649365..fe691996277 100644
--- a/pkgs/development/libraries/qt-4.x/4.8/dlopen-absolute-paths.diff
+++ b/pkgs/development/libraries/qt-4.x/4.8/dlopen-absolute-paths.diff
@@ -1,5 +1,27 @@
---- a/src/gui/painting/qcups.cpp 2011-12-08 09:06:02.000000000 +0400
-+++ b/src/gui/painting/qcups.cpp 2011-12-18 12:17:07.000000000 +0400
+diff -ru qt-everywhere-opensource-src-4.8.3-orig/src/corelib/tools/qlocale_icu.cpp qt-everywhere-opensource-src-4.8.3/src/corelib/tools/qlocale_icu.cpp
+--- qt-everywhere-opensource-src-4.8.3-orig/src/corelib/tools/qlocale_icu.cpp 2012-09-10 21:36:50.000000000 -0400
++++ qt-everywhere-opensource-src-4.8.3/src/corelib/tools/qlocale_icu.cpp 2012-09-28 22:57:40.764153828 -0400
+@@ -81,7 +81,7 @@
+ if (status == NotLoaded) {
+
+ // resolve libicui18n
+- QLibrary lib(QLatin1String("icui18n"), QLatin1String(U_ICU_VERSION_SHORT));
++ QLibrary lib(QLatin1String("@icu@/lib/libicui18n"), QLatin1String(U_ICU_VERSION_SHORT));
+ lib.setLoadHints(QLibrary::ImprovedSearchHeuristics);
+ if (!lib.load()) {
+ qWarning() << "Unable to load library icui18n" << lib.errorString();
+@@ -111,7 +111,7 @@
+ }
+
+ // resolve libicuuc
+- QLibrary ucLib(QLatin1String("icuuc"), QLatin1String(U_ICU_VERSION_SHORT));
++ QLibrary ucLib(QLatin1String("@icu@/lib/libicuuc"), QLatin1String(U_ICU_VERSION_SHORT));
+ ucLib.setLoadHints(QLibrary::ImprovedSearchHeuristics);
+ if (!ucLib.load()) {
+ qWarning() << "Unable to load library icuuc" << ucLib.errorString();
+diff -ru qt-everywhere-opensource-src-4.8.3-orig/src/gui/painting/qcups.cpp qt-everywhere-opensource-src-4.8.3/src/gui/painting/qcups.cpp
+--- qt-everywhere-opensource-src-4.8.3-orig/src/gui/painting/qcups.cpp 2012-09-10 21:36:51.000000000 -0400
++++ qt-everywhere-opensource-src-4.8.3/src/gui/painting/qcups.cpp 2012-09-28 18:08:26.600720491 -0400
@@ -87,7 +87,7 @@
static void resolveCups()
@@ -9,8 +31,9 @@
if(cupsLib.load()) {
_cupsGetDests = (CupsGetDests) cupsLib.resolve("cupsGetDests");
_cupsFreeDests = (CupsFreeDests) cupsLib.resolve("cupsFreeDests");
---- a/src/gui/painting/qprinterinfo_unix.cpp 2011-12-08 09:06:02.000000000 +0400
-+++ b/src/gui/painting/qprinterinfo_unix.cpp 2011-12-23 16:22:15.000000000 +0400
+diff -ru qt-everywhere-opensource-src-4.8.3-orig/src/gui/painting/qprinterinfo_unix.cpp qt-everywhere-opensource-src-4.8.3/src/gui/painting/qprinterinfo_unix.cpp
+--- qt-everywhere-opensource-src-4.8.3-orig/src/gui/painting/qprinterinfo_unix.cpp 2012-09-10 21:36:51.000000000 -0400
++++ qt-everywhere-opensource-src-4.8.3/src/gui/painting/qprinterinfo_unix.cpp 2012-09-28 18:08:26.601720488 -0400
@@ -454,7 +454,7 @@
char *domain;
int err;
@@ -20,39 +43,21 @@
typedef int (*ypGetDefaultDomain)(char **);
ypGetDefaultDomain _ypGetDefaultDomain = (ypGetDefaultDomain)lib.resolve("yp_get_default_domain");
typedef int (*ypAll)(const char *, const char *, const struct ypall_callback *);
---- a/src/network/kernel/qhostinfo_unix.cpp 2011-12-23 16:26:07.000000000 +0400
-+++ b/src/network/kernel/qhostinfo_unix.cpp 2011-12-23 16:25:55.000000000 +0400
+diff -ru qt-everywhere-opensource-src-4.8.3-orig/src/network/kernel/qhostinfo_unix.cpp qt-everywhere-opensource-src-4.8.3/src/network/kernel/qhostinfo_unix.cpp
+--- qt-everywhere-opensource-src-4.8.3-orig/src/network/kernel/qhostinfo_unix.cpp 2012-09-10 21:36:51.000000000 -0400
++++ qt-everywhere-opensource-src-4.8.3/src/network/kernel/qhostinfo_unix.cpp 2012-09-28 18:08:53.186643755 -0400
@@ -95,7 +95,7 @@
static void resolveLibrary()
{
#ifndef QT_NO_LIBRARY
- QLibrary lib(QLatin1String("resolv"));
+ QLibrary lib(QLatin1String("@glibc@/lib/libresolv"));
+ lib.setLoadHints(QLibrary::ImprovedSearchHeuristics);
if (!lib.load())
return;
-
---- a/src/corelib/tools/qlocale_icu.cpp 2011-12-08 09:06:03.000000000 +0400
-+++ b/src/corelib/tools/qlocale_icu.cpp 2011-12-23 16:29:15.000000000 +0400
-@@ -81,7 +81,7 @@
- if (status == NotLoaded) {
-
- // resolve libicui18n
-- QLibrary lib(QLatin1String("icui18n"), QLatin1String(U_ICU_VERSION_SHORT));
-+ QLibrary lib(QLatin1String("@icu@/lib/libicui18n"), QLatin1String(U_ICU_VERSION_SHORT));
- if (!lib.load()) {
- qWarning() << "Unable to load library icui18n" << lib.errorString();
- status = ErrorLoading;
-@@ -110,7 +110,7 @@
- }
-
- // resolve libicuuc
-- QLibrary ucLib(QLatin1String("icuuc"), QLatin1String(U_ICU_VERSION_SHORT));
-+ QLibrary ucLib(QLatin1String("@icu@/lib/libicuuc"), QLatin1String(U_ICU_VERSION_SHORT));
- if (!ucLib.load()) {
- qWarning() << "Unable to load library icuuc" << ucLib.errorString();
- status = ErrorLoading;
---- a/src/plugins/platforms/xlib/qxlibstatic.cpp 2011-12-08 09:06:02.000000000 +0400
-+++ b/src/plugins/platforms/xlib/qxlibstatic.cpp 2011-12-23 20:38:49.000000000 +0400
+diff -ru qt-everywhere-opensource-src-4.8.3-orig/src/plugins/platforms/xlib/qxlibstatic.cpp qt-everywhere-opensource-src-4.8.3/src/plugins/platforms/xlib/qxlibstatic.cpp
+--- qt-everywhere-opensource-src-4.8.3-orig/src/plugins/platforms/xlib/qxlibstatic.cpp 2012-09-10 21:36:51.000000000 -0400
++++ qt-everywhere-opensource-src-4.8.3/src/plugins/platforms/xlib/qxlibstatic.cpp 2012-09-28 18:08:26.601720488 -0400
@@ -242,7 +242,7 @@
}
diff --git a/pkgs/development/libraries/qt-4.x/4.8/glib-2.32.patch b/pkgs/development/libraries/qt-4.x/4.8/glib-2.32.patch
new file mode 100644
index 00000000000..4593c1b4ba8
--- /dev/null
+++ b/pkgs/development/libraries/qt-4.x/4.8/glib-2.32.patch
@@ -0,0 +1,12 @@
+diff -Naur qt-everywhere-opensource-src-4.8.2-orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h qt-everywhere-opensource-src-4.8.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
+--- qt-everywhere-opensource-src-4.8.2-orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h 2012-04-26 15:46:22.000000000 -0400
++++ qt-everywhere-opensource-src-4.8.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h 2012-07-14 22:47:02.145152876 -0400
+@@ -89,7 +89,7 @@
+ #include
+ #elif PLATFORM(GTK)
+ #include
+-typedef struct _GMutex GMutex;
++typedef union _GMutex GMutex;
+ typedef struct _GCond GCond;
+ #endif
+
diff --git a/pkgs/development/libraries/science/math/blas/default.nix b/pkgs/development/libraries/science/math/blas/default.nix
index 55654586edd..7066ebad87c 100644
--- a/pkgs/development/libraries/science/math/blas/default.nix
+++ b/pkgs/development/libraries/science/math/blas/default.nix
@@ -32,10 +32,14 @@ stdenv.mkDerivation {
echo >>make.inc "RANLIB = ranlib"
make
'';
-
- installPhase = ''
- install -D -m755 libblas.a "$out/lib/libblas.a"
- install -D -m755 libblas.so.3.0.3 "$out/lib/libblas.so.3.0.3"
+
+ installPhase =
+ # FreeBSD's stdenv doesn't use Coreutils.
+ let dashD = if stdenv.isFreeBSD then "" else "-D"; in
+ (stdenv.lib.optionalString stdenv.isFreeBSD "mkdir -p $out/lib ;")
+ + ''
+ install ${dashD} -m755 libblas.a "$out/lib/libblas.a"
+ install ${dashD} -m755 libblas.so.3.0.3 "$out/lib/libblas.so.3.0.3"
ln -s libblas.so.3.0.3 "$out/lib/libblas.so.3"
ln -s libblas.so.3.0.3 "$out/lib/libblas.so"
'';
diff --git a/pkgs/development/libraries/webkit/default.nix b/pkgs/development/libraries/webkit/default.nix
index c0fd878e0bb..d229228b94f 100644
--- a/pkgs/development/libraries/webkit/default.nix
+++ b/pkgs/development/libraries/webkit/default.nix
@@ -14,7 +14,7 @@ rec {
sqlite icu gperf bison flex autoconf automake libtool
perl intltool pkgconfig libsoup gtkdoc libXt libproxy
enchant python ruby which renderproto libXrender geoclue
- kbproto
+ kbproto mesa
];
propagatedBuildInputs = [
@@ -54,7 +54,7 @@ rec {
];
/* doConfigure should be specified separately */
- phaseNames = ["setVars" /* "paranoidFixComments" */ "doConfigure" (doPatchShebangs ".")
+ phaseNames = ["setVars" "fixConfigure" /* "paranoidFixComments" */ "doConfigure" (doPatchShebangs ".")
"doReplaceUsrBin" "doMakeInstall" "doAddPrograms"];
setVars = fullDepEntry (''
@@ -78,6 +78,13 @@ rec {
sed -re 's@( |^)//.*@/* & */@' -i $(find . -name '*.c' -o -name '*.h')
'') ["minInit" "doUnpack"];
+ # See http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2012-April/022893.html
+ fixConfigure = fullDepEntry (''
+ sed -i -e 's/=GSTREAMER_0_10_REQUIRED_VERSION/=\$GSTREAMER_0_10_REQUIRED_VERSION/' \
+ -e 's/=GSTREAMER_0_10_PLUGINS_BASE_REQUIRED_VERSION/=\$GSTREAMER_0_10_PLUGINS_BASE_REQUIRED_VERSION/' \
+ configure{,.ac}
+ '') ["minInit" "doUnpack"];
+
name = s.name;
meta = {
description = "WebKit - a fast and correct HTML renderer";
diff --git a/pkgs/development/libraries/webkit/src-for-default.nix b/pkgs/development/libraries/webkit/src-for-default.nix
index 30e129e2fae..65bcd435096 100644
--- a/pkgs/development/libraries/webkit/src-for-default.nix
+++ b/pkgs/development/libraries/webkit/src-for-default.nix
@@ -1,9 +1,10 @@
rec {
- version="1.6.3";
- name="webkit-1.6.3";
- hash="1hvph13ak7a85qmj1ikanwxf2nn53m5f6a50j627lp49db7dpl0j";
- url="http://webkitgtk.org/webkit-1.6.3.tar.xz";
- advertisedUrl="http://webkitgtk.org/webkit-1.6.3.tar.xz";
+ version="1.8.1";
+ name="webkit-1.8.1";
+ hash="0a1v3v8dp2cl332qr51j4fpl0rwpgxbf29hn3zdim9hcniv6l4ls";
+ url="http://webkitgtk.org/releases/webkit-1.8.1.tar.xz";
+ advertisedUrl="http://webkitgtk.org/releases/webkit-1.8.1.tar.xz";
}
+
diff --git a/pkgs/development/ocaml-modules/extlib/default.nix b/pkgs/development/ocaml-modules/extlib/default.nix
index a520f8196d8..d59dbae45fe 100644
--- a/pkgs/development/ocaml-modules/extlib/default.nix
+++ b/pkgs/development/ocaml-modules/extlib/default.nix
@@ -4,11 +4,10 @@ stdenv.mkDerivation {
name = "ocaml-extlib-1.5.2";
src = fetchurl {
- url = "http://ocaml-extlib.googlecode.com/files/extlib-1.5.2.tar.gz";
- sha256 = "ca6d69adeba4242ce41c02a23746ba1e464c0bbec66e2d16b02c3c6e85dc10aa";
+ url = http://ocaml-extlib.googlecode.com/files/extlib-1.5.3.tar.gz;
+ sha256 = "c095eef4202a8614ff1474d4c08c50c32d6ca82d1015387785cf03d5913ec021";
};
- patches = [ ./hashtable-ocaml4-compat.patch ];
buildInputs = [ocaml findlib];
createFindlibDestdir = true;
@@ -19,9 +18,9 @@ stdenv.mkDerivation {
'';
meta = {
- homepage = "http://code.google.com/p/ocaml-extlib/";
+ homepage = http://code.google.com/p/ocaml-extlib/;
description = "Enhancements to the OCaml Standard Library modules";
- license = "LGPL";
+ license = stdenv.lib.licenses.lgpl21;
platforms = ocaml.meta.platforms;
};
}
diff --git a/pkgs/development/ocaml-modules/extlib/hashtable-ocaml4-compat.patch b/pkgs/development/ocaml-modules/extlib/hashtable-ocaml4-compat.patch
deleted file mode 100644
index c587f2b6cd3..00000000000
--- a/pkgs/development/ocaml-modules/extlib/hashtable-ocaml4-compat.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Revision 396 from the official extlib repository.
-
---- extlib/extHashtbl.ml (revision 395)
-+++ extlib/extHashtbl.ml (working copy)
-@@ -32,6 +32,7 @@
- }
-
- include Hashtbl
-+ let create n = Hashtbl.create (* no seed *) n
-
- external h_conv : ('a, 'b) t -> ('a, 'b) h_t = "%identity"
- external h_make : ('a, 'b) h_t -> ('a, 'b) t = "%identity"
\ No newline at end of file
diff --git a/pkgs/development/ocaml-modules/ocamlnet/default.nix b/pkgs/development/ocaml-modules/ocamlnet/default.nix
index e4dc43743f3..4d9e934b628 100644
--- a/pkgs/development/ocaml-modules/ocamlnet/default.nix
+++ b/pkgs/development/ocaml-modules/ocamlnet/default.nix
@@ -2,15 +2,14 @@
let
ocaml_version = (builtins.parseDrvName ocaml.name).version;
- version = "3.1";
in
stdenv.mkDerivation {
- name = "ocamlnet-${version}";
+ name = "ocamlnet-3.6";
src = fetchurl {
- url = "http://download.camlcity.org/download/ocamlnet-${version}.tar.gz";
- sha256 = "0kdc2540ad84j6haj9jxlwryz9cb8q8kjdr48f2wgvcaii38v9f5";
+ url = http://download.camlcity.org/download/ocamlnet-3.6.tar.gz;
+ sha256 = "306c20aee6512be3564c0f39872b70f929c06e1e893cfcf528ac47ae35cf7a69";
};
buildInputs = [ncurses ocaml findlib ocaml_pcre camlzip openssl ocaml_ssl];
diff --git a/pkgs/development/ocaml-modules/ounit/default.nix b/pkgs/development/ocaml-modules/ounit/default.nix
index 8f21ba649bf..533f1ec8d1c 100644
--- a/pkgs/development/ocaml-modules/ounit/default.nix
+++ b/pkgs/development/ocaml-modules/ounit/default.nix
@@ -5,11 +5,11 @@ let
in
stdenv.mkDerivation {
- name = "ounit-1.1.0";
+ name = "ounit-1.1.2";
src = fetchurl {
- url = http://forge.ocamlcore.org/frs/download.php/495/ounit-1.1.0.tar.gz;
- sha256 = "12vybg9xlw5c8ip23p8cljfzhkdsm25482sf1yh46fcqq8p2jmqx";
+ url = http://forge.ocamlcore.org/frs/download.php/886/ounit-1.1.2.tar.gz;
+ sha256 = "e6bc1b0cdbb5b5552d85bee653e23aafe20bb97fd7cd229c867d01ff999888e3";
};
buildInputs = [ocaml findlib];
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.xs4all.nl/~mmzeeman/ocaml/;
description = "Unit test framework for OCaml";
- license = "MIT/X11";
+ license = stdenv.lib.licenses.mit;
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.z77z
diff --git a/pkgs/development/tools/analysis/smatch/default.nix b/pkgs/development/tools/analysis/smatch/default.nix
new file mode 100644
index 00000000000..8b9deca409f
--- /dev/null
+++ b/pkgs/development/tools/analysis/smatch/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchgit, sqlite, pkgconfig
+, buildllvmsparse ? true
+, buildc2xml ? true
+, llvm ? null, libxml2 ? null
+}:
+
+assert buildllvmsparse -> llvm != null;
+assert buildc2xml -> libxml2 != null;
+
+stdenv.mkDerivation {
+ name = "smatch";
+
+ src = fetchgit {
+ url = git://repo.or.cz/smatch.git;
+ rev = "23656e3e578b700cbf96d043f039e6341a3ba5b9";
+ sha256 = "09a44967d4cff026c67062f778e251d0b432af132e9d59a47b7d3167f379adfa";
+ };
+
+ buildInputs = [sqlite pkgconfig]
+ ++ stdenv.lib.optional buildllvmsparse llvm
+ ++ stdenv.lib.optional buildc2xml libxml2;
+
+ installFlags = "DESTDIR=$(out)";
+
+ meta = {
+ description = "A semantic analysis tool for C";
+ homepage = "http://smatch.sourceforge.net/";
+ license = "free"; /* OSL, see http://www.opensource.org */
+ };
+}
diff --git a/pkgs/development/tools/build-managers/cmake/default.nix b/pkgs/development/tools/build-managers/cmake/default.nix
index cab217fef97..d66149a9509 100644
--- a/pkgs/development/tools/build-managers/cmake/default.nix
+++ b/pkgs/development/tools/build-managers/cmake/default.nix
@@ -7,7 +7,7 @@ with stdenv.lib;
let
os = stdenv.lib.optionalString;
majorVersion = "2.8";
- minorVersion = "7";
+ minorVersion = "9";
version = "${majorVersion}.${minorVersion}";
in
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "${meta.homepage}files/v${majorVersion}/cmake-${version}.tar.gz";
- sha256 = "17zmxh0gyis6w05d2km0swlvy94h3w10jgra0fpa5qcg7l2j628k";
+ sha256 = "1yg68ng732cfm5c0h91chqwhg06zdh45bybm353kd1myk5rwqgfw";
};
patches =
diff --git a/pkgs/development/tools/documentation/haddock/2.13.1.nix b/pkgs/development/tools/documentation/haddock/2.13.1.nix
new file mode 100644
index 00000000000..1eed852f537
--- /dev/null
+++ b/pkgs/development/tools/documentation/haddock/2.13.1.nix
@@ -0,0 +1,18 @@
+{ cabal, alex, Cabal, deepseq, filepath, ghcPaths, happy, xhtml }:
+
+cabal.mkDerivation (self: {
+ pname = "haddock";
+ version = "2.13.1";
+ sha256 = "0zsflbc3ayjsn542sa58zl62dd78ykr489f18sh467hrrnaj4pkf";
+ isLibrary = true;
+ isExecutable = true;
+ buildDepends = [ Cabal deepseq filepath ghcPaths xhtml ];
+ buildTools = [ alex happy ];
+ meta = {
+ homepage = "http://www.haskell.org/haddock/";
+ description = "A documentation-generation tool for Haskell libraries";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.andres ];
+ };
+})
diff --git a/pkgs/development/tools/haskell/BNFC-meta/default.nix b/pkgs/development/tools/haskell/BNFC-meta/default.nix
index 1b0397ead1b..198fb89f33c 100644
--- a/pkgs/development/tools/haskell/BNFC-meta/default.nix
+++ b/pkgs/development/tools/haskell/BNFC-meta/default.nix
@@ -2,12 +2,12 @@
cabal.mkDerivation (self: {
pname = "BNFC-meta";
- version = "0.3.0.3";
- sha256 = "06k8jnb4gw96gc0ffmczbywn4q2n87zwqa0pl0ada3ldvwaagv4l";
+ version = "0.4";
+ sha256 = "0qmkc2h4fqryvq763k6skx6c24h9njh4bsdspfbyq1nzxxb9mvy0";
buildDepends = [ alexMeta happyMeta haskellSrcMeta syb ];
noHaddock = true;
meta = {
- description = "Deriving Quasi-Quoters from BNF Grammars";
+ description = "Deriving Parsers and Quasi-Quoters from BNF Grammars";
license = self.stdenv.lib.licenses.gpl2;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
diff --git a/pkgs/development/tools/haskell/alex-meta/default.nix b/pkgs/development/tools/haskell/alex-meta/default.nix
index 661c9c7895b..e28b37aafc6 100644
--- a/pkgs/development/tools/haskell/alex-meta/default.nix
+++ b/pkgs/development/tools/haskell/alex-meta/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "alex-meta";
- version = "0.3.0.3";
- sha256 = "08w7z2iq2s557vi9kp2x8qp1lwvh49skffbjm8kxrf2bn2il5q48";
+ version = "0.3.0.5";
+ sha256 = "0f41q5l6z1dcpfx8rxacv4f544zcw7pgvq935mnzzha9fvsxqzk4";
buildDepends = [ haskellSrcMeta QuickCheck ];
noHaddock = true;
meta = {
diff --git a/pkgs/development/tools/haskell/cabal2nix/default.nix b/pkgs/development/tools/haskell/cabal2nix/default.nix
index 72c032342d9..6eac3153009 100644
--- a/pkgs/development/tools/haskell/cabal2nix/default.nix
+++ b/pkgs/development/tools/haskell/cabal2nix/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "cabal2nix";
- version = "1.39";
- sha256 = "0q2kgzjbcrqxml12hncsrkjdwjiq52dp00v6i3qdgiyj460iy60d";
+ version = "1.40";
+ sha256 = "0finmky9lyzg5gs0y95fb0gmzraszljv7l5271185jmhky4wppim";
isLibrary = false;
isExecutable = true;
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];
diff --git a/pkgs/development/tools/haskell/happy-meta/default.nix b/pkgs/development/tools/haskell/happy-meta/default.nix
index 3b9a6d4c983..a3d885c6008 100644
--- a/pkgs/development/tools/haskell/happy-meta/default.nix
+++ b/pkgs/development/tools/haskell/happy-meta/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "happy-meta";
- version = "0.2.0.4";
- sha256 = "1s1inv2l2hwdlvypn6wpiadmi5y5mpcjawiqjb1hv0d8y43dpz54";
+ version = "0.2.0.5";
+ sha256 = "103hi87azqv11l8lq1rv0v9v88sl227g31snvkn8db6b4cfrwrxk";
buildDepends = [ haskellSrcMeta mtl ];
meta = {
description = "Quasi-quoter for Happy parsers";
diff --git a/pkgs/development/tools/haskell/tar/0.4.0.0.nix b/pkgs/development/tools/haskell/tar/0.4.0.1.nix
similarity index 65%
rename from pkgs/development/tools/haskell/tar/0.4.0.0.nix
rename to pkgs/development/tools/haskell/tar/0.4.0.1.nix
index 7f6b70a52e6..04257960a64 100644
--- a/pkgs/development/tools/haskell/tar/0.4.0.0.nix
+++ b/pkgs/development/tools/haskell/tar/0.4.0.1.nix
@@ -1,10 +1,10 @@
-{ cabal, filepath }:
+{ cabal, filepath, time }:
cabal.mkDerivation (self: {
pname = "tar";
- version = "0.4.0.0";
- sha256 = "04qijdfyiqb64q58g0bf46qfgaxqjl3kl68x6z31cv36p3hpplx3";
- buildDepends = [ filepath ];
+ version = "0.4.0.1";
+ sha256 = "0vbsv7h3zgp30mlgsw156jkv1rqy5zbm98as9haf7x15hd6jf254";
+ buildDepends = [ filepath time ];
meta = {
description = "Reading, writing and manipulating \".tar\" archive files.";
license = self.stdenv.lib.licenses.bsd3;
diff --git a/pkgs/development/tools/misc/gnum4/default.nix b/pkgs/development/tools/misc/gnum4/default.nix
index 1f026f12f52..e603c398b02 100644
--- a/pkgs/development/tools/misc/gnum4/default.nix
+++ b/pkgs/development/tools/misc/gnum4/default.nix
@@ -10,7 +10,8 @@ stdenv.mkDerivation {
doCheck = !stdenv.isDarwin
&& !stdenv.isCygwin # XXX: `test-dup2' fails on Cygwin
- && !stdenv.isSunOS; # XXX: `test-setlocale2.sh' fails
+ && !stdenv.isSunOS # XXX: `test-setlocale2.sh' fails
+ && !stdenv.isArm; # XXX: `diversions' fails on SheevaPlug
# Upstream is aware of it; it may be in the next release.
patches = [ ./s_isdir.patch ./readlink-EINVAL.patch ];
diff --git a/pkgs/development/tools/ocaml/camlp5/default.nix b/pkgs/development/tools/ocaml/camlp5/default.nix
index 315bca38f36..74b3368293c 100644
--- a/pkgs/development/tools/ocaml/camlp5/default.nix
+++ b/pkgs/development/tools/ocaml/camlp5/default.nix
@@ -2,28 +2,18 @@
let
ocaml_version = (builtins.parseDrvName ocaml.name).version;
- pname = "camlp5";
- version = "6.02.3";
- webpage = http://pauillac.inria.fr/~ddr/camlp5/;
metafile = ./META;
in
stdenv.mkDerivation {
- name = "${pname}${if transitional then "_transitional" else ""}-${version}";
+ name = "camlp5${if transitional then "_transitional" else ""}-6.06";
src = fetchurl {
- url = "${webpage}/distrib/src/${pname}-${version}.tgz";
- sha256 = "1z9bwh267117br0vlhirv9yy2niqp2n25zfnl14wg6kgg9bqx7rj";
+ url = http://pauillac.inria.fr/~ddr/camlp5/distrib/src/camlp5-6.06.tgz;
+ sha256 = "763f89ee6cde4ca063a50708c3fe252d55ea9f8037e3ae9801690411ea6180c5";
};
- patches = fetchurl {
- url = "${webpage}/distrib/src/patch-${version}-1";
- sha256 = "159qpvr07mnn72yqwx24c6mw7hs6bl77capsii7apg9dcxar8w7v";
- };
-
- patchFlags = "-p 0";
-
buildInputs = [ ocaml ];
prefixKey = "-prefix ";
@@ -41,8 +31,8 @@ stdenv.mkDerivation {
Camlp5 is a preprocessor and pretty-printer for OCaml programs.
It also provides parsing and printing tools.
'';
- homepage = "${webpage}";
- license = "BSD";
+ homepage = http://pauillac.inria.fr/~ddr/camlp5/;
+ license = stdenv.lib.licenses.bsd3;
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.z77z
diff --git a/pkgs/games/openttd/default.nix b/pkgs/games/openttd/default.nix
index 66c296b487a..616adf00224 100644
--- a/pkgs/games/openttd/default.nix
+++ b/pkgs/games/openttd/default.nix
@@ -1,22 +1,42 @@
-{stdenv, fetchurl, SDL, libpng, zlib}:
+{stdenv, fetchurl, pkgconfig, SDL, libpng, zlib, xz, freetype, fontconfig}:
stdenv.mkDerivation rec {
name = "openttd-${version}";
- version = "0.6.0";
+ version = "1.2.2";
src = fetchurl {
- url = "mirror://sf/openttd/${name}-source.tar.bz2";
- md5 = "dcf63687c73ff56887049fedaf6c6019";
+ url = "http://binaries.openttd.org/releases/${version}/${name}-source.tar.xz";
+ sha256 = "158znfx389bhs9gd2hadnbc2a32z4ma1vz8704cmw9yh0fmhbcap";
};
- buildInputs = [SDL libpng];
+ buildInputs = [SDL libpng pkgconfig xz zlib freetype fontconfig];
prefixKey = "--prefix-dir=";
- configureFlags = "--with-zlib=${zlib}/lib/libz.a";
+
+ configureFlags = ''
+ --with-zlib=${zlib}/lib/libz.a
+ --without-liblzo2
+ '';
+
makeFlags = "INSTALL_PERSONAL_DIR=";
+ postInstall = ''
+ mv $out/games/ $out/bin
+ '';
+
meta = {
description = ''OpenTTD is an open source clone of the Microprose game "Transport Tycoon Deluxe".'';
+ longDescription = ''
+ OpenTTD is a transportation economics simulator. In single player mode,
+ players controll a transportation business, and use rail, road, sea, and air
+ transport to move goods and people around the simulated world.
+
+ In multiplayer networked mode, players may:
+ - play competitively as different businesses
+ - play cooperatively controling the same business
+ - observe as spectators
+ '';
homepage = http://www.openttd.org/;
license = "GPLv2";
+ maintainers = with stdenv.lib.maintainers; [ jcumming ];
};
}
diff --git a/pkgs/games/rili/default.nix b/pkgs/games/rili/default.nix
new file mode 100644
index 00000000000..934213279fa
--- /dev/null
+++ b/pkgs/games/rili/default.nix
@@ -0,0 +1,31 @@
+{stdenv, fetchurl, SDL_mixer, SDL, autoconf, automake}:
+
+stdenv.mkDerivation {
+ name = "ri_li-2.0.1";
+
+ src = fetchurl {
+ url = mirror://sourceforge/ri-li/Ri-li-2.0.1.tar.bz2;
+ sha256 = "f71ccc20c37c601358d963e087ac0d524de8c68e96df09c3aac1ae65edd38dbd";
+ };
+
+ patches = [ ./moderinze_cpp.patch ];
+
+ preConfigure = ''
+ export CPPFLAGS="-I${SDL}/include -I${SDL}/include/SDL -I${SDL_mixer}/include"
+ autoreconf -i
+ '';
+
+ buildInputs = [SDL SDL_mixer autoconf automake];
+
+ meta = {
+ homepage = http://ri-li.sourceforge.net;
+ license = "GPL2+";
+ description = "A children's train game";
+ longDescription = ''
+ Ri-li is an arcade game licensed under the GPL (General Public License).
+You drive a toy wood engine in many levels and you must collect all the coaches
+to win.
+ '';
+ maintainers = with stdenv.lib.maintainers; [ jcumming ];
+ };
+}
diff --git a/pkgs/games/rili/moderinze_cpp.patch b/pkgs/games/rili/moderinze_cpp.patch
new file mode 100644
index 00000000000..3d076afb39e
--- /dev/null
+++ b/pkgs/games/rili/moderinze_cpp.patch
@@ -0,0 +1,391 @@
+diff -r -u Ri-li-2.0.1.orig/src/audio.cc Ri-li-2.0.1/src/audio.cc
+--- Ri-li-2.0.1.orig/src/audio.cc 2012-01-22 00:40:56.928609371 -0800
++++ Ri-li-2.0.1/src/audio.cc 2012-01-22 00:28:33.360636539 -0800
+@@ -22,8 +22,8 @@
+ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ #include
+-#include
+-#include
++#include
++#include
+
+ #include "audio.h"
+ #include "utils.h"
+@@ -57,7 +57,7 @@
+ char PathFile[512];
+
+ if(Mix_OpenAudio(22050,AUDIO_S16,1,1024)) {
+- cerr <<"Enable to init Sound card ! "<
++#include
+ #include
+ #include
+ #include
+diff -r -u Ri-li-2.0.1.orig/src/editeur.cc Ri-li-2.0.1/src/editeur.cc
+--- Ri-li-2.0.1.orig/src/editeur.cc 2007-11-02 04:48:17.000000000 -0700
++++ Ri-li-2.0.1/src/editeur.cc 2012-01-22 00:28:59.632635579 -0800
+@@ -25,10 +25,10 @@
+ #include
+ #endif
+
+-#include
++#include
+ #include
+ #include
+-#include
++#include
+ #include
+ #include
+
+@@ -374,7 +374,7 @@
+
+ // Sauve le niveau
+ if(Niveau.Save()==false) {
+- cerr <<"ERREUR Saving levels!"<
+ #endif
+
+-#include
++#include
+ #include
+ #include