Merge branch 'master' into x-updates

This commit is contained in:
Vladimír Čunát 2013-08-28 10:37:41 +02:00
commit 2fda1165da
103 changed files with 1971 additions and 889 deletions

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, id3lib, groff}: {stdenv, fetchurl, id3lib, groff, zlib}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "id3v2-0.1.11"; name = "id3v2-0.1.11";
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
patches = [ ./id3v2-0.1.11-track-bad-free.patch ]; patches = [ ./id3v2-0.1.11-track-bad-free.patch ];
nativeBuildInputs = [ groff ]; nativeBuildInputs = [ groff ];
buildInputs = [ id3lib ]; buildInputs = [ id3lib zlib ];
configurePhase = '' configurePhase = ''
export makeFlags=PREFIX=$out export makeFlags=PREFIX=$out

View File

@ -2,9 +2,9 @@
, pkgconfig, gtk, libXft, dbus, libpng, libjpeg, libungif , pkgconfig, gtk, libXft, dbus, libpng, libjpeg, libungif
, libtiff, librsvg, texinfo, gconf, libxml2, imagemagick, gnutls , libtiff, librsvg, texinfo, gconf, libxml2, imagemagick, gnutls
, alsaLib , alsaLib
, withX ? true
}: }:
assert (gtk != null) -> (pkgconfig != null);
assert (libXft != null) -> libpng != null; # probably a bug assert (libXft != null) -> libpng != null; # probably a bug
assert stdenv.isDarwin -> libXaw != null; # fails to link otherwise assert stdenv.isDarwin -> libXaw != null; # fails to link otherwise
@ -19,14 +19,15 @@ stdenv.mkDerivation rec {
}; };
buildInputs = buildInputs =
[ ncurses x11 texinfo libXaw Xaw3d libXpm libpng libjpeg libungif [ ncurses gconf libxml2 gnutls alsaLib pkgconfig texinfo ]
libtiff librsvg libXft gconf libxml2 imagemagick gnutls alsaLib ++ stdenv.lib.optional stdenv.isLinux dbus
] ++ stdenv.lib.optionals withX [
++ stdenv.lib.optionals (gtk != null) [ gtk pkgconfig ] x11 libXaw Xaw3d libXpm libpng libjpeg libungif
++ stdenv.lib.optional stdenv.isLinux dbus; libtiff librsvg libXft imagemagick gtk
];
configureFlags = configureFlags =
(if gtk != null then (if withX then
[ "--with-x-toolkit=gtk" "--with-xft"] [ "--with-x-toolkit=gtk" "--with-xft"]
else else
[ "--with-x-toolkit=no" ]) [ "--with-x-toolkit=no" ])
@ -69,7 +70,7 @@ EOF
homepage = "http://www.gnu.org/software/emacs/"; homepage = "http://www.gnu.org/software/emacs/";
license = "GPLv3+"; license = "GPLv3+";
maintainers = with maintainers; [ chaoflow lovek323 simons ]; maintainers = with maintainers; [ chaoflow lovek323 simons the-kenny ];
platforms = platforms.all; platforms = platforms.all;
}; };
} }

View File

@ -4,24 +4,32 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "calibre-0.9.11"; name = "calibre-1.0.0";
# 0.9.12+ versions won't build due to missing qt4 private headers: https://bugs.launchpad.net/calibre/+bug/1094719 # 0.9.12+ versions won't build due to missing qt4 private headers: https://bugs.launchpad.net/calibre/+bug/1094719
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/calibre/${name}.tar.xz"; url = "mirror://sourceforge/calibre/${name}.tar.xz";
sha256 = "0jjs2cx222pbv4nrivlxag5fxa0v9m63x7arcll6xi173zdn4gg8"; sha256 = "0qz369n46ijk8jbbgwnvj3v0byp5npn2zdb4lvc6mwa143mr6d62";
}; };
inherit python; inherit python;
nativeBuildInputs = [ makeWrapper pkgconfig ]; nativeBuildInputs = [ makeWrapper pkgconfig ];
patchPhase = ''
tar xf ${qt48.src}
qtdir=$(realpath $(ls | grep qt | grep 4.8 | grep src))
sed -i setup/build_environment.py \
-e "s|^qt_private_inc = .*|qt_private_inc = ['$qtdir/include/%s\'%(m) for m in ('QtGui', 'QtCore')]|"
'';
buildInputs = buildInputs =
[ python pyqt4 sip popplerQt4 libpng imagemagick libjpeg [ python pyqt4 sip popplerQt4 libpng imagemagick libjpeg
fontconfig podofo qt48 pil chmlib icu fontconfig podofo qt48 pil chmlib icu sqlite libusb1 libmtp
pythonPackages.mechanize pythonPackages.lxml pythonPackages.dateutil pythonPackages.mechanize pythonPackages.lxml pythonPackages.dateutil
pythonPackages.cssutils pythonPackages.beautifulsoup pythonPackages.pillow pythonPackages.cssutils pythonPackages.beautifulsoup pythonPackages.pillow
pythonPackages.sqlite3 pythonPackages.netifaces sqlite libusb1 libmtp pythonPackages.sqlite3 pythonPackages.netifaces pythonPackages.apsw
pythonPackages.cssselect
]; ];
installPhase = '' installPhase = ''

View File

@ -14,9 +14,9 @@ let
else if stdenv.system == "i686-linux" then "ld-linux.so.2" else if stdenv.system == "i686-linux" then "ld-linux.so.2"
else throw "Bittorrent Sync for: ${stdenv.system} not supported!"; else throw "Bittorrent Sync for: ${stdenv.system} not supported!";
version = "1.1.42"; version = "1.1.70";
sha256 = if stdenv.system == "x86_64-linux" then "07gcjzhhr8simkjjxhyzkvh3748ll81d742fz7j31nwdi34my8ri" sha256 = if stdenv.system == "x86_64-linux" then "1hnyncq5439fxn1q8dkzcg2alxjkanr4q4pgqqf3nngz4cdar5vi"
else if stdenv.system == "i686-linux" then "0awf5bfhb4dp4aydzrgdp3wqv1mz6ys1z45i0r1hbqszvf44xj7c" else if stdenv.system == "i686-linux" then "1ijdmzl8bnb4k99vrjn5gd31hy64p9wiyxw5wc5gbpgap191h5i5"
else throw "Bittorrent Sync for: ${stdenv.system} not supported!"; else throw "Bittorrent Sync for: ${stdenv.system} not supported!";
in stdenv.mkDerivation { in stdenv.mkDerivation {

View File

@ -1,24 +1,33 @@
{ stdenv, fetchurl, cmake, kdelibs, attica, perl, zlib, libpng, boost, mesa { stdenv, fetchurl, cmake, kdelibs, attica, perl, zlib, libpng, boost, mesa
, kdepimlibs, createresources ? null, eigen, qca2, exiv2, soprano, marble, lcms2 , kdepimlibs, createresources ? null, eigen, qca2, exiv2, soprano, marble, lcms2
, fontconfig, freetype, sqlite, icu, libwpd, libwpg, pkgconfig, popplerQt4 , fontconfig, freetype, sqlite, icu, libwpd, libwpg, pkgconfig, popplerQt4
, libkdcraw, libxslt, fftw, glew, gsl, shared_desktop_ontologies, okular }: , libkdcraw, libxslt, fftw, glew, gsl, shared_desktop_ontologies, okular
, libvisio, kactivities, mysql, postgresql, freetds, xbase, openexr, ilmbase
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "calligra-2.5.5"; name = "calligra-2.7.2";
src = fetchurl { src = fetchurl {
url = "mirror://kde/stable/${name}/${name}.tar.bz2"; url = "mirror://kde/stable/${name}/${name}.tar.xz";
sha256 = "0h9idadrcyjvd0mkwri4lg310mzpna6s0pvc7b7r3267wzjbn9kw"; sha256 = "1awnvv62fp5bjhi6fys37s6lpzxaig4v15m1zjlgxq82ig61w6sq";
}; };
nativeBuildInputs = [ cmake perl pkgconfig ]; nativeBuildInputs = [ cmake perl pkgconfig ];
patches = [ ./fix-kde4.10-build.patch ]; # patches = [ ./fix-kde4.10-build.patch ];
# TODO: package Vc, libWPS, OCIO, OpenShiva, QtShiva, Spnav, m2mml
# TODO: not found popplerQt4
buildInputs = [ kdelibs attica zlib libpng boost mesa kdepimlibs buildInputs = [ kdelibs attica zlib libpng boost mesa kdepimlibs
createresources eigen qca2 exiv2 soprano marble lcms2 fontconfig freetype createresources eigen qca2 exiv2 soprano marble lcms2 fontconfig freetype
sqlite icu libwpd libwpg popplerQt4 libkdcraw libxslt fftw glew gsl sqlite icu libwpd libwpg popplerQt4 libkdcraw libxslt fftw glew gsl
shared_desktop_ontologies okular ]; shared_desktop_ontologies okular
libvisio kactivities mysql postgresql freetds xbase openexr
];
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
meta = { meta = {
description = "A Qt/KDE office suite, formely known as koffice"; description = "A Qt/KDE office suite, formely known as koffice";

View File

@ -115,6 +115,7 @@ stdenv.mkDerivation rec {
for a in sbase scalc sdraw smath swriter spadmin simpress soffice; do for a in sbase scalc sdraw smath swriter spadmin simpress soffice; do
ln -s $out/lib/libreoffice/program/$a $out/bin/$a ln -s $out/lib/libreoffice/program/$a $out/bin/$a
done done
ln -s $out/bin/soffice $out/bin/libreoffice
''; '';
configureFlags = [ configureFlags = [

View File

@ -13,15 +13,15 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "eagle-${version}"; name = "eagle-${version}";
version = "6.4.0"; version = "6.5.0";
src = fetchurl { src = fetchurl {
url = "ftp://ftp.cadsoft.de/eagle/program/6.4/eagle-lin-${version}.run"; url = "ftp://ftp.cadsoft.de/eagle/program/6.5/eagle-lin-${version}.run";
sha256 = "0jb44dsq4cl9rx5nam6rxsw9fsmm6fsksv9s544p2zrwnad2x2i8"; sha256 = "17plwx2p8q2ylk0nzj5crfbdm7jc35pw7v3j8f4j81yl37l7bj22";
}; };
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {
name = "Eagle"; name = "eagle";
exec = "eagle"; exec = "eagle";
icon = "eagle"; icon = "eagle";
comment = "Schematic capture and PCB layout"; comment = "Schematic capture and PCB layout";

View File

@ -71,7 +71,7 @@ rec {
hub = import ./hub { hub = import ./hub {
inherit (rubyLibs) rake; inherit (rubyLibs) rake;
inherit stdenv fetchgit groff makeWrapper; inherit stdenv fetchurl groff makeWrapper;
}; };
gitFastExport = import ./fast-export { gitFastExport = import ./fast-export {

View File

@ -1,13 +1,12 @@
{ stdenv, fetchgit, groff, rake, makeWrapper }: { stdenv, fetchurl, groff, rake, makeWrapper }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "hub-${version}"; name = "hub-${version}";
version = "1.10.3"; version = "1.10.6";
src = fetchgit { src = fetchurl {
url = "git://github.com/defunkt/hub.git"; url = "https://github.com/github/hub/archive/v${version}.tar.gz";
rev = "refs/tags/v${version}"; sha256 = "0vfl1iq1927in81vd7zvp7yqqzay7pciyj87s83qfxrqyjpxn609";
sha256 = "0j0krmf0sf09hhw3nsn0w1y97d67762g4qrc8080bwcx38lbyvbg";
}; };
buildInputs = [ rake makeWrapper ]; buildInputs = [ rake makeWrapper ];

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "i3-${version}"; name = "i3-${version}";
version = "4.5.1"; version = "4.6";
src = fetchurl { src = fetchurl {
url = "http://i3wm.org/downloads/${name}.tar.bz2"; url = "http://i3wm.org/downloads/${name}.tar.bz2";
sha256 = "bae55f1c7c4a21d71aae182e4fab6038ba65ba4be5d1ceff9e269f4f74b823f2"; sha256 = "1qand44hjqz84f2xzd0mmyk9vpsm7iwz6446s4ivdj6f86213lpm";
}; };
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil xcbutilwm buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil xcbutilwm
@ -20,12 +20,21 @@ stdenv.mkDerivation rec {
configurePhase = "makeFlags=PREFIX=$out"; configurePhase = "makeFlags=PREFIX=$out";
meta = { meta = with stdenv.lib; {
description = "i3 is a tiling window manager"; description = "A tiling window manager";
homepage = "http://i3wm.org"; homepage = "http://i3wm.org";
maintainers = [ stdenv.lib.maintainers.garbas ]; maintainers = with maintainers; [ garbas modulistic ];
license = stdenv.lib.licenses.bsd3; license = licenses.bsd3;
platforms = stdenv.lib.platforms.all; platforms = platforms.all;
longDescription = ''
A tiling window manager primarily targeted at advanced users and
developers. Based on a tree as data structure, supports tiling,
stacking, and tabbing layouts, handled dynamically, as well as
floating windows. Configured via plain text file. Multi-monitor.
UTF-8 clean.
'';
}; };
} }

View File

@ -0,0 +1,50 @@
From a9d6a34708f846952f423d078397352858f7b1a4 Mon Sep 17 00:00:00 2001
From: Christian Persch <chpe@gnome.org>
Date: Sat, 12 May 2012 18:48:05 +0200
Subject: [PATCH] keymap: Treat ALT as META
https://bugzilla.gnome.org/show_bug.cgi?id=663779
---
src/vte.c | 23 ++++++++++++++---------
1 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/src/vte.c b/src/vte.c
index dd27e9a..0657921 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -5170,19 +5170,24 @@ static void
vte_terminal_read_modifiers (VteTerminal *terminal,
GdkEvent *event)
{
+ GdkKeymap *keymap;
GdkModifierType modifiers;
/* Read the modifiers. */
- if (gdk_event_get_state((GdkEvent*)event, &modifiers)) {
- GdkKeymap *keymap;
-#if GTK_CHECK_VERSION (2, 90, 8)
- keymap = gdk_keymap_get_for_display(gdk_window_get_display(((GdkEventAny*)event)->window));
-#else
- keymap = gdk_keymap_get_for_display(gdk_drawable_get_display(((GdkEventAny*)event)->window));
+ if (!gdk_event_get_state((GdkEvent*)event, &modifiers))
+ return;
+
+ keymap = gdk_keymap_get_for_display(gdk_window_get_display(((GdkEventAny*)event)->window));
+
+ gdk_keymap_add_virtual_modifiers (keymap, &modifiers);
+
+#if 1
+ /* HACK! Treat ALT as META; see bug #663779. */
+ if (modifiers & GDK_MOD1_MASK)
+ modifiers |= VTE_META_MASK;
#endif
- gdk_keymap_add_virtual_modifiers (keymap, &modifiers);
- terminal->pvt->modifiers = modifiers;
- }
+
+ terminal->pvt->modifiers = modifiers;
}
/* Read and handle a keypress event. */
--
1.7.5.1.217.g4e3aa.dirty

View File

@ -2,16 +2,18 @@
, pythonSupport ? false, python, pygtk}: , pythonSupport ? false, python, pygtk}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "vte-0.28.0"; name = "vte-0.28.2";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/vte/0.28/${name}.tar.bz2"; url = "mirror://gnome/sources/vte/0.28/${name}.tar.bz2";
sha256 = "0blmblvjr35xajr0a07zcd58lk6x2hzympx17biw2mcym9kcarql"; sha256 = "00zrip28issgmz2cqk5k824cbqpbixi5x7k88zxksdqpnq1f414d";
}; };
patches = [ ./alt.patch ];
buildInputs = [ intltool pkgconfig glib gtk ncurses ] ++ buildInputs = [ intltool pkgconfig glib gtk ncurses ] ++
stdenv.lib.optionals pythonSupport [python pygtk]; stdenv.lib.optionals pythonSupport [python pygtk];
configureFlags = '' configureFlags = ''
${if pythonSupport then "--enable-python" else "--disable-python"} ${if pythonSupport then "--enable-python" else "--disable-python"}
''; '';

View File

@ -19,7 +19,8 @@ rec {
# Default meta attribute # Default meta attribute
defMeta = { defMeta = {
homepage = http://www.kde.org; homepage = http://www.kde.org;
inherit (qt4.meta) platforms maintainers; platforms = stdenv.lib.platforms.linux;
inherit (qt4.meta) maintainers;
}; };
# KDE package built from the whole tarball # KDE package built from the whole tarball

View File

@ -23,7 +23,8 @@ let
meta = { meta = {
description = "KDE translation for ${lang}"; description = "KDE translation for ${lang}";
license = "GPL"; license = "GPL";
inherit (kdelibs.meta) maintainers platforms homepage; platforms = stdenv.lib.platforms.linux;
inherit (kdelibs.meta) maintainers homepage;
}; };
}; };

View File

@ -19,7 +19,8 @@ rec {
# Default meta attribute # Default meta attribute
defMeta = { defMeta = {
homepage = http://www.kde.org; homepage = http://www.kde.org;
inherit (qt4.meta) platforms maintainers; platforms = stdenv.lib.platforms.linux;
inherit (qt4.meta) maintainers;
}; };
# KDE package built from the whole tarball # KDE package built from the whole tarball

View File

@ -23,7 +23,8 @@ let
meta = { meta = {
description = "KDE translation for ${lang}"; description = "KDE translation for ${lang}";
license = "GPL"; license = "GPL";
inherit (kdelibs.meta) maintainers platforms homepage; platforms = stdenv.lib.platforms.linux;
inherit (kdelibs.meta) maintainers homepage;
}; };
}; };

View File

@ -19,7 +19,8 @@ rec {
# Default meta attribute # Default meta attribute
defMeta = { defMeta = {
homepage = http://www.kde.org; homepage = http://www.kde.org;
inherit (qt4.meta) platforms maintainers; platforms = stdenv.lib.platforms.linux;
inherit (qt4.meta) maintainers;
}; };
# KDE package built from the whole tarball # KDE package built from the whole tarball

View File

@ -23,7 +23,8 @@ let
meta = { meta = {
description = "KDE translation for ${lang}"; description = "KDE translation for ${lang}";
license = "GPL"; license = "GPL";
inherit (kdelibs.meta) maintainers platforms homepage; platforms = stdenv.lib.platforms.linux;
inherit (kdelibs.meta) maintainers homepage;
}; };
}; };

View File

@ -1,9 +1,9 @@
{ stdenv, fetchurl, patchelf, perl, ncurses, expat, python, zlib { stdenv, fetchurl, patchelf, perl, ncurses, expat, python, zlib
, xlibs, fontconfig, freetype, unixODBC, alsaLib , xlibs, gtk2, glib, fontconfig, freetype, unixODBC, alsaLib
} : } :
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cudatoolkit-4.2.9"; name = "cudatoolkit-5.5.22";
dontPatchELF = true; dontPatchELF = true;
dontStrip = true; dontStrip = true;
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
src = src =
if stdenv.system == "x86_64-linux" then if stdenv.system == "x86_64-linux" then
fetchurl { fetchurl {
url = http://developer.download.nvidia.com/compute/cuda/4_2/rel/toolkit/cudatoolkit_4.2.9_linux_64_suse11.2.run; url = http://developer.download.nvidia.com/compute/cuda/5_5/rel/installers/cuda_5.5.22_linux_64.run;
sha256 = "1inngzwq520bhpdfrh5bm4cxfyf3hxj94jialjxgviri5bj9hz60"; sha256 = "b997e1dbe95704e0e806e0cedc5fd370a385351fef565c7bae0917baf3a29aa4";
} }
else throw "cudatoolkit does not support platform ${stdenv.system}"; else throw "cudatoolkit does not support platform ${stdenv.system}";
@ -21,13 +21,15 @@ stdenv.mkDerivation rec {
runtimeDependencies = [ runtimeDependencies = [
ncurses expat python zlib ncurses expat python zlib
xlibs.libX11 xlibs.libXext xlibs.libXrender xlibs.libXt xlibs.libXtst xlibs.libXi xlibs.libXext xlibs.libX11 xlibs.libXext xlibs.libXrender xlibs.libXt xlibs.libXtst xlibs.libXi xlibs.libXext
fontconfig freetype unixODBC alsaLib gtk2 glib fontconfig freetype unixODBC alsaLib
]; ];
rpath = "${stdenv.lib.makeLibraryPath runtimeDependencies}:${stdenv.gcc.gcc}/lib64"; rpath = "${stdenv.lib.makeLibraryPath runtimeDependencies}:${stdenv.gcc.gcc}/lib64";
unpackPhase = '' unpackPhase = ''
sh $src --keep --noexec sh $src --keep --noexec
cd pkg/run_files
sh cuda-linux64-rel-5.5.22-16488124.run --keep --noexec
cd pkg cd pkg
''; '';
@ -36,7 +38,7 @@ stdenv.mkDerivation rec {
--set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \ --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
'{}' \; || true '{}' \; || true
find . -type f -exec patchelf \ find . -type f -exec patchelf \
--set-rpath $rpath:$out/lib:$out/lib64:$(cat $NIX_GCC/nix-support/orig-gcc)/lib \ --set-rpath $rpath:$out/jre/lib/amd64/jli:$out/lib:$out/lib64:$out/nvvm/lib:$out/nvvm/lib64:$(cat $NIX_GCC/nix-support/orig-gcc)/lib \
--force-rpath \ --force-rpath \
'{}' \; || true '{}' \; || true
''; '';

View File

@ -1,25 +1,28 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gprolog-1.4.1"; name = "gprolog-1.4.4";
src = fetchurl { src = fetchurl {
urls = [ urls = [
"mirror://gnu/gprolog/${name}.tar.gz" "mirror://gnu/gprolog/${name}.tar.gz"
"http://www.gprolog.org/${name}.tar.gz" "http://www.gprolog.org/${name}.tar.gz"
]; ];
sha256 = "e2819ed9c426138d3191e4d97ae5121cf97e132eecf102400f87f1e372a05b72"; sha256 = "13miyas47bmijmadm68cbvb21n4s156gjafz7kfx9brk9djfkh0q";
}; };
configurePhase = "cd src ;" preConfigure = ''
+ "./configure --prefix=$out " cd src
+ "--with-install-dir=$out/share/${name} " configureFlagsArray=(
+ "--with-examples-dir=$out/share/doc/${name}/examples " "--with-install-dir=$out"
+ "--with-doc-dir=$out/share/doc/${name}"; "--without-links-dir"
"--with-examples-dir=$out/share/${name}/examples"
"--with-doc-dir=$out/share/${name}/doc"
)
'';
postInstall = '' postInstall = ''
ln -vs "$out/share/${name}/include" "$out/include" mv -v $out/[A-Z]* $out/gprolog.ico $out/share/${name}/
ln -vs "$out/share/${name}/lib" "$out/lib"
''; '';
doCheck = true; doCheck = true;
@ -27,7 +30,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
homepage = "http://www.gnu.org/software/gprolog/"; homepage = "http://www.gnu.org/software/gprolog/";
description = "GNU Prolog, a free Prolog compiler with constraint solving over finite domains"; description = "GNU Prolog, a free Prolog compiler with constraint solving over finite domains";
license = "GPLv2+"; license = stdenv.lib.licenses.lgpl3Plus;
longDescription = '' longDescription = ''
GNU Prolog is a free Prolog compiler with constraint solving GNU Prolog is a free Prolog compiler with constraint solving

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, erlang, rebar }: { stdenv, fetchurl, erlang, rebar, makeWrapper, coreutils }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "elixir-0.10.1"; name = "elixir-0.10.1";
@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "0gfr2bz3mw7ag9z2wb2g22n2vlyrp8dwy78fj9zi52kzl5w3vc3w"; sha256 = "0gfr2bz3mw7ag9z2wb2g22n2vlyrp8dwy78fj9zi52kzl5w3vc3w";
}; };
buildInputs = [ erlang rebar ]; buildInputs = [ erlang rebar makeWrapper ];
preBuild = '' preBuild = ''
substituteInPlace rebar \ substituteInPlace rebar \
@ -18,6 +18,17 @@ stdenv.mkDerivation {
--replace "/usr/local" $out --replace "/usr/local" $out
''; '';
postFixup = ''
# Elixirs binaries are shell scripts which run erl. This adds some
# stuff to PATH so the scripts run without problems.
for f in $out/bin/*
do
wrapProgram $f \
--prefix PATH ":" "${erlang}/bin:${coreutils}/bin"
done
'';
meta = { meta = {
homepage = "http://elixir-lang.org/"; homepage = "http://elixir-lang.org/";
description = "Elixir is a functional, meta-programming aware language built on top of the Erlang VM."; description = "Elixir is a functional, meta-programming aware language built on top of the Erlang VM.";

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, perl, gnum4, ncurses, openssl }: { stdenv, fetchurl, perl, gnum4, ncurses, openssl
, makeWrapper, gnused, gawk }:
let version = "14B04"; in let version = "14B04"; in
@ -10,7 +11,7 @@ stdenv.mkDerivation {
sha256 = "0vlvjlg8vzcy6inb4vj00bnj0aarvpchzxwhmi492nv31s8kb6q9"; sha256 = "0vlvjlg8vzcy6inb4vj00bnj0aarvpchzxwhmi492nv31s8kb6q9";
}; };
buildInputs = [ perl gnum4 ncurses openssl ]; buildInputs = [ perl gnum4 ncurses openssl makeWrapper ];
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure ''; patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
@ -21,6 +22,12 @@ stdenv.mkDerivation {
configureFlags = "--with-ssl=${openssl}"; configureFlags = "--with-ssl=${openssl}";
# Some erlang bin/ scripts run sed and awk
postFixup = ''
wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${gnused}/bin/:${gawk}/bin"
'';
meta = { meta = {
homepage = "http://www.erlang.org/"; homepage = "http://www.erlang.org/";
description = "Programming language used for massively scalable soft real-time systems"; description = "Programming language used for massively scalable soft real-time systems";

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, perl, gnum4, ncurses, openssl { stdenv, fetchurl, perl, gnum4, ncurses, openssl
, makeWrapper, gnused, gawk
, wxSupport ? false, mesa ? null, wxGTK ? null, xlibs ? null }: , wxSupport ? false, mesa ? null, wxGTK ? null, xlibs ? null }:
assert wxSupport -> mesa != null && wxGTK != null && xlibs != null; assert wxSupport -> mesa != null && wxGTK != null && xlibs != null;
@ -15,6 +16,7 @@ stdenv.mkDerivation {
buildInputs = buildInputs =
[ perl gnum4 ncurses openssl [ perl gnum4 ncurses openssl
makeWrapper
] ++ stdenv.lib.optional wxSupport [ mesa wxGTK xlibs.libX11 ]; ] ++ stdenv.lib.optional wxSupport [ mesa wxGTK xlibs.libX11 ];
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure ''; patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
@ -26,6 +28,12 @@ stdenv.mkDerivation {
configureFlags = "--with-ssl=${openssl}"; configureFlags = "--with-ssl=${openssl}";
# Some erlang bin/ scripts run sed and awk
postFixup = ''
wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${gnused}/bin/:${gawk}/bin"
'';
meta = { meta = {
homepage = "http://www.erlang.org/"; homepage = "http://www.erlang.org/";
description = "Programming language used for massively scalable soft real-time systems"; description = "Programming language used for massively scalable soft real-time systems";

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, perl, gnum4, ncurses, openssl { stdenv, fetchurl, perl, gnum4, ncurses, openssl
, gnused, gawk, makeWrapper
, wxSupport ? false, mesa ? null, wxGTK ? null, xlibs ? null }: , wxSupport ? false, mesa ? null, wxGTK ? null, xlibs ? null }:
assert wxSupport -> mesa != null && wxGTK != null && xlibs != null; assert wxSupport -> mesa != null && wxGTK != null && xlibs != null;
@ -14,7 +15,7 @@ stdenv.mkDerivation {
}; };
buildInputs = buildInputs =
[ perl gnum4 ncurses openssl [ perl gnum4 ncurses openssl makeWrapper
] ++ stdenv.lib.optional wxSupport [ mesa wxGTK xlibs.libX11 ]; ] ++ stdenv.lib.optional wxSupport [ mesa wxGTK xlibs.libX11 ];
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure ''; patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
@ -26,6 +27,12 @@ stdenv.mkDerivation {
configureFlags = "--with-ssl=${openssl}"; configureFlags = "--with-ssl=${openssl}";
# Some erlang bin/ scripts run sed and awk
postFixup = ''
wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${gnused}/bin/:${gawk}/bin"
'';
meta = { meta = {
homepage = "http://www.erlang.org/"; homepage = "http://www.erlang.org/";
description = "Programming language used for massively scalable soft real-time systems"; description = "Programming language used for massively scalable soft real-time systems";

View File

@ -5,8 +5,8 @@ assert zlibSupport -> zlib != null;
let let
majorVersion = "2.0"; majorVersion = "2.1";
version = "${majorVersion}.2"; version = "${majorVersion}";
pythonVersion = "2.7"; pythonVersion = "2.7";
libPrefix = "pypy${majorVersion}"; libPrefix = "pypy${majorVersion}";
@ -17,7 +17,7 @@ let
src = fetchurl { src = fetchurl {
url = "https://bitbucket.org/pypy/pypy/downloads/pypy-${version}-src.tar.bz2"; url = "https://bitbucket.org/pypy/pypy/downloads/pypy-${version}-src.tar.bz2";
sha256 = "0g2cajs6m3yf0lak5f18ccs6j77cf5xvbm4h6y5l1qlqdc6wk48r"; sha256 = "05vz7ya6jh5pw5yl607cf1rvdhwxj5d4ip0vpgb1gc9rjxn0dcri";
}; };
buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite ] buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite ]
@ -44,9 +44,10 @@ let
--replace "/usr/include/ncurses/curses.h" "${ncurses}/include/curses.h" \ --replace "/usr/include/ncurses/curses.h" "${ncurses}/include/curses.h" \
--replace "ncurses/curses.h" "${ncurses}/include/curses.h" \ --replace "ncurses/curses.h" "${ncurses}/include/curses.h" \
--replace "ncurses/term.h" "${ncurses}/include/term.h" \ --replace "ncurses/term.h" "${ncurses}/include/term.h" \
--replace "libraries = ['curses']" "libraries = ['ncurses']" --replace "libraries=['curses']" "libraries=['ncurses']"
''; '';
setupHook = ./setup-hook.sh;
doCheck = true; doCheck = true;
checkPhase = '' checkPhase = ''

View File

@ -0,0 +1,15 @@
addPythonPath() {
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/pypy2.1/site-packages
}
toPythonPath() {
local paths="$1"
local result=
for i in $paths; do
p="$i/lib/pypy2.1/site-packages"
result="${result}${result:+:}$p"
done
echo $result
}
envHooks=(${envHooks[@]} addPythonPath)

View File

@ -1,18 +0,0 @@
{ cabal, bktrees, fgl, filepath, graphviz, pandoc, random, text
, time
}:
cabal.mkDerivation (self: {
pname = "Graphalyze";
version = "0.14.0.1";
sha256 = "1prgszkrnb22x9xkwmxbvb9w1h78ffig9268f3q3y65knggmwp1x";
buildDepends = [
bktrees fgl filepath graphviz pandoc random text time
];
meta = {
description = "Graph-Theoretic Analysis library";
license = "unknown";
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -4,8 +4,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "MissingH"; pname = "MissingH";
version = "1.2.0.1"; version = "1.2.0.2";
sha256 = "0hxyf82g2rz36ks6n136p6brgs0r9cnxfkh4xgl6iw11wbq2rb5m"; sha256 = "1wrrfa8dy0h0c53f1zjzwdkj8wkwsbi6qhv35wwlaz39dk32c4nn";
buildDepends = [ buildDepends = [
filepath hslogger HUnit mtl network parsec random regexCompat time filepath hslogger HUnit mtl network parsec random regexCompat time
]; ];

View File

@ -4,8 +4,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "comonad-transformers"; pname = "comonad-transformers";
version = "3.0.4"; version = "3.1";
sha256 = "1jvg08vmi47p8ji1llci02lk675q93pm6dd8imqj6xjrq34g4x9a"; sha256 = "024l437xfi0bkbn3121xi8slwsh9jby9a92qg1m5y0nmxzs9lxda";
buildDepends = [ buildDepends = [
comonad contravariant distributive semigroupoids semigroups comonad contravariant distributive semigroupoids semigroups
transformers transformers

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "contravariant"; pname = "contravariant";
version = "0.4.3"; version = "0.4.4";
sha256 = "1hhcsy5bshi2yx8618wxa40gax5wfapnbgdmv1acgjyxb6vbmsp6"; sha256 = "1b4422wpcyvrf4r7rr8c8wa008f5ykaxs17vr4plp91rcczr87s4";
buildDepends = [ tagged transformers transformersCompat ]; buildDepends = [ tagged transformers transformersCompat ];
meta = { meta = {
homepage = "http://github.com/ekmett/contravariant/"; homepage = "http://github.com/ekmett/contravariant/";

View File

@ -5,8 +5,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "crypto-cipher-tests"; pname = "crypto-cipher-tests";
version = "0.0.2"; version = "0.0.4";
sha256 = "1jzci2a6827jgiklj8sh7pjl7g4igk2j6mim20619i4rk6x0lhgz"; sha256 = "1c725zj94d6n33wldyzlm1qd32a0ais0w221ykpgs49rrd6hrpbh";
buildDepends = [ buildDepends = [
byteable cryptoCipherTypes HUnit mtl QuickCheck securemem byteable cryptoCipherTypes HUnit mtl QuickCheck securemem
testFramework testFrameworkHunit testFrameworkQuickcheck2 testFramework testFrameworkHunit testFrameworkQuickcheck2

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "crypto-cipher-types"; pname = "crypto-cipher-types";
version = "0.0.2"; version = "0.0.4";
sha256 = "1vjf9g1w7ja8x42k6hq6pcw7jvviw9rq512ncdqd7j20411zjbf4"; sha256 = "0ipwplw1mn6amjxk2i5sksxvfsnf2fv8rnrgyncl21mp1gbnq7h0";
buildDepends = [ byteable securemem ]; buildDepends = [ byteable securemem ];
meta = { meta = {
homepage = "http://github.com/vincenthz/hs-crypto-cipher"; homepage = "http://github.com/vincenthz/hs-crypto-cipher";

View File

@ -5,8 +5,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "cryptocipher"; pname = "cryptocipher";
version = "0.5.1"; version = "0.5.2";
sha256 = "118sabi90qjyqbvfincn737c4mi9mvjij1dzx7k9rsgad47p0753"; sha256 = "0ffd3w2hvi1zbhgk0xvgbnlfzzwijbrs5b9b4g2vc5p69wkv24zr";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ buildDepends = [

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "derive"; pname = "derive";
version = "2.5.11"; version = "2.5.12";
sha256 = "0934k49kpp32wffpvpk2sia7frd9ik56k6ghy6d6j31cabxf9m8r"; sha256 = "17agsdarxm22z4g911layb5g11gg8r1p2ar86pg1ch1q0jnhfqxr";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ buildDepends = [

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "diagrams"; pname = "diagrams";
version = "0.7"; version = "0.7.1";
sha256 = "08ibmxzykb9v8y7ars9jz2qyss8ln8i6j87sm31bq5g9kvpy287c"; sha256 = "0rdpp26zvimdhdw0jpw6w606jkzkqdx0pq4051fkyk2mldwk9ipj";
buildDepends = [ buildDepends = [
diagramsContrib diagramsCore diagramsLib diagramsSvg diagramsContrib diagramsCore diagramsLib diagramsSvg
]; ];

View File

@ -1,23 +0,0 @@
{ cabal, binary, dataAccessor, distributedProcess, network
, networkMulticast, networkTransport, networkTransportTcp
, transformers
}:
cabal.mkDerivation (self: {
pname = "distributed-process-simplelocalnet";
version = "0.2.0.9";
sha256 = "0bkb26bfpmyhh26hgznnw073kvk78ws6lqi86pxrgnnm9sx5mi21";
isLibrary = true;
isExecutable = true;
buildDepends = [
binary dataAccessor distributedProcess network networkMulticast
networkTransport networkTransportTcp transformers
];
meta = {
homepage = "http://github.com/haskell-distributed/distributed-process";
description = "Simple zero-configuration backend for Cloud Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -1,32 +0,0 @@
{ cabal, ansiTerminal, binary, dataAccessor, distributedStatic
, HUnit, mtl, network, networkTransport, networkTransportTcp
, random, rank1dynamic, stm, syb, testFramework, testFrameworkHunit
, time, transformers
}:
cabal.mkDerivation (self: {
pname = "distributed-process";
version = "0.4.2";
sha256 = "16w8jp66903vn089ysqdn534v0744cr2m6wkqd77zri6a0caaa6c";
isLibrary = true;
isExecutable = true;
buildDepends = [
binary dataAccessor distributedStatic mtl networkTransport random
rank1dynamic stm syb time transformers
];
testDepends = [
ansiTerminal binary distributedStatic HUnit network
networkTransport networkTransportTcp random stm testFramework
testFrameworkHunit
];
noHaddock = true;
jailbreak = true;
doCheck = false;
meta = {
homepage = "http://github.com/haskell-distributed/distributed-process";
description = "Cloud Haskell: Erlang-style concurrency in Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -1,14 +1,19 @@
{ cabal, cpphs, happy }: { cabal, cpphs, filepath, happy, smallcheck, tasty, tastyHunit
, tastySmallcheck
}:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "haskell-src-exts"; pname = "haskell-src-exts";
version = "1.11.1"; version = "1.14.0";
sha256 = "1jqf8l81zw7x5ryf8h2n0b2636yhxkfp3j4ndbqw6hc7i5q581m6"; sha256 = "070khsw56xwyrclamv5wckj9na2xbzibv702xx52ik2wbs21dr0d";
buildDepends = [ cpphs ]; buildDepends = [ cpphs ];
testDepends = [
filepath smallcheck tasty tastyHunit tastySmallcheck
];
buildTools = [ happy ]; buildTools = [ happy ];
doCheck = false; doCheck = false;
meta = { meta = {
homepage = "http://code.haskell.org/haskell-src-exts"; homepage = "https://github.com/haskell-suite/haskell-src-exts";
description = "Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer"; description = "Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer";
license = self.stdenv.lib.licenses.bsd3; license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms; platforms = self.ghc.meta.platforms;

View File

@ -1,19 +1,25 @@
{ cabal, binary, blazeBuilder, Cabal, caseInsensitive, cmdargs { cabal, aeson, binary, blazeBuilder, Cabal, caseInsensitive
, conduit, filepath, haskellSrcExts, httpTypes, parsec, random , cmdargs, conduit, deepseq, filepath, haskellSrcExts, hspec
, safe, tagsoup, time, transformers, uniplate, wai, warp , hspecExpectations, httpTypes, HUnit, parsec, random, safe
, systemFileio, tagsoup, text, time, transformers, uniplate, wai
, warp
}: }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "hoogle"; pname = "hoogle";
version = "4.2.16"; version = "4.2.20";
sha256 = "1hamwqhndrkajm4xvxxfhr2rnlmf3z2ysyfxx3y6d24jawjyqf8a"; sha256 = "0sff230qc9lk3kqr9azg399fsaybwqpic9pj52jyw61ffasnl2dd";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ buildDepends = [
binary blazeBuilder Cabal caseInsensitive cmdargs conduit filepath aeson binary blazeBuilder Cabal caseInsensitive cmdargs conduit
haskellSrcExts httpTypes parsec random safe tagsoup time deepseq filepath haskellSrcExts httpTypes parsec random safe
transformers uniplate wai warp tagsoup text time transformers uniplate wai warp
]; ];
testDepends = [
conduit hspec hspecExpectations HUnit systemFileio transformers
];
doCheck = false;
meta = { meta = {
homepage = "http://www.haskell.org/hoogle/"; homepage = "http://www.haskell.org/hoogle/";
description = "Haskell API Search"; description = "Haskell API Search";

View File

@ -9,8 +9,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "http-conduit"; pname = "http-conduit";
version = "1.9.4.2"; version = "1.9.4.3";
sha256 = "13qjf3c3qkaqdi7qp1iqywvsbsiqq8brbzwh8idaj1bhl9jizwhx"; sha256 = "0lmshqv1ybim4201nb9wskyhg4fnslbm4ymvlmhn5zx0nwd777p9";
buildDepends = [ buildDepends = [
asn1Data base64Bytestring blazeBuilder blazeBuilderConduit asn1Data base64Bytestring blazeBuilder blazeBuilderConduit
caseInsensitive certificate conduit cookie cprngAes dataDefault caseInsensitive certificate conduit cookie cprngAes dataDefault

View File

@ -0,0 +1,14 @@
{ cabal, lens, time }:
cabal.mkDerivation (self: {
pname = "lens-datetime";
version = "0.1.1";
sha256 = "0p93211ibq1rkh4aj69xdwan0338k35vb5qyf7zp761nghnk3d47";
buildDepends = [ lens time ];
meta = {
homepage = "http://github.com/klao/lens-datetime";
description = "Lenses for Data.Time.* types";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -4,6 +4,7 @@ cabal.mkDerivation (self: {
pname = "modular-arithmetic"; pname = "modular-arithmetic";
version = "1.0.1.1"; version = "1.0.1.1";
sha256 = "14n83kjmz8mqjivjhwxk1zckms5z3gn77yq2hsw2yybzff2vkdkd"; sha256 = "14n83kjmz8mqjivjhwxk1zckms5z3gn77yq2hsw2yybzff2vkdkd";
noHaddock = true;
meta = { meta = {
description = "A type for integers modulo some constant"; description = "A type for integers modulo some constant";
license = self.stdenv.lib.licenses.bsd3; license = self.stdenv.lib.licenses.bsd3;

View File

@ -1,10 +1,10 @@
{ cabal, semigroups }: { cabal, semigroupoids, semigroups }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "monoid-extras"; pname = "monoid-extras";
version = "0.3.0.0"; version = "0.3.1.0";
sha256 = "1bb8yq2vja80177h3wfadkjkwvcrszx0nq6m5n10f4lh9spvr087"; sha256 = "0nxdkx0j67nb41ingp1yl0appfx64ikf5709f48469qbaf3pgax3";
buildDepends = [ semigroups ]; buildDepends = [ semigroupoids semigroups ];
meta = { meta = {
description = "Various extra monoid-related definitions and utilities"; description = "Various extra monoid-related definitions and utilities";
license = self.stdenv.lib.licenses.bsd3; license = self.stdenv.lib.licenses.bsd3;

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "network-multicast"; pname = "network-multicast";
version = "0.0.7"; version = "0.0.8";
sha256 = "18qlg4cg7ci1z3mbqh5z16mxkjir0079a0rgm4qk6jbmsnvfsq43"; sha256 = "0jsbp8z2a69x5h6dc3b16wdxs0shv6438mnf5mg0jxq7xddbhph8";
buildDepends = [ network ]; buildDepends = [ network ];
meta = { meta = {
description = "Simple multicast library"; description = "Simple multicast library";

View File

@ -5,8 +5,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "postgresql-simple"; pname = "postgresql-simple";
version = "0.3.5.0"; version = "0.3.6.0";
sha256 = "09w9cdjn9jvmcwh63ydjl8p28xfhrhy448y211z3carx2zwryshi"; sha256 = "1qszr3k7cihizbaq3naj134gavkpamk8q3g02rsilzvn0ivq8wb8";
buildDepends = [ buildDepends = [
attoparsec blazeBuilder blazeTextual postgresqlLibpq text time attoparsec blazeBuilder blazeTextual postgresqlLibpq text time
transformers vector transformers vector

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "securemem"; pname = "securemem";
version = "0.1.2"; version = "0.1.3";
sha256 = "1szb530jw7666cnrfa8988p2b5scl2bfafi8kgslf7xi5yv7grqh"; sha256 = "1kycpk73vh8wwxzn35hmv36vwsc9r4g53f2fy6bn21q9gfm2r90j";
buildDepends = [ byteable ]; buildDepends = [ byteable ];
meta = { meta = {
homepage = "http://github.com/vincenthz/hs-securemem"; homepage = "http://github.com/vincenthz/hs-securemem";

View File

@ -4,8 +4,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "stylish-haskell"; pname = "stylish-haskell";
version = "0.5.7.0"; version = "0.5.8.0";
sha256 = "12ka5lyp28fy8gablhymxdldl792ycr8d51lsknhldb54pmklf73"; sha256 = "1wjrn4cq47jjmqkb2zv02x90l2mv6n7zh4mvcav25s9bwvvca10r";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ buildDepends = [

View File

@ -0,0 +1,15 @@
{ cabal, HUnit, mtl }:
cabal.mkDerivation (self: {
pname = "syb";
version = "0.4.1";
sha256 = "1lkh4rrqdzvb8kyry07x2z88v478hrw5cp8wmhjgpg0ck8ywncma";
testDepends = [ HUnit mtl ];
meta = {
homepage = "http://www.cs.uu.nl/wiki/GenericProgramming/SYB";
description = "Scrap Your Boilerplate";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -0,0 +1,13 @@
{ cabal, HUnit, mtl, tasty }:
cabal.mkDerivation (self: {
pname = "tasty-hunit";
version = "0.2";
sha256 = "1476ac3rsaag9rfgglzs65wqlkzm09xzdz47ksyj3a4c6ajba1kw";
buildDepends = [ HUnit mtl tasty ];
meta = {
description = "HUnit support for the Tasty test framework";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,14 @@
{ cabal, async, smallcheck, tagged, tasty }:
cabal.mkDerivation (self: {
pname = "tasty-smallcheck";
version = "0.2";
sha256 = "1xw0l1bikwavyq7s8q71a92x87mg7z65mk32nn5qx0zxwqsfb5l4";
buildDepends = [ async smallcheck tagged tasty ];
meta = {
homepage = "https://github.com/feuerbach/tasty";
description = "SmallCheck support for the Tasty test framework";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,17 @@
{ cabal, ansiTerminal, mtl, optparseApplicative, regexPosix, stm
, tagged
}:
cabal.mkDerivation (self: {
pname = "tasty";
version = "0.2";
sha256 = "1shd4bl0wb67abs7vv3cagvpinkz2348fh7fdh3rq8l5g1jflp8q";
buildDepends = [
ansiTerminal mtl optparseApplicative regexPosix stm tagged
];
meta = {
description = "Modern and extensible testing framework";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1,12 +1,12 @@
{ cabal, parsec, syb, xml }: { cabal, pandocTypes, parsec, syb, xml }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "texmath"; pname = "texmath";
version = "0.6.3"; version = "0.6.4";
sha256 = "1ajza3p4rj318l03rffscqs6rbk635drmdciv7hhl4nljc4qmnpz"; sha256 = "090xqs14ap3c6pljqzyva46phxb1lhqayi4g098f6d77d1ygvshf";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ parsec syb xml ]; buildDepends = [ pandocTypes parsec syb xml ];
meta = { meta = {
homepage = "http://github.com/jgm/texmath"; homepage = "http://github.com/jgm/texmath";
description = "Conversion of LaTeX math formulas to MathML or OMML"; description = "Conversion of LaTeX math formulas to MathML or OMML";

View File

@ -6,8 +6,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "xml-conduit"; pname = "xml-conduit";
version = "1.1.0.6"; version = "1.1.0.7";
sha256 = "08kz982c95hcni6zbrflv8kqvy7wccb19plsmwczhzcsifam5a9k"; sha256 = "04yg2mif9s3hsm5c18mf6rmw22j8prs8a1272fz25vzxzljfs2r9";
buildDepends = [ buildDepends = [
attoparsec attoparsecConduit blazeBuilder blazeBuilderConduit attoparsec attoparsecConduit blazeBuilder blazeBuilderConduit
blazeHtml blazeMarkup conduit dataDefault deepseq failure blazeHtml blazeMarkup conduit dataDefault deepseq failure

View File

@ -1,9 +1,11 @@
{stdenv, fetchurl}: {stdenv, fetchurl, zlib}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "id3lib-3.8.3"; name = "id3lib-3.8.3";
patches = [ ./id3lib-3.8.3-gcc43-1.patch ]; patches = [ ./id3lib-3.8.3-gcc43-1.patch ];
buildInputs = [ zlib ];
src = fetchurl { src = fetchurl {
url = mirror://sourceforge/id3lib/id3lib-3.8.3.tar.gz; url = mirror://sourceforge/id3lib/id3lib-3.8.3.tar.gz;

View File

@ -1,72 +1,112 @@
{ stdenv, fetchurl, pkgconfig, yasm, xz { stdenv, fetchurl, pkgconfig, yasm, bzip2, zlib
, mp3Support ? true, lame ? null , mp3Support ? true, lame ? null
, speexSupport ? true, speex ? null , speexSupport ? true, speex ? null
, theoraSupport ? true, libtheora ? null , theoraSupport ? true, libtheora ? null
, vorbisSupport ? true, libvorbis ? null , vorbisSupport ? true, libvorbis ? null
, vpxSupport ? false, libvpx ? null , vpxSupport ? true, libvpx ? null
, x264Support ? false, x264 ? null , x264Support ? false, x264 ? null
, xvidSupport ? true, xvidcore ? null , xvidSupport ? true, xvidcore ? null
, faacSupport ? false, faac ? null , faacSupport ? false, faac ? null
, vaapiSupport ? false, libva ? null # ToDo: it has huge closure
, vdpauSupport ? true, libvdpau ? null
, freetypeSupport ? true, freetype ? null # it's small and almost everywhere
, SDL # only for avplay in $tools, adds nontrivial closure to it
, enableGPL ? true # ToDo: some additional default stuff may need GPL
, enableUnfree ? faacSupport
}: }:
assert speexSupport -> speex != null; assert faacSupport -> enableUnfree;
assert theoraSupport -> libtheora != null;
assert vorbisSupport -> libvorbis != null;
assert vpxSupport -> libvpx != null;
assert x264Support -> x264 != null;
assert xvidSupport -> xvidcore != null;
stdenv.mkDerivation rec { with { inherit (stdenv.lib) optional optionals; };
name = "libav-0.7";
/* ToDo:
src = fetchurl { - more deps, inspiration: http://packages.ubuntu.com/raring/libav-tools
url = "http://libav.org/releases/${name}.tar.xz"; - maybe do some more splitting into outputs
sha256 = "04pl6y53xh6xmwzz0f12mg5vh62ylp5zwwinj6dxzd8pnbjg4lsz"; */
let
result = {
libav_9 = libavFun "9.8" "0r7hg9wg3cxjsmwzpa6f2p1a092g2iazyjjy23604ccskzbnirg3";
libav_0_8 = libavFun "0.8.8" "1wnbmbs0z4f55y8r9bwb63l04zn383l1avy4c9x1ffb2xccgcp79";
}; };
# `--enable-gpl' (as well as the `postproc' and `swscale') mean that libavFun = version : sha256 : stdenv.mkDerivation rec {
# the resulting library is GPL'ed, so it can only be used in GPL'ed name = "libav-${version}";
# applications.
configureFlags = [
"--enable-gpl"
"--enable-postproc"
"--enable-swscale"
"--disable-ffserver"
"--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 faacSupport "--enable-libfaac --enable-nonfree";
buildInputs = [ pkgconfig lame yasm ] src = fetchurl {
++ stdenv.lib.optional mp3Support lame url = "http://libav.org/releases/${name}.tar.xz";
++ stdenv.lib.optional speexSupport speex inherit sha256;
++ stdenv.lib.optional theoraSupport libtheora };
++ stdenv.lib.optional vorbisSupport libvorbis configureFlags =
++ stdenv.lib.optional vpxSupport libvpx assert stdenv.lib.all (x: x!=null) buildInputs;
++ stdenv.lib.optional x264Support x264 [
++ stdenv.lib.optional xvidSupport xvidcore #"--enable-postproc" # it's now a separate package in upstream
++ stdenv.lib.optional faacSupport faac; "--disable-avserver" # upstream says it's in a bad state
"--enable-avplay"
"--enable-shared"
"--enable-runtime-cpudetect"
]
++ optionals enableGPL [ "--enable-gpl" "--enable-swscale" ]
++ optional mp3Support "--enable-libmp3lame"
++ optional speexSupport "--enable-libspeex"
++ optional theoraSupport "--enable-libtheora"
++ optional vorbisSupport "--enable-libvorbis"
++ optional vpxSupport "--enable-libvpx"
++ optional x264Support "--enable-libx264"
++ optional xvidSupport "--enable-libxvid"
++ optional faacSupport "--enable-libfaac --enable-nonfree"
++ optional vaapiSupport "--enable-vaapi"
++ optional vdpauSupport "--enable-vdpau"
++ optional freetypeSupport "--enable-libfreetype"
;
crossAttrs = { buildInputs = [ pkgconfig lame yasm zlib bzip2 SDL ]
dontSetConfigureCross = true; ++ optional mp3Support lame
configureFlags = configureFlags ++ [ ++ optional speexSupport speex
"--cross-prefix=${stdenv.cross.config}-" ++ optional theoraSupport libtheora
"--enable-cross-compile" ++ optional vorbisSupport libvorbis
"--target_os=linux" ++ optional vpxSupport libvpx
"--arch=${stdenv.cross.arch}" ++ optional x264Support x264
]; ++ optional xvidSupport xvidcore
}; ++ optional faacSupport faac
++ optional vaapiSupport libva
++ optional vdpauSupport libvdpau
++ optional freetypeSupport freetype
;
enableParallelBuilding = true;
outputs = [ "out" "tools" ];
postInstall = ''
mkdir -p "$tools/bin"
mv "$out/bin/avplay" "$tools/bin"
cp -s "$out"/bin/* "$tools/bin/"
'';
doInstallCheck = true;
installCheckTarget = "check"; # tests need to be run *after* installation
crossAttrs = {
dontSetConfigureCross = true;
configureFlags = configureFlags ++ [
"--cross-prefix=${stdenv.cross.config}-"
"--enable-cross-compile"
"--target_os=linux"
"--arch=${stdenv.cross.arch}"
];
};
passthru = { inherit vdpauSupport; };
meta = with stdenv.lib; {
homepage = http://libav.org/;
description = "A complete, cross-platform solution to record, convert and stream audio and video (fork of ffmpeg)";
license = with licenses; if enableUnfree then unfree #ToDo: redistributable or not?
else if enableGPL then gpl2Plus else lgpl21Plus;
platforms = platforms.all;
};
}; # libavFun
in result
meta = {
homepage = http://libav.org/;
description = "A complete, cross-platform solution to record, convert and stream audio and video (fork of ffmpeg)";
};
}

View File

@ -3,14 +3,14 @@
, libtasn1, ebtables, libgcrypt, yajl, makeWrapper, pmutils , libtasn1, ebtables, libgcrypt, yajl, makeWrapper, pmutils
}: }:
let version = "1.1.0"; in let version = "1.1.1"; in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "libvirt-${version}"; name = "libvirt-${version}";
src = fetchurl { src = fetchurl {
url = "http://libvirt.org/sources/libvirt-${version}.tar.gz"; url = "http://libvirt.org/sources/libvirt-${version}.tar.gz";
sha256 = "0a39cwvzwf79gv3zw5mwp9q9n792rr1m0rl9ji39bdgcjxb7d7nf"; sha256 = "1hi27d5pld925g1azx8jq0wv557wpkd6xrq6lzm91cdr2lg1wvyw";
}; };
buildInputs = buildInputs =

View File

@ -5,11 +5,11 @@
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "spice-0.12.3"; name = "spice-0.12.4";
src = fetchurl { src = fetchurl {
url = "http://www.spice-space.org/download/releases/${name}.tar.bz2"; url = "http://www.spice-space.org/download/releases/${name}.tar.bz2";
sha256 = "0il50hcw87mzs3dw80a9gkidmhgf9s8691xmki3gj9358qf5xmmz"; sha256 = "11xkdz26b39syynxm3iyjsr8q7x0v09zdli9an1ilcrfyiykw1ng";
}; };
buildInputs = [ pixman celt alsaLib openssl libjpeg zlib buildInputs = [ pixman celt alsaLib openssl libjpeg zlib

View File

@ -53,4 +53,10 @@ stdenv.mkDerivation {
install_name_tool -change /usr/local/lib/libv8.dylib $out/lib/libv8.dylib -change /usr/lib/libgcc_s.1.dylib ${stdenv.gcc.gcc}/lib/libgcc_s.1.dylib $out/bin/d8 install_name_tool -change /usr/local/lib/libv8.dylib $out/lib/libv8.dylib -change /usr/lib/libgcc_s.1.dylib ${stdenv.gcc.gcc}/lib/libgcc_s.1.dylib $out/bin/d8
install_name_tool -id $out/lib/libv8.dylib -change /usr/lib/libgcc_s.1.dylib ${stdenv.gcc.gcc}/lib/libgcc_s.1.dylib $out/lib/libv8.dylib install_name_tool -id $out/lib/libv8.dylib -change /usr/lib/libgcc_s.1.dylib ${stdenv.gcc.gcc}/lib/libgcc_s.1.dylib $out/lib/libv8.dylib
'' else null; '' else null;
meta = with stdenv.lib; {
description = "V8 is Google's open source JavaScript engine";
platforms = platforms.unix;
license = licenses.bsd3;
};
} }

View File

@ -1,16 +1,27 @@
{ stdenv, fetchsvn, curl }: { stdenv, fetchurl, curl }:
let rev = "2262"; in stdenv.mkDerivation rec {
stdenv.mkDerivation { name = "xmlrpc-c-1.25.25";
name = "xmlrpc-c-r${rev}";
src = fetchurl {
url = "mirror://sourceforge/xmlrpc-c/${name}.tgz";
sha256 = "1sk33q4c6liza920rp4w803cfq0a79saq7fg1yjsp8hks7q011ml";
};
buildInputs = [ curl ]; buildInputs = [ curl ];
preInstall = "export datarootdir=$out/share"; # Build and install the "xmlrpc" tool (like the Debian package)
postInstall = ''
(cd tools/xmlrpc && make && make install)
'';
src = fetchsvn { meta = with stdenv.lib; {
url = http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced; description = "A lightweight RPC library based on XML and HTTP";
rev = "2262"; homepage = http://xmlrpc-c.sourceforge.net/;
sha256 = "1grwnczp5dq3w20rbz8bgpwl6jmw0w7cm7nbinlasf3ap5sc5ahb"; # <xmlrpc-c>/doc/COPYING also lists "Expat license",
# "ABYSS Web Server License" and "Python 1.5.2 License"
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
}; };
} }

View File

@ -0,0 +1,21 @@
{ fetchurl, stdenv, buildPythonPackage }:
buildPythonPackage {
name = "zc.buildout-nix-2.2.0";
src = fetchurl {
url = "https://pypi.python.org/packages/source/z/zc.buildout/zc.buildout-2.2.0.tar.gz";
md5 = "771dd9807da7d5ef5bb998991c5fdae1";
};
patches = [ ./nix.patch ];
postInstall = "mv $out/bin/buildout{,-nix}";
meta = {
homepage = "http://www.buildout.org";
description = "A software build and configuration system";
license = stdenv.lib.licenses.zpt21;
maintainers = [ stdenv.lib.maintainers.goibhniu ];
};
}

View File

@ -0,0 +1,23 @@
--- a/src/zc/buildout/easy_install.py 2013-08-27 22:28:40.233718116 +0200
+++ b/src/zc/buildout/easy_install.py 2013-08-27 22:31:07.967871186 +0200
@@ -508,16 +508,15 @@
self._dest, os.path.basename(dist.location))
if os.path.isdir(dist.location):
- # we got a directory. It must have been
- # obtained locally. Just copy it.
- shutil.copytree(dist.location, newloc)
+ # Symlink to dists in /nix/store
+ if not os.path.exists(newloc):
+ os.symlink(dist.location, newloc)
else:
setuptools.archive_util.unpack_archive(
dist.location, newloc)
-
- redo_pyc(newloc)
+ redo_pyc(newloc)
# Getting the dist from the environment causes the
# distribution meta data to be read. Cloning isn't

View File

@ -29,6 +29,7 @@ stdenv.mkDerivation rec {
wrapPythonPrograms wrapPythonPrograms
''; '';
# tests fail on darwin, see http://bitbucket.org/pypa/setuptools/issue/55/1-failure-lc_all-c-python33m-setuppy-test
doCheck = (!stdenv.isDarwin); doCheck = (!stdenv.isDarwin);
checkPhase = '' checkPhase = ''

View File

@ -1,29 +1,49 @@
{ stdenv, fetchgit, cmake, boehmgc, expat, cppunit }: { stdenv, fetchgit, cmake, expat }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "boomerang-1.0pre"; name = "boomerang-${version}";
version = "0.3.2alpha";
buildInputs = [ cmake boehmgc expat cppunit ];
installPhase = ''
for loaderfile in loader/*.so
do
install -vD "$loaderfile" "$out/lib/$(basename "$loaderfile")"
done
install -vD boomerang "$out/bin/boomerang"
'';
patches = [ ./dlopen_path.patch ];
src = fetchgit { src = fetchgit {
url = "git://github.com/aszlig/boomerang.git"; url = "https://github.com/nemerle/boomerang.git";
rev = "d0b147a5dfc915a5fa8fe6c517e66a049a37bf22"; rev = "78c6b9dd33790be43dcb07edc549161398904006";
sha256 = "6cfd95a3539ff45c18b17de76407568b0d0c17fde4e45dda54486c7eac113969"; sha256 = "1hh8v0kcnipwrfz4d45d6pm5bzbm9wgbrdgg0ir2l7wyshbkff6i";
}; };
buildInputs = [ cmake expat ];
postPatch = ''
sed -i -e 's/-std=c++0x/-std=c++11 -fpermissive/' CMakeLists.txt
# Hardcode library base path ("lib/" is appended elsewhere)
sed -i -e 's|::m_base_path = "|&'"$out"'/|' loader/BinaryFileFactory.cpp
# Deactivate setting base path at runtime
sed -i -e 's/m_base_path *=[^}]*//' include/BinaryFile.h
# Fix up shared directory locations
shared="$out/share/boomerang/"
find frontend -name '*.cpp' -print | xargs sed -i -e \
's|Boomerang::get()->getProgPath()|std::string("'"$shared"'")|'
cat >> loader/CMakeLists.txt <<CMAKE
INSTALL(TARGETS bffDump BinaryFile
ElfBinaryFile Win32BinaryFile ExeBinaryFile HpSomBinaryFile
PalmBinaryFile DOS4GWBinaryFile MachOBinaryFile
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib)
CMAKE
cat >> CMakeLists.txt <<CMAKE
INSTALL(TARGETS boomerang DESTINATION bin)
INSTALL(DIRECTORY signatures DESTINATION share/boomerang)
INSTALL(DIRECTORY frontend/machine DESTINATION share/boomerang/frontend)
CMAKE
'';
enableParallelBuilding = true;
meta = { meta = {
homepage = http://boomerang.sourceforge.net/; homepage = "http://boomerang.sourceforge.net/";
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
description = "A general, open source, retargetable decompiler"; description = "A general, open source, retargetable decompiler";
}; };

View File

@ -1,21 +0,0 @@
{ cabal, Cabal, fgl, filepath, Graphalyze, graphviz, haskellSrcExts
, mtl, multiset, random
}:
cabal.mkDerivation (self: {
pname = "SourceGraph";
version = "0.7.0.5";
sha256 = "0lbgs5a0ivn44bmc242hynsvczvxq2snz1fyjf13mrpfx8j5n8gk";
isLibrary = false;
isExecutable = true;
buildDepends = [
Cabal fgl filepath Graphalyze graphviz haskellSrcExts mtl multiset
random
];
meta = {
description = "Static code analysis using graph-theoretic techniques";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -4,8 +4,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "cabal2ghci"; pname = "cabal2ghci";
version = "0.0.1.0"; version = "0.0.1.1";
sha256 = "0l5225gwm6j25694cp94d4z31i1p68pq6js3psbr7m204q409dr5"; sha256 = "1fg3pr25f78a6b8nqxvxki4z3fvgx4i6zkmpl992a0iarycqdrsg";
isLibrary = false; isLibrary = false;
isExecutable = true; isExecutable = true;
buildDepends = [ buildDepends = [

View File

@ -3,8 +3,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "cabal2nix"; pname = "cabal2nix";
version = "1.53"; version = "1.54";
sha256 = "1xhvxx5maj03rc6zd8bcqwzyn3b9yqxsbzgdh4d9ss4myn8x2zp3"; sha256 = "169syf99gs0gj44hcnpgx0xvrmz5mq70hb6bq6ydma9ivjvz2jg4";
isLibrary = false; isLibrary = false;
isExecutable = true; isExecutable = true;
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ]; buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];

View File

@ -4,8 +4,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "hlint"; pname = "hlint";
version = "1.8.50"; version = "1.8.51";
sha256 = "02gbqlyi1c82jjzy9ipmrvxcyizvs86af7z35x9wz3imlnzx1l6c"; sha256 = "0cm78921ksysiz81x3m7kjq343fr46fpm61cw367aljd86lhivv1";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ buildDepends = [

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "hslogger"; pname = "hslogger";
version = "1.2.1"; version = "1.2.2";
sha256 = "1vfdf7i6fd4mb3rn57z3wn7bhw4z5g47f4vggb4sms5rg4zqqly5"; sha256 = "0j15nma6yf3cxb9j232kif1a836zmncfyklz9wp1mx064nblr5jf";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ mtl network time ]; buildDepends = [ mtl network time ];

View File

@ -4,20 +4,21 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wesnoth"; pname = "wesnoth";
version = "1.10.5"; version = "1.10.7";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/sourceforge/${pname}/${name}.tar.bz2"; url = "mirror://sourceforge/sourceforge/${pname}/${name}.tar.bz2";
sha256 = "1rvlr8c3vzhgd33vzc1hfhiil6d7hc3px8r8p79vmp3kwi3d49zn"; sha256 = "0gi5fzij48hmhhqxc370jxvxig5q3d70jiz56rjn8yx514s5lfwa";
}; };
buildInputs = [ SDL SDL_image SDL_mixer SDL_net SDL_ttf pango gettext zlib boost fribidi buildInputs = [ SDL SDL_image SDL_mixer SDL_net SDL_ttf pango gettext zlib boost fribidi
cmake freetype libpng pkgconfig lua dbus fontconfig libtool ]; cmake freetype libpng pkgconfig lua dbus fontconfig libtool ];
# Make the package build with the gcc currently available in Nixpkgs. cmakeFlags = [ "-DENABLE_STRICT_COMPILATION=FALSE" ]; # newer gcc problems http://gna.org/bugs/?21030
NIX_CFLAGS_COMPILE = "-Wno-ignored-qualifiers";
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "The Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme"; description = "The Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme";

View File

@ -31,6 +31,7 @@
lovek323 = "Jason O'Conal <jason@oconal.id.au>"; lovek323 = "Jason O'Conal <jason@oconal.id.au>";
ludo = "Ludovic Courtès <ludo@gnu.org>"; ludo = "Ludovic Courtès <ludo@gnu.org>";
marcweber = "Marc Weber <marco-oweber@gmx.de>"; marcweber = "Marc Weber <marco-oweber@gmx.de>";
modulistic = "Pablo Costa <modulistic@gmail.com>";
mornfall = "Petr Ročkai <me@mornfall.net>"; mornfall = "Petr Ročkai <me@mornfall.net>";
offline = "Jaka Hudoklin <jakahudoklin@gmail.com>"; offline = "Jaka Hudoklin <jakahudoklin@gmail.com>";
orbitz = "Malcolm Matalka <mmatalka@gmail.com>"; orbitz = "Malcolm Matalka <mmatalka@gmail.com>";

View File

@ -11,10 +11,10 @@ with import ./properties.nix;
rec { rec {
inherit (lib) typeOf; inherit (lib) isType;
isOption = attrs: (typeOf attrs) == "option"; isOption = isType "option";
mkOption = attrs: attrs // { mkOption = attrs: attrs // {
_type = "option"; _type = "option";
# name (this is the name of the attributem it is automatically generated by the traversal) # name (this is the name of the attributem it is automatically generated by the traversal)
@ -66,7 +66,7 @@ rec {
if all opt.check list then if all opt.check list then
opt.merge list opt.merge list
else else
throw "One of option ${name} values is of a bad type."; throw "One of option ${name} values has a bad type.";
} }
else opt; else opt;
@ -77,7 +77,7 @@ rec {
if opt.check opt.default then if opt.check opt.default then
opt.default opt.default
else else
throw "The default value of option ${name} is of a bad type."; throw "The default value of option ${name} has a bad type.";
} }
else opt; else opt;
@ -190,7 +190,7 @@ rec {
defValue = builtins.getAttr defName defs; defValue = builtins.getAttr defName defs;
optValue = builtins.getAttr defName opts; optValue = builtins.getAttr defName opts;
in in
if typeOf defValue == "option" if isOption defValue
then then
# `defValue' is an option. # `defValue' is an option.
if hasAttr defName opts if hasAttr defName opts

View File

@ -11,13 +11,13 @@ with import ./attrsets.nix;
rec { rec {
inherit (lib) typeOf; inherit (lib) isType;
# Tell that nothing is defined. When properties are evaluated, this type # Tell that nothing is defined. When properties are evaluated, this type
# is used to remove an entry. Thus if your property evaluation semantic # is used to remove an entry. Thus if your property evaluation semantic
# implies that you have to mute the content of an attribute, then your # implies that you have to mute the content of an attribute, then your
# property should produce this value. # property should produce this value.
isNotdef = attrs: (typeOf attrs) == "notdef"; isNotdef = isType "notdef";
mkNotdef = {_type = "notdef";}; mkNotdef = {_type = "notdef";};
# General property type, it has a property attribute and a content # General property type, it has a property attribute and a content
@ -32,7 +32,7 @@ rec {
# - onGlobalDelay: run on all copied properties. # - onGlobalDelay: run on all copied properties.
# - onEval: run on an evaluated property. # - onEval: run on an evaluated property.
# - onGlobalEval: run on a list of property stack on top of their values. # - onGlobalEval: run on a list of property stack on top of their values.
isProperty = attrs: (typeOf attrs) == "property"; isProperty = isType "property";
mkProperty = p@{property, content, ...}: p // { mkProperty = p@{property, content, ...}: p // {
_type = "property"; _type = "property";
}; };
@ -187,7 +187,7 @@ rec {
# and interpreted by the underlying system using properties (modules). # and interpreted by the underlying system using properties (modules).
# Create a "Merge" property which only contains a condition. # Create a "Merge" property which only contains a condition.
isMerge = attrs: (typeOf attrs) == "merge"; isMerge = isType "merge";
mkMerge = content: mkProperty { mkMerge = content: mkProperty {
property = { property = {
_type = "merge"; _type = "merge";
@ -204,7 +204,7 @@ rec {
# is ignore. # is ignore.
# Create a "If" property which only contains a condition. # Create a "If" property which only contains a condition.
isIf = attrs: (typeOf attrs) == "if"; isIf = isType "if";
mkIf = condition: content: mkProperty { mkIf = condition: content: mkProperty {
property = { property = {
_type = "if"; _type = "if";
@ -271,7 +271,7 @@ rec {
# priorities between values. The default priority is 100. The lowest # priorities between values. The default priority is 100. The lowest
# priorities are kept. The template argument must reproduce the same # priorities are kept. The template argument must reproduce the same
# attribute set hierarchy to override leaves of the hierarchy. # attribute set hierarchy to override leaves of the hierarchy.
isOverride = attrs: (typeOf attrs) == "override"; isOverride = isType "override";
mkOverrideTemplate = priority: template: content: mkProperty { mkOverrideTemplate = priority: template: content: mkProperty {
property = { property = {
_type = "override"; _type = "override";
@ -371,7 +371,7 @@ rec {
# of the list used by the merge function. And the highest ranked # of the list used by the merge function. And the highest ranked
# definition would be the last. Definitions which does not have any rank # definition would be the last. Definitions which does not have any rank
# value have the default rank of 100. # value have the default rank of 100.
isOrder = attrs: (typeOf attrs) == "order"; isOrder = isType "order";
mkOrder = rank: content: mkProperty { mkOrder = rank: content: mkProperty {
property = { property = {
_type = "order"; _type = "order";
@ -434,7 +434,7 @@ rec {
# properties on top of the option definition is nice for user manipulation # properties on top of the option definition is nice for user manipulation
# but require to check if the content of the property is not another # but require to check if the content of the property is not another
# property. Such testing implies to verify if this is an attribute set # property. Such testing implies to verify if this is an attribute set
# and if it possess the type 'property'. (see isProperty & typeOf) # and if it possess the type 'property'. (see isProperty & typeOf/isType)
# #
# To avoid strict evaluation of option definitions, 'mkFixStrictness' is # To avoid strict evaluation of option definitions, 'mkFixStrictness' is
# introduced. This property protects an option definition by replacing # introduced. This property protects an option definition by replacing

View File

@ -15,7 +15,7 @@ in
rec { rec {
isSignificantByte = x: typeOf x == "significant-byte"; isSignificantByte = isType "significant-byte";
significantBytes = setTypes "significant-byte" { significantBytes = setTypes "significant-byte" {
bigEndian = {}; bigEndian = {};
littleEndian = {}; littleEndian = {};
@ -37,7 +37,7 @@ rec {
}; };
isExecFormat = x: typeOf x == "exec-format"; isExecFormat = isType "exec-format";
execFormats = setTypes "exec-format" { execFormats = setTypes "exec-format" {
aout = {}; # a.out aout = {}; # a.out
elf = {}; elf = {};
@ -47,7 +47,7 @@ rec {
}; };
isKernel = x: typeOf x == "kernel"; isKernel = isType "kernel";
kernels = with execFormats; kernels = with execFormats;
setTypes "kernel" { setTypes "kernel" {
cygwin = { execFormat = pe; }; cygwin = { execFormat = pe; };
@ -61,7 +61,7 @@ rec {
}; };
isArchitecture = x: typeOf x == "architecture"; isArchitecture = isType "architecture";
architectures = setTypes "architecture" { architectures = setTypes "architecture" {
apple = {}; apple = {};
pc = {}; pc = {};

View File

@ -10,6 +10,7 @@ with import ./trivial.nix;
rec { rec {
isType = type: x: (x._type or "") == type;
hasType = x: isAttrs x && x ? _type; hasType = x: isAttrs x && x ? _type;
typeOf = x: x._type or ""; typeOf = x: x._type or "";
@ -26,7 +27,7 @@ rec {
# hasOptions (boolean: whatever this option contains an option set) # hasOptions (boolean: whatever this option contains an option set)
# delayOnGlobalEval (boolean: should properties go through the evaluation of this option) # delayOnGlobalEval (boolean: should properties go through the evaluation of this option)
# docPath (path concatenated to the option name contained in the option set) # docPath (path concatenated to the option name contained in the option set)
isOptionType = attrs: typeOf attrs == "option-type"; isOptionType = isType "option-type";
mkOptionType = mkOptionType =
{ name { name
, check ? (x: true) , check ? (x: true)

View File

@ -0,0 +1,18 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk2 }:
stdenv.mkDerivation {
name = "gtk-engine-murrine-0.98.2";
src = fetchurl {
url = "mirror://gnome/sources/murrine/0.98/murrine-0.98.2.tar.xz";
sha256 = "129cs5bqw23i76h3nmc29c9mqkm9460iwc8vkl7hs4xr07h8mip9";
};
buildInputs = [ pkgconfig intltool gtk2 ];
meta = {
description = "A very flexible theme engine";
license = stdenv.lib.licenses.lgpl3;
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -0,0 +1,20 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk2, iconnamingutils }:
stdenv.mkDerivation {
name = "mate-icon-theme-1.6.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/1.6/mate-icon-theme-1.6.1.tar.xz";
sha256 = "154x0mcsvjmz84vi94kjh8hpydny3ab9lbg58wxh1lskmbc2473x";
};
buildInputs = [ pkgconfig intltool gtk2 iconnamingutils ];
meta = {
description = "Icon themes from MATE";
homepage = "http://mate-desktop.org";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ iyzsong ];
};
}

View File

@ -0,0 +1,20 @@
{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, gtk2 }:
stdenv.mkDerivation {
name = "mate-themes-1.6.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/1.6/mate-themes-1.6.1.tar.xz";
sha256 = "0lm2kvlwj0rpznb0n2g1sh1r6nz0p45i7flbnxivl9gi632wdmfp";
};
buildInputs = [ pkgconfig intltool iconnamingutils gtk2 ];
meta = {
description = "A set of themes from MATE";
homepage = "http://mate-desktop.org";
license = stdenv.lib.licenses.lgpl21;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ iyzsong ];
};
}

View File

@ -2,7 +2,7 @@
let let
baseName = "bbswitch"; baseName = "bbswitch";
version = "0.6"; version = "0.7";
name = "${baseName}-${version}-${kernelDev.version}"; name = "${baseName}-${version}-${kernelDev.version}";
in in
@ -12,7 +12,7 @@ stdenv.mkDerivation {
src = fetchurl { src = fetchurl {
url = "https://github.com/Bumblebee-Project/${baseName}/archive/v${version}.tar.gz"; url = "https://github.com/Bumblebee-Project/${baseName}/archive/v${version}.tar.gz";
sha256 = "1y1wggfrlpxybz5cvrbvvpqa2hh6ncazzdlg9c94sx40n6p5dcf4"; sha256 = "0na6gfnvmp5fjbm430ms342hmrsbr6cf78n6hldqb8js2ry3f8dw";
}; };
preBuild = '' preBuild = ''

View File

@ -1,11 +1,15 @@
{stdenv, fetchurl }: {stdenv, fetchurl }:
stdenv.mkDerivation { let
name = "raspberrypi-firmware-20160106";
rev = "3ab17ac25e";
in stdenv.mkDerivation {
name = "raspberrypi-firmware-${rev}";
src = fetchurl { src = fetchurl {
url = "https://github.com/raspberrypi/firmware/archive/4ade27942e.tar.gz"; url = "https://github.com/raspberrypi/firmware/archive/${rev}.tar.gz";
sha256 = "0f4p920vr7dcj4hprgil8baqqbnsjx1jykz0pkdx29mqy0n0xanl"; sha256 = "080va4zz858bwwgxam8zy58gpwjpxfg7v5h1q5b4cpbzjihsxcx9";
}; };
installPhase = '' installPhase = ''

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, ... } @ args: { stdenv, fetchurl, ... } @ args:
import ./generic.nix (args // rec { import ./generic.nix (args // rec {
version = "3.4.58"; version = "3.4.59";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
sha256 = "11kcxlchiz7ks61yqj29dy2mnncfxcc7qr563wby1k58rvwf8g74"; sha256 = "19ylh9k9qykr8x29jcqv1q6agmyvzx7q5md2yxph4sykjsccqzj7";
}; };
features.iwlwifi = true; features.iwlwifi = true;

View File

@ -1,14 +1,16 @@
{ stdenv, fetchurl, ... } @ args: { stdenv, fetchurl, ... } @ args:
let rev = "91a3be5b2b"; in let
import ./generic.nix (args // rec { rev = "7849605f5a";
in import ./generic.nix (args // rec {
version = "3.6.y-${rev}"; version = "3.6.y-${rev}";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/raspberrypi/linux/tarball/${rev}"; url = "https://api.github.com/repos/raspberrypi/linux/tarball/${rev}";
name = "linux-raspberrypi-${version}.tar.gz"; name = "linux-raspberrypi-${version}.tar.gz";
sha256 = "04370b1da7610622372940decdc13ddbba2a58c9da3c3bd3e7df930a399f140d"; sha256 = "1diwc5p6az6ipcldwmkq7hb5f15nvdgwzmypixc2vmzmc4ylarxl";
}; };
features.iwlwifi = true; features.iwlwifi = true;

View File

@ -10,12 +10,7 @@ with stdenv.lib;
let let
versionNumber = "319.32"; versionNumber = "319.49";
kernel310patch = fetchurl {
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/nvidia-linux-3.10.patch?h=packages/nvidia&id=415c1daa9ccb1ec46c172b304f40929239d87af8";
name = "nvidia-linux-3.10.patch";
sha256 = "0nhzg6jdk9sf1vzj519gqi8a2n9xydhz2bcz472pss2cfgbc1ahb";
};
in in
@ -26,18 +21,18 @@ stdenv.mkDerivation {
patches = patches =
[ ./version-test.patch ] [ ./version-test.patch ]
++ optional (!libsOnly && versionAtLeast kernelDev.version "3.10") kernel310patch; ;
src = src =
if stdenv.system == "i686-linux" then if stdenv.system == "i686-linux" then
fetchurl { fetchurl {
url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}.run"; url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}.run";
sha256 = "02rjiizgb9mgal0qrklzjvfzybv139yv6za8xp045k7qdyqvsqzf"; sha256 = "1ngss9zw109a5xfr3vvhf1ajqjvvqc7j3dzw9h56vddck6kpbc22";
} }
else if stdenv.system == "x86_64-linux" then else if stdenv.system == "x86_64-linux" then
fetchurl { fetchurl {
url = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-no-compat32.run"; url = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-no-compat32.run";
sha256 = "18268q3pa6v4ygfnlm888jmp84dmg1w9c323cr51pn5jg54vygcm"; sha256 = "1i68jfms8033p2x0r3z4fdjcmkkhbi6yizzc0ck9ydagdgg3liwp";
} }
else throw "nvidia-x11 does not support platform ${stdenv.system}"; else throw "nvidia-x11 does not support platform ${stdenv.system}";

View File

@ -1,10 +1,10 @@
{ stdenv, fetchurl, kernelDev, perl, autoconf, automake, libtool, coreutils, gawk }: { stdenv, fetchurl, kernelDev, perl, autoconf, automake, libtool, coreutils, gawk }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "spl-0.6.1-${kernelDev.version}"; name = "spl-0.6.2-${kernelDev.version}";
src = fetchurl { src = fetchurl {
url = "http://archive.zfsonlinux.org/downloads/zfsonlinux/spl/spl-0.6.1.tar.gz"; url = http://archive.zfsonlinux.org/downloads/zfsonlinux/spl/spl-0.6.2.tar.gz;
sha256 = "1bnianc00bkpdbcmignzqfv9yr8h6vj56wfl7lkhi9a5m5b3xakb"; sha256 = "196scl8q0bkkak6m0p1l1fz254cgsizqm73bf9wk3iynamq7qmrw";
}; };
patches = [ ./install_prefix.patch ]; patches = [ ./install_prefix.patch ];
@ -27,6 +27,8 @@ stdenv.mkDerivation {
--with-linux-obj=${kernelDev}/lib/modules/${kernelDev.modDirVersion}/build --with-linux-obj=${kernelDev}/lib/modules/${kernelDev.modDirVersion}/build
''; '';
enableParallelBuilding = true;
meta = { meta = {
description = "Kernel module driver for solaris porting layer (needed by in-kernel zfs)"; description = "Kernel module driver for solaris porting layer (needed by in-kernel zfs)";

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, kernelDev, spl, perl, autoconf, automake, libtool, zlib, libuuid, coreutils, utillinux }: { stdenv, fetchurl, kernelDev, spl, perl, autoconf, automake, libtool, zlib, libuuid, coreutils, utillinux }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "zfs-0.6.1-${kernelDev.version}"; name = "zfs-0.6.2-${kernelDev.version}";
src = fetchurl { src = fetchurl {
url = http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.1.tar.gz; url = http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.2.tar.gz;
sha256 = "1ykph9d4p70mam6lvcx0zld6d34gch15dsilds5ncbxh0m52knl0"; sha256 = "18b5f18k8mwb17r5ippsilmp1a2sqjw9fwn0z82159dkhsadg33b";
}; };
patches = [ ./mount_zfs_prefix.patch ./nix-build.patch ]; patches = [ ./mount_zfs_prefix.patch ./nix-build.patch ];
@ -33,6 +33,8 @@ stdenv.mkDerivation {
--with-spl=${spl}/libexec/spl --with-spl=${spl}/libexec/spl
''; '';
enableParallelBuilding = true;
meta = { meta = {
description = "ZFS Filesystem Linux Kernel module"; description = "ZFS Filesystem Linux Kernel module";
longDescription = '' longDescription = ''

View File

@ -68,6 +68,8 @@ stdenv.mkDerivation rec {
ln -sv ../../../bin/smbspool $out/lib/cups/backend/smb ln -sv ../../../bin/smbspool $out/lib/cups/backend/smb
mkdir -pv $out/etc/openldap/schema mkdir -pv $out/etc/openldap/schema
cp ../examples/LDAP/samba.schema $out/etc/openldap/schema cp ../examples/LDAP/samba.schema $out/etc/openldap/schema
cp -v ../nsswitch/libnss_wins.so "$out/lib"
cp -v ../nsswitch/libnss_winbind.so "$out/lib"
'' # */ '' # */
+ stdenv.lib.optionalString (configDir == "") "touch $out/lib/smb.conf"; + stdenv.lib.optionalString (configDir == "") "touch $out/lib/smb.conf";

View File

@ -34,6 +34,6 @@ stdenv.mkDerivation {
homepage = http://duply.net/; homepage = http://duply.net/;
license = licenses.gpl2; license = licenses.gpl2;
maintainers = [ maintainers.bjornfor ]; maintainers = [ maintainers.bjornfor ];
platforms = platforms.unix; platforms = platforms.linux;
}; };
} }

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, perl, finger_bsd }:
let
version = "0.38";
in
stdenv.mkDerivation {
name = "lbdb-${version}";
src = fetchurl {
url = "http://www.spinnaker.de/debian/lbdb_${version}.tar.gz";
md5 = "a8e65f1400c90818ff324dc4fd67eba2";
};
buildInputs = [ perl finger_bsd ];
meta = {
homepage = "http://www.spinnaker.de/lbdb/";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
description = "The Little Brother's Database (lbdb)";
};
}

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl, buildPythonPackage }: { stdenv, fetchurl, buildPythonPackage }:
buildPythonPackage rec { buildPythonPackage rec {
name = "getmail-4.20.0"; name = "getmail-4.42.0";
namePrefix = ""; namePrefix = "";
src = fetchurl { src = fetchurl {
url = "http://pyropus.ca/software/getmail/old-versions/${name}.tar.gz"; url = "http://pyropus.ca/software/getmail/old-versions/${name}.tar.gz";
sha256 = "17cpyra61virk1d223w8pdwhv2qzhbwdbnrr1ab1znf4cv9m3knn"; sha256 = "0n6sxp8vwa19ffr7bagzwp0hvxfjiy43xpz9sa1qmsyjs7c3xdqj";
}; };
doCheck = false; doCheck = false;
@ -15,7 +15,7 @@ buildPythonPackage rec {
meta = { meta = {
description = "A program for retrieving mail"; description = "A program for retrieving mail";
maintainers = [ stdenv.lib.maintainers.raskin ]; maintainers = [ stdenv.lib.maintainers.raskin stdenv.lib.maintainers.iElectric ];
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;
}; };
} }

View File

@ -2,27 +2,28 @@
# restart using 'killall -TERM fcron; fcron -b # restart using 'killall -TERM fcron; fcron -b
# use convert-fcrontab to update fcrontab files # use convert-fcrontab to update fcrontab files
{ stdenv, fetchurl, perl }: { stdenv, fetchurl, perl, busybox, vim }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "fcron-3.0.4"; name = "fcron-3.1.2";
src = fetchurl { src = fetchurl {
url = http://fcron.free.fr/archives/fcron-3.0.4.src.tar.gz; url = "http://fcron.free.fr/archives/${name}.src.tar.gz";
sha256 = "15kgphsfa0nqgjd8yxyz947x2xyljj4iyh298kw4c8bz6iznqxn8"; sha256 = "0p8sn4m3frh2x2llafq2gbcm46rfrn6ck4qi0d0v3ql6mfx9k4hw";
}; };
buildInputs = [ perl ]; buildInputs = [ perl ];
configureFlags = configureFlags =
[ "--with-sendmail=/var/setuid-wrappers/sendmail" [ "--with-sendmail=${busybox}/sbin/sendmail"
"--with-editor=/var/run/current-system/sw/bin/vi" "--with-editor=${vim}/bin/vi" # TODO customizable
"--with-bootinstall=no" "--with-bootinstall=no"
"--sysconfdir=/etc" "--sysconfdir=/etc"
# fcron would have been default user/grp # fcron would have been default user/grp
"--with-username=root" "--with-username=root"
"--with-groupname=root" "--with-groupname=root"
# fcron must not try to verify that sendmail has already been installed int /var/setuid-wrappers/sendmail "--with-rootname=root"
"--with-rootgroup=root"
"--disable-checks" "--disable-checks"
]; ];
@ -52,5 +53,6 @@ stdenv.mkDerivation {
description="A command scheduler with extended capabilities over cron and anacron"; description="A command scheduler with extended capabilities over cron and anacron";
homepage = http://fcron.free.fr; homepage = http://fcron.free.fr;
license = "GPLv2"; license = "GPLv2";
platforms = stdenv.lib.platforms.all;
}; };
} }

View File

@ -1,13 +1,22 @@
{stdenv, fetchurl, unzip} : { stdenv, fetchurl, unzip, jre }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "jing-20030619"; name = "jing-20091111";
builder = ./unzip-builder.sh; builder = ./unzip-builder.sh;
src = fetchurl { src = fetchurl {
url = http://www.thaiopensource.com/download/jing-20030619.zip; url = https://jing-trang.googlecode.com/files/jing-20091111.zip;
md5 = "f9b0775d8740f16ab3df82ad3707a093"; sha256 = "134h2r22r64v5yk4v8mhl6r893dlw5vzx9daf2sj2mbbma004sap";
}; };
inherit unzip; inherit unzip jre;
}
meta = with stdenv.lib; {
description = "A RELAX NG validator in Java";
# The homepage is www.thaiopensource.com, but it links to googlecode.com
# for downloads and call it the "project site".
homepage = http://www.thaiopensource.com/relaxng/jing.html;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}

View File

@ -1,12 +0,0 @@
{stdenv, fetchurl, jre, unzip} :
stdenv.mkDerivation {
name = "jing-tools-20030619";
builder = ./script-builder.sh;
jing = (import ./default.nix) {
inherit stdenv fetchurl unzip;
};
inherit jre;
}

View File

@ -1,14 +0,0 @@
source $stdenv/setup
mkdir -p $out/bin
cat >> $out/bin/jing <<EOF
#! $SHELL
export JAVA_HOME=$jre
export LANG="en_US"
exec $jre/bin/java -jar $jing/bin/jing.jar "\$@"
EOF
chmod a+x $out/bin/jing

View File

@ -4,3 +4,11 @@ source $stdenv/setup
$unzip/bin/unzip $src $unzip/bin/unzip $src
mkdir -p $out mkdir -p $out
mv $name/* $out mv $name/* $out
cat > "$out/bin/jing" <<EOF
#! $SHELL
export JAVA_HOME="$jre"
exec "$jre/bin/java" -jar "$out/bin/jing.jar" "\$@"
EOF
chmod a+x "$out/bin/jing"

View File

@ -1,15 +1,24 @@
{stdenv, fetchurl, jre, unzip}: { stdenv, fetchurl, unzip, jre }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "trang-20030619"; name = "trang-20091111";
builder = ./builder.sh; builder = ./builder.sh;
src = fetchurl { src = fetchurl {
url = http://www.thaiopensource.com/download/trang-20030619.zip; url = https://jing-trang.googlecode.com/files/trang-20091111.zip;
md5 = "9611ea59fda0f62fecc4a5017a72984e"; sha256 = "16551j63n2y3w9lc7krjazddsab7xvdymbss4rdvx3liz4sg18yq";
}; };
buildInputs = [unzip];
inherit jre; inherit jre;
buildInputs = [ unzip ];
meta = with stdenv.lib; {
description = "Multi-format schema converter based on RELAX NG";
# The homepage is www.thaiopensource.com, but it links to googlecode.com
# for downloads and call it the "project site".
homepage = http://www.thaiopensource.com/relaxng/trang.html;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
} }

View File

@ -515,7 +515,9 @@ let
bmon = callPackage ../tools/misc/bmon { }; bmon = callPackage ../tools/misc/bmon { };
boomerang = callPackage ../development/tools/boomerang { }; boomerang = callPackage ../development/tools/boomerang {
stdenv = overrideGCC stdenv gcc47;
};
bootchart = callPackage ../tools/system/bootchart { }; bootchart = callPackage ../tools/system/bootchart { };
@ -1112,8 +1114,6 @@ let
jing = callPackage ../tools/text/xml/jing { }; jing = callPackage ../tools/text/xml/jing { };
jing_tools = callPackage ../tools/text/xml/jing/jing-script.nix { };
jnettop = callPackage ../tools/networking/jnettop { }; jnettop = callPackage ../tools/networking/jnettop { };
jq = callPackage ../development/tools/jq {}; jq = callPackage ../development/tools/jq {};
@ -3153,7 +3153,7 @@ let
libX11 = xlibs.libX11; libX11 = xlibs.libX11;
}; };
pypy = callPackage ../development/interpreters/pypy/2.0 { }; pypy = callPackage ../development/interpreters/pypy/2.1 { };
pythonFull = python27Full; pythonFull = python27Full;
python26Full = callPackage ../development/interpreters/python/wrapper.nix { python26Full = callPackage ../development/interpreters/python/wrapper.nix {
@ -4487,7 +4487,9 @@ let
libassuan2_1 = callPackage ../development/libraries/libassuan/git.nix { }; libassuan2_1 = callPackage ../development/libraries/libassuan/git.nix { };
libav = callPackage ../development/libraries/libav { }; libav = libav_9;
libav_all = callPackage ../development/libraries/libav { };
inherit (libav_all) libav_9 libav_0_8;
libavc1394 = callPackage ../development/libraries/libavc1394 { }; libavc1394 = callPackage ../development/libraries/libavc1394 { };
@ -7382,6 +7384,10 @@ let
else stdenv; else stdenv;
}; };
emacs24-nox = lowPrio (appendToName "nox" (emacs24.override {
withX = false;
}));
emacsPackages = emacs: self: let callPackage = newScope self; in rec { emacsPackages = emacs: self: let callPackage = newScope self; in rec {
inherit emacs; inherit emacs;
@ -7926,6 +7932,8 @@ let
lastwatch = callPackage ../applications/audio/lastwatch { }; lastwatch = callPackage ../applications/audio/lastwatch { };
lbdb = callPackage ../tools/misc/lbdb { };
lci = callPackage ../applications/science/logic/lci {}; lci = callPackage ../applications/science/logic/lci {};
ldcpp = callPackage ../applications/networking/p2p/ldcpp { ldcpp = callPackage ../applications/networking/p2p/ldcpp {
@ -9326,8 +9334,14 @@ let
gtk_engines = callPackage ../misc/themes/gtk2/gtk-engines { }; gtk_engines = callPackage ../misc/themes/gtk2/gtk-engines { };
gtk-engine-murrine = callPackage ../misc/themes/gtk2/gtk-engine-murrine { };
gnome_themes_standard = callPackage ../misc/themes/gnome-themes-standard { }; gnome_themes_standard = callPackage ../misc/themes/gnome-themes-standard { };
mate-icon-theme = callPackage ../misc/themes/mate-icon-theme { };
mate-themes = callPackage ../misc/themes/mate-themes { };
xfce = xfce4_10; xfce = xfce4_10;
xfce4_10 = recurseIntoAttrs (import ../desktops/xfce { inherit pkgs newScope; }); xfce4_10 = recurseIntoAttrs (import ../desktops/xfce { inherit pkgs newScope; });

View File

@ -164,7 +164,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
regexPosix = self.regexPosix_0_95_2; regexPosix = self.regexPosix_0_95_2;
split = self.split_0_2_2; split = self.split_0_2_2;
stm = self.stm_2_4_2; stm = self.stm_2_4_2;
syb = self.syb_0_4_0; syb = self.syb_0_4_1;
text = self.text_0_11_3_1; text = self.text_0_11_3_1;
transformers = self.transformers_0_3_0_0; transformers = self.transformers_0_3_0_0;
unorderedContainers = self.unorderedContainers_0_2_3_0; unorderedContainers = self.unorderedContainers_0_2_3_0;
@ -830,7 +830,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
deepseqTh = callPackage ../development/libraries/haskell/deepseq-th {}; deepseqTh = callPackage ../development/libraries/haskell/deepseq-th {};
derive = callPackage ../development/libraries/haskell/derive {}; derive = callPackage ../development/libraries/haskell/derive {
haskellSrcExts = self.haskellSrcExts_1_14_0;
};
dependentMap = callPackage ../development/libraries/haskell/dependent-map {}; dependentMap = callPackage ../development/libraries/haskell/dependent-map {};
@ -867,10 +869,6 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
directoryTree = callPackage ../development/libraries/haskell/directory-tree {}; directoryTree = callPackage ../development/libraries/haskell/directory-tree {};
distributedProcess = callPackage ../development/libraries/haskell/distributed-process {};
distributedProcessSimplelocalnet = callPackage ../development/libraries/haskell/distributed-process-simplelocalnet {};
distributedStatic = callPackage ../development/libraries/haskell/distributed-static {}; distributedStatic = callPackage ../development/libraries/haskell/distributed-static {};
distributive = callPackage ../development/libraries/haskell/distributive {}; distributive = callPackage ../development/libraries/haskell/distributive {};
@ -1077,8 +1075,6 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
libc = pkgs.stdenv.gcc.libc; libc = pkgs.stdenv.gcc.libc;
}; };
Graphalyze = callPackage ../development/libraries/haskell/Graphalyze {};
graphviz = callPackage ../development/libraries/haskell/graphviz {}; graphviz = callPackage ../development/libraries/haskell/graphviz {};
groupoids = callPackage ../development/libraries/haskell/groupoids {}; groupoids = callPackage ../development/libraries/haskell/groupoids {};
@ -1116,8 +1112,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
haskellSrc_1_0_1_5 = callPackage ../development/libraries/haskell/haskell-src/1.0.1.5.nix {}; haskellSrc_1_0_1_5 = callPackage ../development/libraries/haskell/haskell-src/1.0.1.5.nix {};
haskellSrc = self.haskellSrc_1_0_1_5; haskellSrc = self.haskellSrc_1_0_1_5;
haskellSrcExts_1_11_1 = callPackage ../development/libraries/haskell/haskell-src-exts/1.11.1.nix {};
haskellSrcExts_1_13_5 = callPackage ../development/libraries/haskell/haskell-src-exts/1.13.5.nix {}; haskellSrcExts_1_13_5 = callPackage ../development/libraries/haskell/haskell-src-exts/1.13.5.nix {};
haskellSrcExts_1_14_0 = callPackage ../development/libraries/haskell/haskell-src-exts/1.14.0.nix {};
haskellSrcExts = self.haskellSrcExts_1_13_5; haskellSrcExts = self.haskellSrcExts_1_13_5;
haskellSrcMeta = callPackage ../development/libraries/haskell/haskell-src-meta {}; haskellSrcMeta = callPackage ../development/libraries/haskell/haskell-src-meta {};
@ -1191,7 +1187,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
hoauth = callPackage ../development/libraries/haskell/hoauth {}; hoauth = callPackage ../development/libraries/haskell/hoauth {};
hoogle = callPackage ../development/libraries/haskell/hoogle {}; hoogle = callPackage ../development/libraries/haskell/hoogle {
haskellSrcExts = self.haskellSrcExts_1_14_0;
};
hopenssl = callPackage ../development/libraries/haskell/hopenssl {}; hopenssl = callPackage ../development/libraries/haskell/hopenssl {};
@ -1336,6 +1334,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
lens = callPackage ../development/libraries/haskell/lens {}; lens = callPackage ../development/libraries/haskell/lens {};
lensDatetime = callPackage ../development/libraries/haskell/lens-datetime {};
lenses = callPackage ../development/libraries/haskell/lenses {}; lenses = callPackage ../development/libraries/haskell/lenses {};
libffi = callPackage ../development/libraries/haskell/libffi { libffi = callPackage ../development/libraries/haskell/libffi {
@ -1831,7 +1831,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
strptime = callPackage ../development/libraries/haskell/strptime {}; strptime = callPackage ../development/libraries/haskell/strptime {};
stylishHaskell = callPackage ../development/libraries/haskell/stylish-haskell {}; stylishHaskell = callPackage ../development/libraries/haskell/stylish-haskell {
haskellSrcExts = self.haskellSrcExts_1_14_0;
};
syb_0_2_2 = callPackage ../development/libraries/haskell/syb/0.2.2.nix {}; syb_0_2_2 = callPackage ../development/libraries/haskell/syb/0.2.2.nix {};
syb_0_3 = callPackage ../development/libraries/haskell/syb/0.3.nix {}; syb_0_3 = callPackage ../development/libraries/haskell/syb/0.3.nix {};
@ -1840,6 +1842,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
syb_0_3_6_2 = callPackage ../development/libraries/haskell/syb/0.3.6.2.nix {}; syb_0_3_6_2 = callPackage ../development/libraries/haskell/syb/0.3.6.2.nix {};
syb_0_3_7 = callPackage ../development/libraries/haskell/syb/0.3.7.nix {}; syb_0_3_7 = callPackage ../development/libraries/haskell/syb/0.3.7.nix {};
syb_0_4_0 = callPackage ../development/libraries/haskell/syb/0.4.0.nix {}; syb_0_4_0 = callPackage ../development/libraries/haskell/syb/0.4.0.nix {};
syb_0_4_1 = callPackage ../development/libraries/haskell/syb/0.4.1.nix {};
syb = null; # by default, we assume that syb ships with GHC, which is syb = null; # by default, we assume that syb ships with GHC, which is
# true for the older GHC versions # true for the older GHC versions
@ -1925,6 +1928,12 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
tagstreamConduit = callPackage ../development/libraries/haskell/tagstream-conduit {}; tagstreamConduit = callPackage ../development/libraries/haskell/tagstream-conduit {};
tasty = callPackage ../development/libraries/haskell/tasty {};
tastyHunit = callPackage ../development/libraries/haskell/tasty-hunit {};
tastySmallcheck = callPackage ../development/libraries/haskell/tasty-smallcheck {};
templateDefault = callPackage ../development/libraries/haskell/template-default {}; templateDefault = callPackage ../development/libraries/haskell/template-default {};
temporary = callPackage ../development/libraries/haskell/temporary {}; temporary = callPackage ../development/libraries/haskell/temporary {};
@ -2290,14 +2299,12 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
hasktags = callPackage ../development/tools/haskell/hasktags {}; hasktags = callPackage ../development/tools/haskell/hasktags {};
hlint = callPackage ../development/tools/haskell/hlint {}; hlint = callPackage ../development/tools/haskell/hlint {
haskellSrcExts = self.haskellSrcExts_1_14_0;
};
hslogger = callPackage ../development/tools/haskell/hslogger {}; hslogger = callPackage ../development/tools/haskell/hslogger {};
SourceGraph = callPackage ../development/tools/haskell/SourceGraph {
haskellSrcExts = self.haskellSrcExts_1_11_1;
};
tar = callPackage ../development/libraries/haskell/tar {}; tar = callPackage ../development/libraries/haskell/tar {};
threadscope = callPackage ../development/tools/haskell/threadscope {}; threadscope = callPackage ../development/tools/haskell/threadscope {};

File diff suppressed because it is too large Load Diff

View File

@ -74,6 +74,7 @@
, "generator-angular" , "generator-angular"
, "statsd" , "statsd"
, "karma" , "karma"
, "ungit"
, { "node-uptime": "https://github.com/fzaninotto/uptime/tarball/1c65756575f90f563a752e2a22892ba2981c79b7" } , { "node-uptime": "https://github.com/fzaninotto/uptime/tarball/1c65756575f90f563a752e2a22892ba2981c79b7" }
, { "guifi-earth": "https://github.com/jmendeth/guifi-earth/tarball/f3ee96835fd4fb0e3e12fadbd2cb782770d64854 " } , { "guifi-earth": "https://github.com/jmendeth/guifi-earth/tarball/f3ee96835fd4fb0e3e12fadbd2cb782770d64854 " }
] ]

View File

@ -1,4 +1,4 @@
{ pkgs, stdenv, nodejs, fetchurl, neededNatives, self }: { pkgs, stdenv, nodejs, fetchurl, neededNatives, self, generated ? ./node-packages-generated.nix }:
{ {
nativeDeps = { nativeDeps = {
@ -23,4 +23,4 @@
''; '';
/* Put manual packages below here (ideally eventually managed by npm2nix */ /* Put manual packages below here (ideally eventually managed by npm2nix */
} // import ./node-packages-generated.nix { inherit self fetchurl; inherit (pkgs) lib; } } // import generated { inherit self fetchurl; inherit (pkgs) lib; }

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More