1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

Merge remote-tracking branch 'upstream/master' into plowshare

This commit is contained in:
Alexander Foremny 2012-09-25 17:45:50 +02:00
commit d73b69716a
142 changed files with 880 additions and 1181 deletions

View file

@ -1,22 +1,32 @@
{ stdenv, fetchurl, emacs, texinfo }:
{ stdenv, fetchurl, emacs, texinfo, unzip }:
let
version = "1.1.1";
version = "1.2.0";
in
stdenv.mkDerivation {
name = "magit-${version}";
src = fetchurl {
url = "http://github.com/downloads/magit/magit/magit-${version}.tar.gz";
sha256 = "0zp5qxippmalin2fr73w2alf2w7ilcahmybzdvgn4ch2s3dgvzcz";
url = "https://github.com/magit/magit/zipball/${version}";
sha256 = "1877s8ikvcb457mmljmw366h6pgg4zzx98qfazhqj8snl4yqsj4i";
name = "magit-${version}.zip";
};
buildInputs = [emacs texinfo];
buildInputs = [ emacs texinfo unzip ];
configurePhase = "makeFlagsArray=( PREFIX=$out SYSCONFDIR=$out/etc )";
# Add (require 'magit-site-init) to your ~/.emacs file to set-up magit mode.
postInstall = ''
mv $out/etc/emacs/site-start.d/50magit.el $out/share/emacs/site-lisp/magit-site-init.el
sed -i -e 's|50magit|magit-site-init|' $out/share/emacs/site-lisp/magit-site-init.el
rmdir $out/etc/emacs/site-start.d $out/etc/emacs $out/etc
'';
meta = {
homepage = "https://github.com/magit/magit";
description = "Magit, an Emacs interface to Git";
license = "GPLv3+";
longDescription = ''
With Magit, you can inspect and modify your Git repositories with
@ -30,8 +40,6 @@ stdenv.mkDerivation {
save you from learning Git itself.
'';
license = "GPLv3+";
homepage = "https://github.com/magit/magit";
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers; [ simons ludo ];
};

View file

@ -46,14 +46,14 @@ composableDerivation {} {
;
cfg = {
pythonSupport = getConfig [ "vim" "python" ] true;
darwinSupport = getConfig [ "vim" "darwin" ] false;
nlsSupport = getConfig [ "vim" "nls" ] false;
tclSupport = getConfig [ "vim" "tcl" ] false;
multibyteSupport = getConfig [ "vim" "multibyte" ] false;
cscopeSupport = getConfig [ "vim" "cscope" ] false;
pythonSupport = config.vim.python or true;
darwinSupport = config.vim.darwin or false;
nlsSupport = config.vim.nls or false;
tclSupport = config.vim.tcl or false;
multibyteSupport = config.vim.multibyte or false;
cscopeSupport = config.vim.cscope or false;
# add .nix filetype detection and minimal syntax highlighting support
ftNixSupport = getConfig [ "vim" "ftNix" ] true;
ftNixSupport = config.vim.ftNix or true;
};
#--enable-gui=OPTS X11 GUI default=auto OPTS=auto/no/gtk/gtk2/gnome/gnome2/motif/athena/neXtaw/photon/carbon

View file

@ -4,11 +4,11 @@
, python, pygtk, libart_lgpl, libexif, gettext, xlibs }:
stdenv.mkDerivation rec {
name = "gimp-2.8.0";
name = "gimp-2.8.2";
src = fetchurl {
url = "ftp://ftp.gimp.org/pub/gimp/v2.8/${name}.tar.bz2";
md5 = "28997d14055f15db063eb92e1c8a7ebb";
md5 = "b542138820ca3a41cbd63fc331907955";
};
buildInputs =

View file

@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
"-DPYTHON_LIBPATH=${python}/lib"
];
NIX_CFLAGS_COMPILE = "-iquote ${ilmbase}/include/OpenEXR -I${python}/include/${python.libPrefix}";
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR -I${python}/include/${python.libPrefix}";
enableParallelBuilding = true;
meta = {
description = "3D Creation/Animation/Publishing System";

View file

@ -1,4 +1,4 @@
{getConfig, ...}@a:
{ config, ... }@a:
# You can set gui by exporting GRASS_GUI=..
# see http://grass.itc.it/gdp/html_grass64/g.gui.html
@ -36,31 +36,31 @@ a.composableDerivation.composableDerivation {} (fix: {
];
cfg = {
_64bitSupport = getConfig ["grass" "64bitSupport"] true;
cursesSupport = getConfig ["grass" "curses"] true;
gdalSupport = getConfig ["grass" "gdal"] true;
pythonSupport = getConfig ["grass" "python"] true;
wxwidgetsSupport = getConfig ["grass" "wxwidgets"] true;
readlineSupport = getConfig ["grass" "readline"] true;
jpegSupport = getConfig ["grass" "jpeg"] true;
tiffSupport = getConfig ["grass" "tiff"] true;
pngSupport = getConfig ["grass" "png"] true;
tcltkSupport = getConfig ["grass" "tcltk"] true;
postgresSupport = getConfig ["grass" "postgres"] true;
mysqlSupport = getConfig ["grass" "mysql"] true;
sqliteSupport = getConfig ["grass" "sqlite"] true;
ffmpegSupport = getConfig ["grass" "ffmpeg"] true;
openglSupport = getConfig ["grass" "opengl"] true;
odbcSupport = getConfig ["grass" "odbc"] false; # fails to find libodbc - why ?
fftwSupport = getConfig ["grass" "fftw"] true;
blasSupport = getConfig ["grass" "blas"] true;
lapackSupport = getConfig ["grass" "lapack"] true;
cairoSupport = getConfig ["grass" "cairo"] true;
motifSupport = getConfig ["grass" "motif"] true;
freetypeSupport = getConfig ["grass" "freetype"] true;
projSupport = getConfig ["grass" "proj"] true;
opendwgSupport = getConfig ["grass" "dwg"] false;
largefileSupport = getConfig ["grass" "largefile"] true;
_64bitSupport = config.grass."64bitSupport" or true;
cursesSupport = config.grass.curses or true;
gdalSupport = config.grass.gdal or true;
pythonSupport = config.grass.python or true;
wxwidgetsSupport = config.grass.wxwidgets or true;
readlineSupport = config.grass.readline or true;
jpegSupport = config.grass.jpeg or true;
tiffSupport = config.grass.tiff or true;
pngSupport = config.grass.png or true;
tcltkSupport = config.grass.tcltk or true;
postgresSupport = config.grass.postgres or true;
mysqlSupport = config.grass.mysql or true;
sqliteSupport = config.grass.sqlite or true;
ffmpegSupport = config.grass.ffmpeg or true;
openglSupport = config.grass.opengl or true;
odbcSupport = config.grass.odbc or false; # fails to find libodbc - why ?
fftwSupport = config.grass.fftw or true;
blasSupport = config.grass.blas or true;
lapackSupport = config.grass.lapack or true;
cairoSupport = config.grass.cairo or true;
motifSupport = config.grass.motif or true;
freetypeSupport = config.grass.freetype or true;
projSupport = config.grass.proj or true;
opendwgSupport = config.grass.dwg or false;
largefileSupport = config.grass.largefile or true;
};
# ?? NLS support: no

View file

@ -1,4 +1,4 @@
{ stdenv, getConfig, fetchurl, makeWrapper, which
{ stdenv, config, fetchurl, makeWrapper, which
# default dependencies
, bzip2, flac, speex
@ -22,10 +22,12 @@
, libselinux # config.selinux
}:
let
mkConfigurable = stdenv.lib.mapAttrs (flag: default: getConfig ["chromium" flag] default);
with stdenv.lib;
config = mkConfigurable {
let
mkConfigurable = mapAttrs (flag: default: attrByPath ["chromium" flag] default config);
cfg = mkConfigurable {
channel = "stable";
selinux = false;
nacl = false;
@ -34,18 +36,19 @@ let
gnomeKeyring = false;
proprietaryCodecs = true;
cups = false;
pulseaudio = getConfig ["pulseaudio"] true;
pulseaudio = config.pulseaudio or true;
};
sourceInfo = builtins.getAttr config.channel (import ./sources.nix);
sourceInfo = builtins.getAttr cfg.channel (import ./sources.nix);
mkGypFlags = with stdenv.lib; let
sanitize = value:
if value == true then "1"
else if value == false then "0"
else "${value}";
toFlag = key: value: "-D${key}=${sanitize value}";
in attrs: concatStringsSep " " (attrValues (mapAttrs toFlag attrs));
mkGypFlags =
let
sanitize = value:
if value == true then "1"
else if value == false then "0"
else "${value}";
toFlag = key: value: "-D${key}=${sanitize value}";
in attrs: concatStringsSep " " (attrValues (mapAttrs toFlag attrs));
gypFlagsUseSystemLibs = {
use_system_bzip2 = true;
@ -56,7 +59,7 @@ let
use_system_libpng = true;
use_system_libxml = true;
use_system_speex = true;
use_system_ssl = config.openssl;
use_system_ssl = cfg.openssl;
use_system_stlport = true;
use_system_xdg_utils = true;
use_system_yasm = true;
@ -78,12 +81,12 @@ let
];
seccompPatch = let
pre22 = stdenv.lib.versionOlder sourceInfo.version "22.0.0.0";
pre22 = versionOlder sourceInfo.version "22.0.0.0";
in if pre22 then ./enable_seccomp.patch else ./enable_seccomp22.patch;
# XXX: this reverts r151720 to prevent http://crbug.com/143623
maybeRevertZlibChanges = let
below22 = stdenv.lib.versionOlder sourceInfo.version "22.0.0.0";
below22 = versionOlder sourceInfo.version "22.0.0.0";
patch = fetchurl {
name = "revert-r151720";
url = "http://git.chromium.org/gitweb/?p=chromium.git;a=commitdiff_plain;"
@ -91,7 +94,7 @@ let
+ "h=0fabb4fda7059a8757422e8a44e70deeab28e698";
sha256 = "0n0d6mkg89g8q63cifapzpg9dxfs2n6xvk4k13szhymvf67b77pf";
};
in stdenv.lib.optional (!below22) patch;
in optional (!below22) patch;
in stdenv.mkDerivation rec {
name = "${packageName}-${version}";
@ -108,28 +111,28 @@ in stdenv.mkDerivation rec {
which makeWrapper
python perl pkgconfig
nspr udev
(if config.openssl then openssl else nss)
(if cfg.openssl then openssl else nss)
utillinux alsaLib
gcc bison gperf
krb5
glib gtk dbus_glib
libXScrnSaver libXcursor mesa
] ++ stdenv.lib.optional config.gnomeKeyring libgnome_keyring
++ stdenv.lib.optionals config.gnome [ gconf libgcrypt ]
++ stdenv.lib.optional config.selinux libselinux
++ stdenv.lib.optional config.cups libgcrypt
++ stdenv.lib.optional config.pulseaudio pulseaudio;
] ++ optional cfg.gnomeKeyring libgnome_keyring
++ optionals cfg.gnome [ gconf libgcrypt ]
++ optional cfg.selinux libselinux
++ optional cfg.cups libgcrypt
++ optional cfg.pulseaudio pulseaudio;
opensslPatches = stdenv.lib.optional config.openssl openssl.patches;
opensslPatches = optional cfg.openssl openssl.patches;
prePatch = "patchShebangs .";
patches = stdenv.lib.optional (!config.selinux) seccompPatch
++ stdenv.lib.optional config.cups ./cups_allow_deprecated.patch
++ stdenv.lib.optional config.pulseaudio ./pulseaudio_array_bounds.patch
patches = optional (!cfg.selinux) seccompPatch
++ optional cfg.cups ./cups_allow_deprecated.patch
++ optional cfg.pulseaudio ./pulseaudio_array_bounds.patch
++ maybeRevertZlibChanges;
postPatch = stdenv.lib.optionalString config.openssl ''
postPatch = optionalString cfg.openssl ''
cat $opensslPatches | patch -p1 -d third_party/openssl/openssl
'';
@ -137,21 +140,21 @@ in stdenv.mkDerivation rec {
linux_use_gold_binary = false;
linux_use_gold_flags = false;
proprietary_codecs = false;
use_gnome_keyring = config.gnomeKeyring;
use_gconf = config.gnome;
use_gio = config.gnome;
use_pulseaudio = config.pulseaudio;
disable_nacl = !config.nacl;
use_openssl = config.openssl;
selinux = config.selinux;
use_cups = config.cups;
} // stdenv.lib.optionalAttrs config.proprietaryCodecs {
use_gnome_keyring = cfg.gnomeKeyring;
use_gconf = cfg.gnome;
use_gio = cfg.gnome;
use_pulseaudio = cfg.pulseaudio;
disable_nacl = !cfg.nacl;
use_openssl = cfg.openssl;
selinux = cfg.selinux;
use_cups = cfg.cups;
} // optionalAttrs cfg.proprietaryCodecs {
# enable support for the H.264 codec
proprietary_codecs = true;
ffmpeg_branding = "Chrome";
} // stdenv.lib.optionalAttrs (stdenv.system == "x86_64-linux") {
} // optionalAttrs (stdenv.system == "x86_64-linux") {
target_arch = "x64";
} // stdenv.lib.optionalAttrs (stdenv.system == "i686-linux") {
} // optionalAttrs (stdenv.system == "i686-linux") {
target_arch = "ia32";
});
@ -203,11 +206,11 @@ in stdenv.mkDerivation rec {
done
'';
meta = with stdenv.lib; {
meta = {
description = "Chromium, an open source web browser";
homepage = http://www.chromium.org/;
maintainers = with stdenv.lib.maintainers; [ goibhniu chaoflow ];
maintainers = with maintainers; [ goibhniu chaoflow ];
license = licenses.bsd3;
platforms = with stdenv.lib.platforms; linux;
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,45 @@
{stdenv, fetchurl, zlib, openssl, libre, librem, pkgconfig
, cairo, mpg123, gstreamer, gst_ffmpeg, gst_plugins_base, gst_plugins_bad
, gst_plugins_good, alsaLib, SDL, libv4l, celt, libsndfile, srtp, ffmpeg
, gsm, speex, portaudio, spandsp, libuuid
}:
stdenv.mkDerivation rec {
version = "0.4.2";
name = "baresip-${version}";
src=fetchurl {
url = "http://www.creytiv.com/pub/baresip-${version}.tar.gz";
sha256 = "3ac15b3d3cf17b2417ba871e7eaaaf41ab10cb30b900adcee357d5e91ea033e7";
};
buildInputs = [zlib openssl libre librem pkgconfig
cairo mpg123 gstreamer gst_ffmpeg gst_plugins_base gst_plugins_bad gst_plugins_good
alsaLib SDL libv4l celt libsndfile srtp ffmpeg gsm speex portaudio spandsp libuuid
];
makeFlags = [
"LIBRE_MK=${libre}/share/re/re.mk"
"LIBRE_INC=${libre}/include/re"
"LIBRE_SO=${libre}/lib"
"LIBREM_PATH=${librem}"
''PREFIX=$(out)''
"USE_VIDEO=1"
"USE_ALSA=1" "USE_AMR=1" "USE_CAIRO=1" "USE_CELT=1"
"USE_CONS=1" "USE_EVDEV=1" "USE_FFMPEG=1" "USE_GSM=1" "USE_GST=1"
"USE_L16=1" "USE_MPG123=1" "USE_OSS=1" "USE_PLC=1"
"USE_PORTAUDIO=1" "USE_SDL=1" "USE_SNDFILE=1" "USE_SPEEX=1"
"USE_SPEEX_AEC=1" "USE_SPEEX_PP=1" "USE_SPEEX_RESAMP=1" "USE_SRTP=1"
"USE_STDIO=1" "USE_SYSLOG=1" "USE_UUID=1" "USE_V4L2=1" "USE_X11=1"
"USE_BV32=" "USE_COREAUDIO=" "USE_G711=" "USE_G722=" "USE_G722_1="
"USE_ILBC=" "USE_OPUS=" "USE_SILK="
]
++ stdenv.lib.optional (stdenv.gcc.gcc != null) "SYSROOT_ALT=${stdenv.gcc.gcc}"
++ stdenv.lib.optional (stdenv.gcc.libc != null) "SYSROOT=${stdenv.gcc.libc}"
;
NIX_CFLAGS_COMPILE='' -I${librem}/include/rem -I${gsm}/include/gsm '';
meta = {
homepage = "http://www.creytiv.com/baresip.html";
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [raskin];
license = with stdenv.lib.licenses; bsd3;
};
}

View file

@ -8,7 +8,8 @@ let
pkgconfig makeWrapper libglade pyopenssl libXScrnSaver
libXt xproto libXext xextproto libX11 gtkspell aspell
scrnsaverproto pycrypto pythonDBus pythonSexy
docutils pyasn1
docutils pyasn1 farstream gst_plugins_bad gstreamer
gst_ffmpeg gst_python
];
in
rec {
@ -37,6 +38,7 @@ rec {
sed -e 's^'"$i"'^'"$out/bin-wrapped/$name"'^' -i "$out/bin/$name"
sed -e "2aexport LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH\''${LD_LIBRARY_PATH:+:}${a.gtkspell}/lib:${a.gtkspell}/lib64\"" -i "$out/bin/gajim"
sed -e "2aexport NIX_LDFLAGS=\"\$NIX_LDFLAGS -L${a.gtkspell}/lib -L${a.gtkspell}/lib64\"" -i "$out/bin/gajim"
sed -e "2aexport GST_PLUGIN_PATH=\"\$GST_PLUGIN_PATH''${GST_PLUGIN_PATH:+:}$(echo ${a.gst_plugins_bad}/lib/gstreamer-*):$(echo ${a.gst_ffmpeg}/lib/gstreamer-*):$(echo ${a.farstream}/lib/gstreamer-*)\"" -i "$out/bin/gajim"
done
'') ["wrapBinContentsPython"];

View file

@ -15,6 +15,10 @@ cabal.mkDerivation (self: {
zlib
];
extraLibraries = [ curl ];
postInstall = ''
mkdir -p $out/etc/bash_completion.d
mv contrib/darcs_completion $out/etc/bash_completion.d/darcs
'';
meta = {
homepage = "http://darcs.net/";
description = "a distributed, interactive, smart revision control system";

View file

@ -9,7 +9,7 @@
let
version = "1.7.12";
version = "1.7.12.1";
svn = subversionClient.override { perlBindings = true; };
@ -20,7 +20,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://git-core.googlecode.com/files/git-${version}.tar.gz";
sha256 = "3b8661782dc280d3d4be5193bcb8a1895c1ba272cf02efb70857bbcc4415f505";
sha256 = "a0c2b7e122ac2e40fe5b69baeeaac24b237a1341f08ba848cadaa835a0dbcfcd";
};
patches = [ ./docbook2texi.patch ];

View file

@ -9,8 +9,8 @@
The documentation is availible at http://github.com/MarcWeber/nix-repository-manager/raw/master/README
*/
{ getConfig }:
{ config }:
localTarName: publishedSrcSnapshot:
if getConfig ["sourceFromHead" "useLocalRepos"] false then
"${getConfig ["sourceFromHead" "managedRepoDir"] "/set/sourceFromHead.managedRepoDir/please"}/dist/${localTarName}"
if config.sourceFromHead.useLocalRepos or false then
"${config.sourceFromHead.managedRepoDir or "/set/sourceFromHead.managedRepoDir/please"}/dist/${localTarName}"
else publishedSrcSnapshot

View file

@ -1,4 +1,4 @@
{ kde, gcc, cmake, perl
{ kde, gcc, cmake, perl, aspell
, qt4, bzip2, pcre, fam, libxml2, libxslt, shared_mime_info, giflib, jasper
, openexr, avahi, kerberos, acl, attr, shared_desktop_ontologies, libXScrnSaver
, automoc4, strigi, soprano, qca2, attica, enchant, libdbusmenu_qt
@ -10,7 +10,7 @@ kde {
buildInputs =
[ acl attr attica avahi bzip2 enchant fam getopt giflib herqq jasper
libdbusmenu_qt libXScrnSaver libxslt pcre polkit_qt_1 qca2
shared_desktop_ontologies xz udev libxml2 libjpeg kerberos
shared_desktop_ontologies xz udev libxml2 libjpeg kerberos aspell
];
propagatedBuildInputs = [ qt4 soprano strigi phonon ];

View file

@ -1,18 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, libxfcegui4, gtk }:
stdenv.mkDerivation rec {
name = "mousepad-0.2.16";
src = fetchurl {
url = "http://archive.xfce.org/src/apps/mousepad/0.2/${name}.tar.bz2";
sha1 = "4e63033e0a71578f3ec9a0d2e6a505efd0424ef9";
};
buildInputs = [ pkgconfig intltool libxfce4util libxfcegui4 gtk ];
meta = {
homepage = http://www.xfce.org/projects/mousepad/;
description = "A simple text editor for Xfce";
license = "GPLv2+";
};
}

View file

@ -1,24 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, libexif, gtk, thunar
, exo, dbus_glib, libxfce4util, libxfcegui4, xfconf }:
stdenv.mkDerivation rec {
name = "ristretto-0.0.22";
src = fetchurl {
url = "http://archive.xfce.org/src/apps/ristretto/0.0/${name}.tar.gz";
sha1 = "bddbc8618ba67699ccf5ee4ea0b538b1be7fdb0a";
};
buildInputs =
[ pkgconfig intltool libexif gtk thunar exo dbus_glib
libxfce4util libxfcegui4 xfconf
];
NIX_LDFLAGS = "-lX11";
meta = {
homepage = http://goodies.xfce.org/projects/applications/ristretto;
description = "A fast and lightweight picture-viewer for the Xfce desktop environment";
license = "GPLv2+";
};
}

View file

@ -1,23 +0,0 @@
{ stdenv, fetchurl
, pkgconfig, ncurses
, intltool, vte
, exo, libxfce4util
, gtk
}:
stdenv.mkDerivation {
name = "xfce-terminal-0.4.5";
src = fetchurl {
url = http://archive.xfce.org/src/apps/terminal/0.4/Terminal-0.4.5.tar.bz2;
sha256 = "14w8mhmyrq6dd9574zfvq0pymknljckq6qgcv1r6c1r22jydrzcj";
};
buildInputs = [ pkgconfig intltool exo gtk vte libxfce4util ncurses ];
meta = {
homepage = http://www.xfce.org/projects/terminal;
description = "A modern terminal emulator primarily for the Xfce desktop environment";
license = "GPLv2+";
};
}

View file

@ -1,38 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, gstreamer, gst_plugins_base
, gtk, libxfce4util, libxfcegui4, xfce4panel, xfconf, makeWrapper }:
let
# The usual Gstreamer plugins package has a zillion dependencies
# that we don't need for a simple mixer, so build a minimal package.
gst_plugins_minimal = gst_plugins_base.override {
minimalDeps = true;
};
in
stdenv.mkDerivation rec {
name = "xfce4-mixer-4.6.1";
src = fetchurl {
url = "http://archive.xfce.org/src/apps/xfce4-mixer/4.6/${name}.tar.bz2";
sha1 = "e86163782fc4fc31671c7cb212d23d34106ad3af";
};
buildInputs =
[ pkgconfig intltool glib gstreamer gst_plugins_minimal gtk
libxfce4util libxfcegui4 xfce4panel xfconf makeWrapper
];
postInstall =
''
mkdir -p $out/nix-support
echo ${gst_plugins_minimal} > $out/nix-support/propagated-user-env-packages
'';
meta = {
homepage = http://www.xfce.org/projects/xfce4-mixer;
description = "A volume control application for the Xfce desktop environment";
license = "GPLv2+";
};
}

View file

@ -1,24 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk, dbus_glib, xfconf
, libxfcegui4, libxfce4util, libnotify, xfce4panel }:
stdenv.mkDerivation rec {
name = "xfce4-power-manager-0.8.5";
src = fetchurl {
url = "http://archive.xfce.org/src/apps/xfce4-power-manager/0.8/${name}.tar.bz2";
sha1 = "b1ce0f120733ec1a6267d50ba5c2990bbbbccfd4";
};
buildInputs =
[ pkgconfig intltool gtk dbus_glib xfconf libxfcegui4 libxfce4util
libnotify xfce4panel
];
NIX_CFLAGS_COMPILE = "-I${libxfcegui4}/include/xfce4";
meta = {
homepage = http://goodies.xfce.org/projects/applications/xfce4-power-manager;
description = "A power manager for the Xfce Desktop Environment";
license = "GPLv2+";
};
}

View file

@ -1,17 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk }:
stdenv.mkDerivation rec {
name = "xfce4-icon-theme-4.4.3";
src = fetchurl {
url = "http://archive.xfce.org/src/art/xfce4-icon-theme/4.4/${name}.tar.bz2";
sha1 = "0c0d0c45cd4a7f609310db8e9d17c1c4a131a6e7";
};
buildInputs = [ pkgconfig intltool gtk ];
meta = {
homepage = http://www.xfce.org/;
description = "Icons for Xfce";
};
}

View file

@ -1,21 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, URI, glib, gtk, libxfce4util
, enableHAL ? true, hal, dbus_glib }:
stdenv.mkDerivation rec {
name = "exo-0.3.107";
src = fetchurl {
url = "http://archive.xfce.org/xfce/4.6.2/src/${name}.tar.bz2";
sha256 = "18z2xmdl577r60ln2waai10dd7i384k0bxrmf7gchrxd9c9aq4ha";
};
buildInputs =
[ pkgconfig intltool URI glib gtk libxfce4util ] ++
stdenv.lib.optionals enableHAL [ hal dbus_glib ];
meta = {
homepage = http://www.xfce.org/projects/exo;
description = "Application library for the Xfce desktop environment";
license = "GPLv2+";
};
}

View file

@ -1,19 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk }:
stdenv.mkDerivation rec {
name = "gtk-xfce-engine-2.6.0";
src = fetchurl {
url = "http://archive.xfce.org/xfce/4.6.2/src/${name}.tar.bz2";
sha1 = "a7be2f330833d150c5fb37f68a4c2138348b5446";
};
buildInputs =
[ pkgconfig intltool gtk ];
meta = {
homepage = http://www.xfce.org/;
description = "GTK+ theme engine for Xfce";
license = "GPLv2+";
};
}

View file

@ -1,18 +0,0 @@
{ stdenv, fetchurl, pkgconfig, glib, intltool, gtk, libxfce4util }:
stdenv.mkDerivation rec {
name = "libxfce4menu-4.6.2";
src = fetchurl {
url = "http://archive.xfce.org/xfce-4.6.2/src/${name}.tar.bz2";
sha1 = "32a85c1ad31360347d5a2f240c4ddc08b444d124";
};
buildInputs = [ pkgconfig glib intltool gtk libxfce4util ];
meta = {
homepage = http://www.xfce.org/;
description = "Xfce menu support library";
license = "LGPLv2+";
};
}

View file

@ -1,18 +0,0 @@
{ stdenv, fetchurl, pkgconfig, glib, intltool }:
stdenv.mkDerivation rec {
name = "libxfce4util-4.6.2";
src = fetchurl {
url = "http://archive.xfce.org/xfce-4.6.2/src/${name}.tar.bz2";
sha256 = "10wcw7r8cjb0farffic037pcjr5bwrjrm8s3jrcb7c0b038pwbmf";
};
buildInputs = [ pkgconfig glib intltool ];
meta = {
homepage = http://www.xfce.org/;
description = "Basic utility non-GUI functions for Xfce";
license = "bsd";
};
}

View file

@ -1,29 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, xfconf
, libglade, libstartup_notification }:
stdenv.mkDerivation rec {
name = "libxfcegui4-4.6.4";
src = fetchurl {
url = "http://archive.xfce.org/xfce-4.6.2/src/${name}.tar.bz2";
sha1 = "a12c79f8fa14c5d1fc0fca5615a451b7d23f8695";
};
# By default, libxfcegui4 tries to install into libglade's prefix.
# Install into our own prefix instead.
preConfigure =
''
configureFlags="--with-libglade-module-path=$out/lib/libglade/2.0"
'';
buildInputs =
[ pkgconfig intltool gtk libxfce4util xfconf libglade
libstartup_notification
];
meta = {
homepage = http://www.xfce.org/;
description = "Basic GUI library for Xfce";
license = "LGPLv2+";
};
}

View file

@ -1,25 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, exo, gtk, libxfce4util
, dbus_glib, libstartup_notification, xfconf, hal, xfce4panel
, gamin }:
stdenv.mkDerivation rec {
name = "thunar-1.0.2";
src = fetchurl {
url = http://archive.xfce.org/xfce/4.6.2/src/Thunar-1.0.2.tar.bz2;
sha1 = "f7ae00c32402e4bc502aba15477b78e2c558c7c3";
};
buildInputs =
[ pkgconfig intltool exo gtk libxfce4util
dbus_glib libstartup_notification xfconf xfce4panel gamin
];
propagatedBuildInputs = [ hal ];
meta = {
homepage = http://thunar.xfce.org/;
description = "Xfce file manager";
license = "GPLv2+";
};
}

View file

@ -1,20 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfcegui4 }:
stdenv.mkDerivation rec {
name = "xfce-utils-4.6.2";
src = fetchurl {
url = "http://archive.xfce.org/xfce/4.6.2/src/${name}.tar.bz2";
sha1 = "6373886c3d70e576859741bde747a235567ffd8e";
};
configureFlags = "--with-xsession-prefix=$(out)/share/xsessions";
buildInputs = [ pkgconfig intltool gtk libxfce4util libxfcegui4 ];
meta = {
homepage = http://www.xfce.org/;
description = "Utilities and scripts for Xfce";
license = "GPLv2+";
};
}

View file

@ -1,24 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfcegui4
, libwnck, exo, libstartup_notification }:
stdenv.mkDerivation rec {
name = "xfce4-panel-4.6.4";
src = fetchurl {
url = "http://archive.xfce.org/xfce/4.6.2/src/${name}.tar.bz2";
sha1 = "d2b310c036be84ed9886c06ae35b7a1a8eabfcb8";
};
buildInputs =
[ pkgconfig intltool gtk libxfce4util exo libwnck
libstartup_notification
];
propagatedBuildInputs = [ libxfcegui4 ];
meta = {
homepage = http://www.xfce.org/;
description = "Xfce panel";
license = "GPLv2+";
};
}

View file

@ -1,22 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfcegui4
, libwnck, dbus_glib, xfconf, libglade, xorg }:
stdenv.mkDerivation rec {
name = "xfce4-session-4.6.2";
src = fetchurl {
url = "http://archive.xfce.org/xfce/4.6.2/src/${name}.tar.bz2";
sha1 = "2a5778a1543f97845f118a186e2dbb8a8ea3ff4b";
};
buildInputs =
[ pkgconfig intltool gtk libxfce4util libxfcegui4 libwnck dbus_glib
xfconf libglade xorg.iceauth
];
meta = {
homepage = http://www.xfce.org/;
description = "Session manager for Xfce";
license = "GPLv2+";
};
}

View file

@ -1,24 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, exo, gtk, libxfce4util, libxfcegui4
, libglade, xfconf, xorg, libwnck, libnotify }:
stdenv.mkDerivation rec {
name = "xfce4-settings-4.6.5";
src = fetchurl {
url = "http://archive.xfce.org/xfce/4.6.2/src/${name}.tar.bz2";
sha1 = "c036cc2f3100a46b2649e678dff7c0106b219263";
};
buildInputs =
[ pkgconfig intltool exo gtk libxfce4util libxfcegui4 libglade
xfconf xorg.libXi xorg.libXcursor libwnck libnotify
#gtk libxfce4util libxfcegui4 libwnck dbus_glib
#xfconf libglade xorg.iceauth
];
meta = {
homepage = http://www.xfce.org/;
description = "Settings manager for Xfce";
license = "GPLv2+";
};
}

View file

@ -1,20 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, libxfce4util, dbus_glib }:
stdenv.mkDerivation rec {
name = "xfconf-4.6.2";
src = fetchurl {
url = "http://archive.xfce.org/xfce/4.6.2/src/${name}.tar.bz2";
sha1 = "2b9656a1b7f323d2600ddc929191afb50c8018f8";
};
buildInputs = [ pkgconfig intltool glib libxfce4util ];
propagatedBuildInputs = [ dbus_glib ];
meta = {
homepage = http://www.xfce.org/;
description = "Simple client-server configuration storage and query system for Xfce";
license = "GPLv2";
};
}

View file

@ -1,22 +0,0 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfcegui4
, libwnck, xfconf, libglade, libxfce4menu, xfce4panel, thunar, exo }:
stdenv.mkDerivation rec {
name = "xfdesktop-4.6.2";
src = fetchurl {
url = "http://archive.xfce.org/xfce/4.6.2/src/${name}.tar.bz2";
sha1 = "cefcd1c1386d34386d4e900cbf88b7c24ef3bafb";
};
buildInputs =
[ pkgconfig intltool gtk libxfce4util libxfcegui4 libwnck xfconf
libglade libxfce4menu xfce4panel thunar exo
];
meta = {
homepage = http://www.xfce.org/;
description = "Xfce desktop manager";
license = "GPLv2+";
};
}

View file

@ -1,23 +0,0 @@
{ stdenv, fetchurl, pkgconfig, gtk, intltool, libglade, libxfce4util
, libxfcegui4, xfconf, libwnck, libstartup_notification, xorg }:
stdenv.mkDerivation rec {
name = "xfwm4-4.6.2";
src = fetchurl {
url = "http://archive.xfce.org/xfce/4.6.2/src/${name}.tar.bz2";
sha256 = "0a2q2pr5mzp6hsrd0llr90i9wii2qj2054shkpvkain20gp1ja11";
};
buildInputs =
[ pkgconfig intltool gtk libglade libxfce4util libxfcegui4 xfconf
libwnck libstartup_notification
xorg.libXcomposite xorg.libXfixes xorg.libXdamage
];
meta = {
homepage = http://www.xfce.org/;
description = "Window manager for Xfce";
license = "GPLv2+";
};
}

View file

@ -1,66 +0,0 @@
{ callPackage, pkgs }:
rec {
inherit (pkgs) gtk glib;
#### CORE
exo = callPackage ./core/exo.nix {
inherit (pkgs.perlPackages) URI;
};
libxfce4util = callPackage ./core/libxfce4util.nix { };
libxfcegui4 = callPackage ./core/libxfcegui4.nix {
inherit (pkgs.gnome) libglade;
};
libxfce4menu = callPackage ./core/libxfce4menu.nix { };
xfconf = callPackage ./core/xfconf.nix { };
xfwm4 = callPackage ./core/xfwm4.nix {
inherit (pkgs.gnome) libglade libwnck;
};
xfceutils = callPackage ./core/xfce-utils.nix { };
xfce4session = callPackage ./core/xfce4-session.nix {
inherit (pkgs.gnome) libglade libwnck;
};
xfce4settings = callPackage ./core/xfce4-settings.nix {
inherit (pkgs.gnome) libglade libwnck;
};
xfce4panel = callPackage ./core/xfce4-panel.nix {
inherit (pkgs.gnome) libwnck;
};
xfdesktop = callPackage ./core/xfdesktop.nix {
inherit (pkgs.gnome) libwnck libglade;
};
thunar = callPackage ./core/thunar.nix { };
gtk_xfce_engine = callPackage ./core/gtk-xfce-engine.nix { };
#### APPLICATIONS
terminal = callPackage ./applications/terminal.nix {
inherit (pkgs.gnome) vte;
};
mousepad = callPackage ./applications/mousepad.nix { };
ristretto = callPackage ./applications/ristretto.nix { };
xfce4_power_manager = callPackage ./applications/xfce4-power-manager.nix { };
xfce4mixer = callPackage ./applications/xfce4-mixer.nix { };
#### ART
xfce4icontheme = callPackage ./art/xfce4-icon-theme.nix { };
}

View file

@ -49,7 +49,7 @@ assert langGo -> langCC;
with stdenv.lib;
with builtins;
let version = "4.7.1";
let version = "4.7.2";
# Whether building a cross-compiler for GNU/Hurd.
crossGNU = cross != null && cross.config == "i586-pc-gnu";
@ -164,7 +164,7 @@ stdenv.mkDerivation ({
src = fetchurl {
url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2";
sha256 = "0vs0v89zzgkngkw2p8kdynyk7j8ky4wf6zyrg3rsschpl1pky28n";
sha256 = "115h03hil99ljig8lkrq4qk426awmzh0g99wrrggxf8g07bq74la";
};
inherit patches;

View file

@ -59,6 +59,11 @@ stdenv.mkDerivation rec {
ln -s $f $out/bin
echo -n .
done
for f in "$currentPath/etc/bash_completion.d/"*; do
mkdir -p $out/etc/bash_completion.d
ln -s $f $out/etc/bash_completion.d/
echo -n .
done
for f in "$currentPkgDir/"*.conf; do
ln -s $f $linkedPkgDir
echo -n .

View file

@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "idris";
version = "0.9.3";
sha256 = "1g8mb5g4w6zgcfx2g7l5ksr0lsjfghznxgh684yzlg8pfzah0hqh";
version = "0.9.3.1";
sha256 = "1dqb7gd5jn5f062hfwrirrfxv6ac1f6khkfax912j01mg147hv9a";
isLibrary = false;
isExecutable = true;
buildDepends = [

View file

@ -7,11 +7,11 @@ let
in
stdenv.mkDerivation rec {
pname = "julia";
date = "20120904";
date = "20120922";
name = "${pname}-git-${date}";
grisu_ver = "1.1.1";
dsfmt_ver = "2.1";
dsfmt_ver = "2.2";
openblas_ver = "v0.2.2";
lapack_ver = "3.4.1";
arpack_ver = "3.1.2";
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
dsfmt_src = fetchurl {
url = "http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-src-${dsfmt_ver}.tar.gz";
name = "dsfmt-${dsfmt_ver}.tar.gz";
sha256 = "e9d3e04bc984ec3b14033342f5ebdcd5202d8d8e40128dd737f566945612378f";
sha256 = "bc3947a9b2253a869fcbab8ff395416cb12958be9dba10793db2cd7e37b26899";
};
openblas_src = fetchurl {
url = "https://github.com/xianyi/OpenBLAS/tarball/${openblas_ver}";
@ -54,8 +54,8 @@ stdenv.mkDerivation rec {
src = fetchgit {
url = "git://github.com/JuliaLang/julia.git";
rev = "b842bf4ae4d80f28803ec54f3da412a0248046a9";
sha256 = "4d67f4f4d35c76ea8981198e42feb1c30a50ac7e1e15b752fa41b26ebadcd828";
rev = "e1ba1ebf09da42a5bd7f4ed18f1595ae06032b4c";
sha256 = "187e67a7c6bf44469e0e0dda41072ac8f3a40380ea9364ed07a4cadc08965663";
};
buildInputs = [ gfortran perl m4 gmp pcre llvm readline zlib

View file

@ -1,5 +1,5 @@
{stdenv, fetchurl, gfortran, readline, ncurses, perl, flex,
bison, autoconf, automake, sourceFromHead, getConfig, lib, atlas, gperf, python, glibc, gnuplot, texinfo, texLive, qhull, libX11}:
bison, autoconf, automake, sourceFromHead, config, lib, atlas, gperf, python, glibc, gnuplot, texinfo, texLive, qhull, libX11}:
let commonBuildInputs = [gfortran readline ncurses perl glibc qhull libX11 texinfo]; in
@ -12,7 +12,7 @@ stdenv.mkDerivation ({
license = "GPL-3";
};
} // (
if (getConfig ["octave" "devVersion"] false) then {
if (config.octave.devVersion or false) then {
name = "octave-hg"; # developement version mercurial repo
# REGION AUTO UPDATE: { name="octave"; type = "hg"; url = "http://www.octave.org/hg/octave"; }
src = sourceFromHead "octave-03b414516dd8.tar.gz"
@ -27,7 +27,7 @@ stdenv.mkDerivation ({
export HOME=$TMP
'';
buildInputs = commonBuildInputs ++ [ flex bison autoconf automake gperf gnuplot texLive ]
++ lib.optionals (getConfig ["octave" "atlas"] true) [ python atlas ];
++ lib.optionals (config.octave.atlas or true) [ python atlas ];
# it does build, but documentation doesn't.. So just remove that directory
# from the buildfile
buildPhase = ''
@ -44,6 +44,6 @@ stdenv.mkDerivation ({
sha256 = "1lm4v85kdic4n5yxwzrdb0v6dc6nw06ljgx1q8hfkmi146kpg7s6";
};
buildInputs = commonBuildInputs ++ [ flex bison autoconf automake python ]
++ lib.optionals (getConfig ["octave" "atlas"] true) [ python atlas ];
++ lib.optionals (config.octave.atlas or true) [ python atlas ];
}
))

View file

@ -121,23 +121,23 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
};
cfg = {
mysqlSupport = getConfig ["php" "mysql"] true;
mysqliSupport = getConfig ["php" "mysqli"] true;
pdo_mysqlSupport = getConfig ["php" "pdo_mysql"] true;
libxml2Support = getConfig ["php" "libxml2"] true;
apxs2Support = getConfig ["php" "apxs2"] true;
bcmathSupport = getConfig ["php" "bcmath"] true;
socketsSupport = getConfig ["php" "sockets"] true;
curlSupport = getConfig ["php" "curl"] true;
gettextSupport = getConfig ["php" "gettext"] true;
postgresqlSupport = getConfig ["php" "postgresql"] true;
readlineSupport = getConfig ["php" "readline"] true;
sqliteSupport = getConfig ["php" "sqlite"] true;
soapSupport = getConfig ["php" "soap"] true;
zlibSupport = getConfig ["php" "zlib"] true;
opensslSupport = getConfig ["php" "openssl"] true;
mbstringSupport = getConfig ["php" "mbstring"] true;
gdSupport = getConfig ["php" "gd"] true;
mysqlSupport = config.php.mysql or true;
mysqliSupport = config.php.mysqli or true;
pdo_mysqlSupport = config.php.pdo_mysql or true;
libxml2Support = config.php.libxml2 or true;
apxs2Support = config.php.apxs2 or true;
bcmathSupport = config.php.bcmath or true;
socketsSupport = config.php.sockets or true;
curlSupport = config.php.curl or true;
gettextSupport = config.php.gettext or true;
postgresqlSupport = config.php.postgresql or true;
readlineSupport = config.php.readline or true;
sqliteSupport = config.php.sqlite or true;
soapSupport = config.php.soap or true;
zlibSupport = config.php.zlib or true;
opensslSupport = config.php.openssl or true;
mbstringSupport = config.php.mbstring or true;
gdSupport = config.php.gd or true;
};
configurePhase = ''

View file

@ -121,23 +121,23 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
};
cfg = {
mysqlSupport = getConfig ["php" "mysql"] true;
mysqliSupport = getConfig ["php" "mysqli"] true;
pdo_mysqlSupport = getConfig ["php" "pdo_mysql"] true;
libxml2Support = getConfig ["php" "libxml2"] true;
apxs2Support = getConfig ["php" "apxs2"] true;
bcmathSupport = getConfig ["php" "bcmath"] true;
socketsSupport = getConfig ["php" "sockets"] true;
curlSupport = getConfig ["php" "curl"] true;
gettextSupport = getConfig ["php" "gettext"] true;
postgresqlSupport = getConfig ["php" "postgresql"] true;
readlineSupport = getConfig ["php" "readline"] true;
sqliteSupport = getConfig ["php" "sqlite"] true;
soapSupport = getConfig ["php" "soap"] true;
zlibSupport = getConfig ["php" "zlib"] true;
opensslSupport = getConfig ["php" "openssl"] true;
mbstringSupport = getConfig ["php" "mbstring"] true;
gdSupport = getConfig ["php" "gd"] true;
mysqlSupport = config.php.mysql or true;
mysqliSupport = config.php.mysqli or true;
pdo_mysqlSupport = config.php.pdo_mysql or true;
libxml2Support = config.php.libxml2 or true;
apxs2Support = config.php.apxs2 or true;
bcmathSupport = config.php.bcmath or true;
socketsSupport = config.php.sockets or true;
curlSupport = config.php.curl or true;
gettextSupport = config.php.gettext or true;
postgresqlSupport = config.php.postgresql or true;
readlineSupport = config.php.readline or true;
sqliteSupport = config.php.sqlite or true;
soapSupport = config.php.soap or true;
zlibSupport = config.php.zlib or true;
opensslSupport = config.php.openssl or true;
mbstringSupport = config.php.mbstring or true;
gdSupport = config.php.gd or true;
};
configurePhase = ''

View file

@ -1,4 +1,4 @@
{stdenv, getConfig, fetchurl, callPackage}:
{ stdenv, config, fetchurl, callPackage }:
let
inherit (stdenv.lib) fold optional;
@ -36,7 +36,7 @@ in
if builtins.pathExists file then import (builtins.toPath file)
else null;
in
getConfig [ "gems" name ] fallback;
stdenv.lib.attrByPath [ "gems" name ] fallback config;
in
{
generated = getLocalGemFun "generated";

View file

@ -1,86 +0,0 @@
{ stdenv, fetchurl, icu, expat, zlib, bzip2, python
, enableRelease ? true
, enableDebug ? false
, enableSingleThreaded ? false
, enableMultiThreaded ? true
, enableShared ? true
, enableStatic ? false
, enablePIC ? false
, enableExceptions ? false
, taggedLayout ? ((enableRelease && enableDebug) || (enableSingleThreaded && enableMultiThreaded) || (enableShared && enableStatic))
}:
let
variant = stdenv.lib.concatStringsSep ","
(stdenv.lib.optional enableRelease "release" ++
stdenv.lib.optional enableDebug "debug");
threading = stdenv.lib.concatStringsSep ","
(stdenv.lib.optional enableSingleThreaded "single" ++
stdenv.lib.optional enableMultiThreaded "multi");
link = stdenv.lib.concatStringsSep ","
(stdenv.lib.optional enableShared "shared" ++
stdenv.lib.optional enableStatic "static");
# To avoid library name collisions
layout = if taggedLayout then "tagged" else "system";
cflags = if (enablePIC && enableExceptions) then
"cflags=-fPIC -fexceptions cxxflags=-fPIC linkflags=-fPIC"
else if (enablePIC) then
"cflags=-fPIC cxxflags=-fPIC linkflags=-fPIC"
else if (enableExceptions) then
"cflags=-fexceptions"
else
"";
in
stdenv.mkDerivation {
name = "boost-1.50.0";
meta = {
homepage = "http://boost.org/";
description = "Boost C++ Library Collection";
license = "boost-license";
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.simons ];
};
src = fetchurl {
url = "mirror://sourceforge/boost/boost_1_50_0.tar.bz2";
sha256 = "0ac5b82g6b5pdhzypgddql0i3i9vvrwf9iqp3lyp19hzr2wf5b69";
};
enableParallelBuilding = true;
buildInputs = [icu expat zlib bzip2 python];
configureScript = "./bootstrap.sh";
configureFlags = "--with-icu=${icu} --with-python=${python}/bin/python";
buildPhase = "./b2 -j$NIX_BUILD_CORES -sEXPAT_INCLUDE=${expat}/include -sEXPAT_LIBPATH=${expat}/lib --layout=${layout} variant=${variant} threading=${threading} link=${link} ${cflags} install";
installPhase = ":";
crossAttrs = rec {
buildInputs = [ expat.hostDrv zlib.hostDrv bzip2.hostDrv ];
# all buildInputs set previously fell into propagatedBuildInputs, as usual, so we have to
# override them.
propagatedBuildInputs = buildInputs;
# We want to substitute the contents of configureFlags, removing thus the
# usual --build and --host added on cross building.
preConfigure = ''
export configureFlags="--prefix=$out --without-icu"
'';
buildPhase = ''
set -x
cat << EOF > user-config.jam
using gcc : cross : $crossConfig-g++ ;
EOF
./b2 -j$NIX_BUILD_CORES -sEXPAT_INCLUDE=${expat.hostDrv}/include -sEXPAT_LIBPATH=${expat.hostDrv}/lib --layout=${layout} --user-config=user-config.jam toolset=gcc-cross variant=${variant} threading=${threading} link=${link} ${cflags} --without-python install
'';
};
}

View file

@ -1,18 +1,18 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "boost-1.50.0-headers";
name = "boost-1.51.0-headers";
src = fetchurl {
url = "mirror://sourceforge/boost/boost_1_50_0.tar.bz2";
sha256 = "0ac5b82g6b5pdhzypgddql0i3i9vvrwf9iqp3lyp19hzr2wf5b69";
url = "mirror://sourceforge/boost/boost_1_51_0.tar.bz2";
sha256 = "fb2d2335a29ee7fe040a197292bfce982af84a645c81688a915c84c925b69696";
};
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/include
tar xvf $src -C $out/include --strip-components=1 boost_1_50_0/boost
tar xf $src -C $out/include --strip-components=1 ./boost_1_51_0/boost
'';
meta = {

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, db4, gettext }:
{ stdenv, fetchurl, openssl, db4, gettext, pam }:
stdenv.mkDerivation rec {
name = "cyrus-sasl-2.1.25";
@ -8,12 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "418c16e6240a4f9b637cbe3d62937b9675627bad27c622191d47de8686fe24fe";
};
buildInputs = [ openssl db4 gettext ];
buildInputs = [ openssl db4 gettext ] ++ stdenv.lib.optional stdenv.isLinux pam;
# Set this variable at build-time to make sure $out can be evaluated.
preConfigure = ''
configureFlagsArray=( --with-plugindir=$out/lib/sasl2
--with-configdir=$out/lib/sasl2
--with-saslauthd=/run/saslauthd
--enable-login
)
'';

View file

@ -1,5 +1,7 @@
{ stdenv, fetchurl, libnice, pkgconfig, python, gstreamer, gst_plugins_base
, pygobject, gst_python, gupnp_igd }:
, pygobject, gst_python, gupnp_igd
, gst_plugins_good, gst_plugins_bad, gst_ffmpeg
}:
stdenv.mkDerivation rec {
name = "farstream-0.1.2";
@ -8,11 +10,13 @@ stdenv.mkDerivation rec {
sha256 = "1nbkbvq959f70zhr03fwdibhs0sbf1k7zmbz9w99vda7gdcl0nps";
};
buildInputs = [ libnice python pygobject gst_python gupnp_igd ];
buildInputs = [ libnice python pygobject gupnp_igd ];
buildNativeInputs = [ pkgconfig ];
propagatedBuildInputs = [ gstreamer gst_plugins_base ];
propagatedBuildInputs = [ gstreamer gst_plugins_base gst_python
gst_plugins_good gst_plugins_bad gst_ffmpeg
];
meta = {
homepage = http://www.freedesktop.org/wiki/Software/Farstream;

View file

@ -1,9 +1,9 @@
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "freeimage-3.15.0";
name = "freeimage-3.15.3";
src = fetchurl {
url = mirror://sourceforge/freeimage/FreeImage3150.zip;
sha256 = "0diyj862sdqwjqb7v2nccf8cl6886v937jkw6dgszp86qpwsfx3n";
url = mirror://sourceforge/freeimage/FreeImage3153.zip;
sha256 = "0i60fn1n9rw55dci0yw92zrw7k1jz3f9kv2z1wxmh84s5ngxa626";
};
buildInputs = [ unzip ];
prePatch = ''

View file

@ -0,0 +1,15 @@
{ cabal, filepath }:
cabal.mkDerivation (self: {
pname = "Cabal";
version = "1.16.0";
sha256 = "0ia2ysqbnnbfv75l8617bys5iaq8aygcbd1ijqcbzd3asf8flyms";
buildDepends = [ filepath ];
meta = {
homepage = "http://www.haskell.org/cabal/";
description = "A framework for packaging Haskell software";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View file

@ -1,13 +1,14 @@
{ cabal, deepseq, filepath, mtl, parsec, syb, sybWithClass, text
, time, utf8String
{ cabal, blazeBuilder, deepseq, filepath, mtl, parsec, syb
, sybWithClass, text, time, utf8String
}:
cabal.mkDerivation (self: {
pname = "HStringTemplate";
version = "0.6.9";
sha256 = "0xa665q5gya51vjkg1i6f6qk67jx28xcbxs5v1d9yr1f8djh5d9v";
version = "0.6.10";
sha256 = "0asv8n4l2j819cngxgdk5p0b4bqcxnmdc2mlp9b3s7mrs15ljxkk";
buildDepends = [
deepseq filepath mtl parsec syb sybWithClass text time utf8String
blazeBuilder deepseq filepath mtl parsec syb sybWithClass text time
utf8String
];
meta = {
description = "StringTemplate implementation in Haskell";

View file

@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "JuicyPixels";
version = "2.0";
sha256 = "1qvdp0b2fn0cgp9vrm2p35jx8qcz1ikpvjzwkdkc8q84yr1x0457";
version = "2.0.1";
sha256 = "0irisyrqz9cyyjd428qnnxyybrqc54s1qi5vyz0md0acz7mr5anh";
buildDepends = [
cereal deepseq mtl primitive transformers vector zlib
];

View file

@ -1,15 +1,15 @@
{ cabal, filepath, hslogger, HUnit, mtl, network, parsec, random
, regexCompat
, regexCompat, time
}:
cabal.mkDerivation (self: {
pname = "MissingH";
version = "1.1.1.0";
sha256 = "1i2fdr6p0jnn9w865ngjcchbsamrvnvdf9c4vzhjhzy500z2k1ry";
version = "1.2.0.0";
sha256 = "0bqg1j2pvm0ixrbnsxrr5kgibhbp191irhcavqlwfwgaxhrpqnm1";
isLibrary = true;
isExecutable = true;
buildDepends = [
filepath hslogger HUnit mtl network parsec random regexCompat
filepath hslogger HUnit mtl network parsec random regexCompat time
];
meta = {
homepage = "http://software.complete.org/missingh";

View file

@ -1,10 +1,10 @@
{ cabal, extensibleExceptions, random }:
{ cabal, random }:
cabal.mkDerivation (self: {
pname = "QuickCheck";
version = "2.5";
sha256 = "0a4ibyw5abm7ds6pds41147phjkccx8v60vqdj05c5n28hbzbgbh";
buildDepends = [ extensibleExceptions random ];
version = "2.5.1.1";
sha256 = "1ff2mhm27l8cc8nrsbw2z65dc9m7h879jykl5g7yqip5l88j0jcq";
buildDepends = [ random ];
meta = {
homepage = "http://code.haskell.org/QuickCheck";
description = "Automatic testing of Haskell programs";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "SDL";
version = "0.6.3";
sha256 = "0m3ick3rw8623ja42yfj4pa57naa6yb20ym8lv252gwb18ghp4sp";
version = "0.6.4";
sha256 = "1zrfx2nw0k8lfkr6vnwsp5wr3yz62v0bq60p4sdzj7gm01bz92g0";
extraLibraries = [ SDL ];
meta = {
description = "Binding to libSDL";

View file

@ -0,0 +1,20 @@
diff --git a/Data/Attoparsec/Binary.hs b/Data/Attoparsec/Binary.hs
index fab76c6..01d6c8b 100644
--- a/Data/Attoparsec/Binary.hs
+++ b/Data/Attoparsec/Binary.hs
@@ -23,7 +23,7 @@ import Data.Word
byteSize :: (Bits a) => a -> Int
byteSize = (`div` 8) . bitSize
-pack :: (Bits a) => B.ByteString -> a
+pack :: (Bits a, Num a) => B.ByteString -> a
pack = B.foldl' (\n h -> (n `shiftL` 8) .|. fromIntegral h) 0
anyWordN :: (Bits a) => (B.ByteString -> a) -> Parser a
@@ -84,4 +84,4 @@ word64be = wordN unpack
-- |Match a specific 64-bit little-endian word.
word64le :: Word64 -> Parser Word64
-word64le = wordN $ B.reverse . unpack
\ No newline at end of file
+word64le = wordN $ B.reverse . unpack

View file

@ -0,0 +1,13 @@
{ cabal, attoparsec }:
cabal.mkDerivation (self: {
pname = "attoparsec-binary";
version = "0.2";
sha256 = "02vswxsgayw50xli7mbacsjmk1diifzkfgnyfn9ck5mk41dl9rh5";
buildDepends = [ attoparsec ];
meta = {
description = "Binary processing extensions to Attoparsec";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "attoparsec-conduit";
version = "0.5.0.1";
sha256 = "1qrg524gr9ajdxaqd9gmxpj45d7ga21q27ykr76kjdwxfpqaq6n8";
version = "0.5.0.2";
sha256 = "183p4jd2cfzvv9lhp4w5z4xrb3ki5l1h8kmlwv8523plnk7x7486";
buildDepends = [ attoparsec conduit text transformers ];
meta = {
homepage = "http://github.com/snoyberg/conduit";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "binary";
version = "0.6.0.0";
sha256 = "0p72w7f9nn19g2wggsh8x4z7y9s174f3drz9a5ln4x7h554swcxv";
version = "0.6.1.0";
sha256 = "0d423k37973f5v9mz9401zmsfdgspnf9h6s9xgr3zh19giz7c3js";
meta = {
homepage = "https://github.com/kolmodin/binary";
description = "Binary serialisation for Haskell values using lazy ByteStrings";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "bmp";
version = "1.2.1.1";
sha256 = "0s5srqkaccrwh9gsxn9kmyh4jf0qf40ix8ipi0b70fbbffr97hmk";
version = "1.2.2.1";
sha256 = "0yxkkvpgavk9im9i9f6zpzc1n5nj2g4qsk4ck51aqz2fv6z1rhiy";
buildDepends = [ binary ];
meta = {
homepage = "http://code.ouroborus.net/bmp";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "cabal-file-th";
version = "0.2.2";
sha256 = "1ql2gmg3mdfkmnk1m3966npr6l1in15fzlkbn7dr1cp4s90igqhy";
version = "0.2.3";
sha256 = "0kawvb5n56rkq4453l6pia3wrr6jvvdwkghi6i176n1gm2zf2ri8";
buildDepends = [ Cabal ];
meta = {
homepage = "http://github.com/nkpart/cabal-file-th";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "certificate";
version = "1.2.7";
sha256 = "02fsip23k97p6wx94d867z5v37yfamrlxv4qvv9wcgjzmh2694ay";
version = "1.2.8";
sha256 = "0lcyvkr0iqywwid9zlpzfvzpg70gvw7y0ij51ljadrwp882nj0ws";
isLibrary = true;
isExecutable = true;
buildDepends = [ asn1Data cryptoPubkeyTypes mtl pem time ];

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "dstring";
version = "0.4.0.3";
sha256 = "0wzj1wzls7w79ac84sc5msblh2dmfmcxm77drpdqdirl1pwdlq9c";
version = "0.4.0.4";
sha256 = "15zy1dhfs87hxq1qm54ym0pdhvg7l76m7vy5y06dnksb1sblhaqm";
buildDepends = [ baseUnicodeSymbols dlist ];
meta = {
homepage = "https://github.com/basvandijk/dstring";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "gloss";
version = "1.7.5.2";
sha256 = "1lasq106slq57k832pqhaq5wh7hwxn5bzg7rjk95rf3rrq5xb9f5";
version = "1.7.6.1";
sha256 = "1gwmrnwn1x0hs9jp2qsjp737wahbdsjrp2kp7gpz9pkq4a6jmjmx";
buildDepends = [ bmp GLUT OpenGL ];
meta = {
homepage = "http://gloss.ouroborus.net";

View file

@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "hakyll";
version = "3.4.2.0";
sha256 = "18yqbiw75wjzc48s5v2aisdc5w2q1rkijxa5p4f4i17flif72j2n";
version = "3.4.2.1";
sha256 = "0h2xs4qwy2lqdg4v7zbzfmkvr411j34fba3dm05skq7d908wjji0";
buildDepends = [
binary blazeHtml blazeMarkup citeprocHs cryptohash filepath hamlet
lrucache mtl pandoc parsec regexBase regexTdfa snapCore snapServer

View file

@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "hamlet";
version = "1.1.0.2";
sha256 = "0knkc43ldz3jhn3pmsysqbzlsp8akh9kiyy2jncra9y0xhminpqy";
version = "1.1.1";
sha256 = "0003rp40px3zd5j2k8mm6igafbw8npn0zxm3ip27pq506ak2a0p9";
buildDepends = [
blazeBuilder blazeHtml blazeMarkup failure parsec shakespeare text
];

View file

@ -1,19 +1,19 @@
{ cabal, base64Bytestring, blazeHtml, extensibleExceptions
, filepath, hslogger, html, monadControl, mtl, network, parsec
, sendfile, syb, systemFilepath, text, time, transformers
, sendfile, syb, systemFilepath, text, threads, time, transformers
, transformersBase, utf8String, xhtml, zlib
}:
cabal.mkDerivation (self: {
pname = "happstack-server";
version = "7.0.4";
sha256 = "168201z5slm6mrkckpdpshgaiz29k9j1j97vmbrybprj0zhcrl7r";
version = "7.0.5";
sha256 = "11ialzvjdqmf62yl5r9yxir8fg5agfg1fysf3c3ja5456k07b466";
buildDepends = [
base64Bytestring blazeHtml extensibleExceptions filepath hslogger
html monadControl mtl network parsec sendfile syb systemFilepath
text time transformers transformersBase utf8String xhtml zlib
text threads time transformers transformersBase utf8String xhtml
zlib
];
jailbreak = true;
meta = {
homepage = "http://happstack.com";
description = "Web related tools and services";

View file

@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "http-conduit";
version = "1.6.0.3";
sha256 = "101h4ba92h8gh74pl9kkgfg94sx3nivv6cc2lfm7i85lrp2fwyjr";
version = "1.6.0.4";
sha256 = "1gnr65nkgn99cvll71zka6wrpg9ihhn38mg89841q1w2y0xf1mb0";
buildDepends = [
asn1Data attoparsec attoparsecConduit base64Bytestring blazeBuilder
blazeBuilderConduit caseInsensitive certificate conduit cookie

View file

@ -2,10 +2,9 @@
cabal.mkDerivation (self: {
pname = "json";
version = "0.5";
sha256 = "12jbvq0lp7z5q6g94pv8s5455yydfyh9h2xlr76wqzfh3myvy6fl";
version = "0.6";
sha256 = "1f5l1992r2gm8fivqfljhgs3nix4qf7h3rji78rsq1kf3r9shz32";
buildDepends = [ mtl parsec syb ];
patchPhase = "sed -i json.cabal -e '1iExtensions: FlexibleInstances'";
meta = {
description = "Support for serialising Haskell to and from JSON";
license = self.stdenv.lib.licenses.bsd3;

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "liblastfm";
version = "0.0.3.5";
sha256 = "185vk5648m2xf74fmv7ccrbzvqd5qmlfa9fnn0ywv3ikmf61y0fg";
version = "0.0.3.6";
sha256 = "0xmrciv489dvksgpg9g83kna34x1amsx45wvpngcpnx4m44fcp4w";
buildDepends = [
aeson curl mtl pureMD5 urlencoded utf8String xml
];

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "monad-logger";
version = "0.2.0.1";
sha256 = "151brb5h92xc0mhfqcapmxib7vh2k36rsw493fxbn3256xkzc8gk";
version = "0.2.1";
sha256 = "00ssh60rxw7dg1dcfh8kr4mg9p7pvvvmjf9xd8kvxbrb9s3nkc4s";
buildDepends = [ fastLogger resourcet text transformers ];
meta = {
homepage = "https://github.com/kazu-yamamoto/logger";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "murmur-hash";
version = "0.1.0.5";
sha256 = "1m7rm57bxkrl4i9fbvmx5m29axyxddrs4ss7plbd19pw3wsvgmr0";
version = "0.1.0.6";
sha256 = "0wnkwl3a9x0f4rvsj4wf129n03vpw8qk4kzx6vmrapwwb4r80npz";
meta = {
homepage = "http://github.com/nominolo/murmur-hash";
description = "MurmurHash2 implementation for Haskell";

View file

@ -3,8 +3,8 @@
cabal.mkDerivation (self: {
pname = "network-conduit";
version = "0.5.0.1";
sha256 = "1rk8a8n1yily20y3jr51zbd00m2c6ic8gxw9rnmkr2cfs963l2v5";
version = "0.5.0.2";
sha256 = "0ragnwhc8szh680iyzyz6fbprqd3drr8sb970h1p2l4i22srkm39";
buildDepends = [
conduit liftedBase monadControl network transformers
];

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "network";
version = "2.4.0.0";
sha256 = "1l4gdhjac7nnl4zd03bndjbjm9fizmxhimz2bznjw19q6gbp3rp0";
version = "2.4.0.1";
sha256 = "00jj3pf2gchkx5wmipm2ijxcmhy37g86ggnp6pb92i5nmb93h1iw";
buildDepends = [ parsec ];
meta = {
homepage = "https://github.com/haskell/network";

View file

@ -2,11 +2,10 @@
cabal.mkDerivation (self: {
pname = "path-pieces";
version = "0.1.1";
sha256 = "17ymk2azgz2c1hwnzqd9xy77hh51mvrgz4zs7lz4ik6rnvvihraz";
version = "0.1.2";
sha256 = "1cxsa8lq1f2jf86iv6f17nraiav8k2vzjxln1y7z45qhcp1sbbaa";
buildDepends = [ text time ];
meta = {
homepage = "http://github.com/snoyberg/path-pieces";
description = "Components of paths";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;

View file

@ -1,10 +1,10 @@
{ cabal, QuickCheck }:
{ cabal, QuickCheck, time }:
cabal.mkDerivation (self: {
pname = "pathtype";
version = "0.5.2";
sha256 = "0rbmq6kzz2l07q9a5k888scpn62hnw2hmzz4ysprhfgdnn5b2cvi";
buildDepends = [ QuickCheck ];
version = "0.5.3";
sha256 = "11plb7xw4j8vjziw1q0ymx33p6185cxd2hqrxw2hgsfzf2b9dvqg";
buildDepends = [ QuickCheck time ];
meta = {
homepage = "http://code.haskell.org/pathtype";
description = "Type-safe replacement for System.FilePath etc";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "persistent-template";
version = "1.0.0.1";
sha256 = "0dvhxcyzqv4h3n5nnaglgq2pipynax2nrsdsgj3wgyk1a5k8wdrw";
version = "1.0.0.2";
sha256 = "0skd1gfrxq8mpa2g56b2wn83zw4zca5q2dxyjf6d7k6sh9sc9iz8";
buildDepends = [ aeson monadControl persistent text transformers ];
meta = {
homepage = "http://www.yesodweb.com/book/persistent";

View file

@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "persistent";
version = "1.0.1.1";
sha256 = "05jzraw8g87vbd5qqrpvivzaz8k50sm9dlabd86a6n1hpcd7xaka";
version = "1.0.1.2";
sha256 = "0gw635mhbn6w8aswiw9j41rdpi7rhnnhay2qgvlc8103s0g5lp9j";
buildDepends = [
aeson attoparsec base64Bytestring blazeHtml blazeMarkup conduit
liftedBase monadControl monadLogger pathPieces poolConduit

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "repa-algorithms";
version = "3.2.1.1";
sha256 = "19gc2vbkqxysnm0argksn8c3cv7vf30hkdycgv8fdfn0yc95xz0v";
version = "3.2.2.1";
sha256 = "1g6cf70bmkglx0b92kxazaaap75s55fqpp1g7qiskbj2vzvppsg3";
buildDepends = [ repa vector ];
extraLibraries = [ llvm ];
meta = {

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "repa-examples";
version = "3.2.1.1";
sha256 = "0nbdp3vwg7ha9vhz7f2kys3jxdlwiihxz031cfpkv2si5ci3gy1b";
version = "3.2.2.1";
sha256 = "17v7ay33fwxjm0ip09jhh979rc6hzfxrrj1hkwj7x4x9gkd79yn7";
isLibrary = false;
isExecutable = true;
buildDepends = [ random repa repaAlgorithms repaIo vector ];

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "repa-io";
version = "3.2.1.1";
sha256 = "156amnlqsxhwalnc4nypcd66znv2f8c71d5xi8ja5g8d9f1yg02g";
version = "3.2.2.1";
sha256 = "0wcg4a8z6qf7jg353b89ci4pzqvb7pnzgb6ml3av6l54n9rg4vsp";
buildDepends = [ binary bmp repa vector ];
meta = {
homepage = "http://repa.ouroborus.net";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "repa";
version = "3.2.1.1";
sha256 = "0jzcy3xdlwmcjq1mpfqh0axcgbj3i03nxg7blw2sly8qrgfl0ri1";
version = "3.2.2.1";
sha256 = "0k8i4gm74gc19kfmg2790x1i6im58nqfblq2fq2bilh6rsj8hxh0";
buildDepends = [ QuickCheck vector ];
meta = {
homepage = "http://repa.ouroborus.net";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "repr";
version = "0.4.1.2";
sha256 = "09rv23p1hvvfw5wnhiawgrpqgqa4i0d00skyj9z1jj6bfxk5avjs";
version = "0.4.1.3";
sha256 = "1y1zl81yjc9jrci83bm6bn8hrfqf6x25vxzkhrkydhhwcwqfqaj5";
buildDepends = [
baseUnicodeSymbols dstring random stringCombinators
];

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "shakespeare-css";
version = "1.0.1.4";
sha256 = "0avixf7z3hcvgcijgrm7hisr8i8waa8nb435gv8lv5vvz8yq3k0n";
version = "1.0.1.5";
sha256 = "0arfc64wsyn0af34blbjgxxr9xxk9k61p7zy4b7m3ynnpxqh2hzn";
buildDepends = [ parsec shakespeare text ];
meta = {
homepage = "http://www.yesodweb.com/book/shakespearean-templates";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "shakespeare-js";
version = "1.0.0.5";
sha256 = "1d4na2q1q798ki5f84gpf89ri26qmrxqrwbw7mmlrfwkj1qw69rs";
version = "1.0.0.6";
sha256 = "0ilzg5g2pvq36cv5fhyv9sqz3nnj9gscrc2y4vlqkm6f1ks3gyg8";
buildDepends = [ shakespeare text ];
meta = {
homepage = "http://www.yesodweb.com/book/shakespearean-templates";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "shakespeare-text";
version = "1.0.0.4";
sha256 = "14kas2m7kbv1f49qpx6z097r707l3gqp9lwvh0q42cc6rlwab5l7";
version = "1.0.0.5";
sha256 = "176yzx43sh0fnxpszn8kximd6i96yf2s374z55kvc1kspf7jk736";
buildDepends = [ shakespeare text ];
meta = {
homepage = "http://www.yesodweb.com/book/shakespearean-templates";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "shakespeare";
version = "1.0.1.3";
sha256 = "1m0ca3b73fiph939kpd94mxh4a606mv3hafbwg9j4is38mv5kn8d";
version = "1.0.1.4";
sha256 = "01gw31g75v8r8hjvkv7mxvx7736ib9x9nqpxavpbrfplyxgk2y31";
buildDepends = [ parsec text ];
meta = {
homepage = "http://www.yesodweb.com/book/shakespearean-templates";

View file

@ -3,11 +3,12 @@
cabal.mkDerivation (self: {
pname = "shelly";
version = "0.14.0.1";
sha256 = "062c3zqr6ad61p0s423h8rhimqfld6p95z3qzrmag9f29a5f4fbz";
version = "0.14.1";
sha256 = "1cvfak5siysnpms1znra6dk762zp0gv1sam3xfdp67a7ir0hpcpp";
buildDepends = [
mtl systemFileio systemFilepath text time unixCompat
];
jailbreak = true;
meta = {
homepage = "https://github.com/yesodweb/Shelly.hs";
description = "shell-like (systems) programming in Haskell";

View file

@ -1,20 +1,18 @@
{ cabal, attoparsec, attoparsecEnumerator, base16Bytestring
, blazeBuilder, blazeBuilderEnumerator, bytestringMmap
, bytestringNums, caseInsensitive, deepseq, dlist, enumerator
, filepath, HUnit, MonadCatchIOTransformers, mtl, mwcRandom
, regexPosix, text, time, transformers, unixCompat
{ cabal, attoparsec, attoparsecEnumerator, blazeBuilder
, blazeBuilderEnumerator, bytestringMmap, caseInsensitive, deepseq
, enumerator, filepath, HUnit, MonadCatchIOTransformers, mtl
, random, regexPosix, text, time, transformers, unixCompat
, unorderedContainers, vector, zlibEnum
}:
cabal.mkDerivation (self: {
pname = "snap-core";
version = "0.9.0";
sha256 = "1fsjamv9sl19in2ws97v246sbvlnj05rm9dljc0pz7kasawyqsb7";
version = "0.9.2.1";
sha256 = "18i0hfzc37q12nyp7g4sc87s4xcqz1crjwpnhh4y5fw66glzmq3q";
buildDepends = [
attoparsec attoparsecEnumerator base16Bytestring blazeBuilder
blazeBuilderEnumerator bytestringMmap bytestringNums
caseInsensitive deepseq dlist enumerator filepath HUnit
MonadCatchIOTransformers mtl mwcRandom regexPosix text time
attoparsec attoparsecEnumerator blazeBuilder blazeBuilderEnumerator
bytestringMmap caseInsensitive deepseq enumerator filepath HUnit
MonadCatchIOTransformers mtl random regexPosix text time
transformers unixCompat unorderedContainers vector zlibEnum
];
meta = {

View file

@ -1,19 +1,18 @@
{ cabal, attoparsec, attoparsecEnumerator, binary, blazeBuilder
, blazeBuilderEnumerator, bytestringNums, caseInsensitive
, directoryTree, enumerator, filepath, MonadCatchIOTransformers
, mtl, murmurHash, network, snapCore, text, time, transformers
, unixCompat, vector, vectorAlgorithms
, blazeBuilderEnumerator, caseInsensitive, directoryTree
, enumerator, filepath, MonadCatchIOTransformers, mtl, network
, snapCore, text, time, transformers, unixCompat
}:
cabal.mkDerivation (self: {
pname = "snap-server";
version = "0.9.0";
sha256 = "12mjy1w6gsnw93bcpsnxnw7kc2v73dfps7gk542iw73lldfhh3va";
version = "0.9.2.3";
sha256 = "0wl7clzwrd34d32sikd6vkj3pla9yni26mmdsnrjw1s3lq412yqd";
buildDepends = [
attoparsec attoparsecEnumerator binary blazeBuilder
blazeBuilderEnumerator bytestringNums caseInsensitive directoryTree
enumerator filepath MonadCatchIOTransformers mtl murmurHash network
snapCore text time transformers unixCompat vector vectorAlgorithms
blazeBuilderEnumerator caseInsensitive directoryTree enumerator
filepath MonadCatchIOTransformers mtl network snapCore text time
transformers unixCompat
];
meta = {
homepage = "http://snapframework.com/";

View file

@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "snap";
version = "0.9.1.1";
sha256 = "1g8jvnwrhna5g064dmv4v4khrpwwn0vcqw8l7rcpkp75l46fq29z";
version = "0.9.2.1";
sha256 = "0gxnkr6icx2g16w3ab54cqy4x15xj6y9cs6qv8dg0xamm7kyyfhl";
isLibrary = true;
isExecutable = true;
buildDepends = [
@ -19,10 +19,9 @@ cabal.mkDerivation (self: {
snapServer stm syb text time transformers unorderedContainers
utf8String vector vectorAlgorithms xmlhtml
];
jailbreak = true;
meta = {
homepage = "http://snapframework.com/";
description = "Snap: A Haskell Web Framework: project starter executable and glue code library";
description = "Top-level package for the Snap Web Framework";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "split";
version = "0.2.0.0";
sha256 = "1gk0nx6bw5j9gxaa6ki70wqszbllz7c1ccfnwg49fl3qfabg1i7c";
version = "0.2.1.1";
sha256 = "1zzp4dwf846s74a4lhw2gf4awsk9iblhl5zcg2zccgv1lr4w2dmz";
meta = {
description = "Combinator library for splitting lists";
license = self.stdenv.lib.licenses.bsd3;

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "string-combinators";
version = "0.6.0.3";
sha256 = "18jawxqvcj7zpvb0wf1zln12s03mp6nglhv5ccywrkb5x0r0557j";
version = "0.6.0.4";
sha256 = "0r1za5ypx9fz073h1yljjdkxmz0h77vg94bk827ndwkfgzgpzvh7";
buildDepends = [ baseUnicodeSymbols ];
meta = {
homepage = "https://github.com/basvandijk/string-combinators";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "strptime";
version = "1.0.6";
sha256 = "1brzh22nrs2mg5h815vj8vlz0qn2jwm4y4sdp5zlszjxfsqc2hp7";
version = "1.0.8";
sha256 = "0cd4wzrg9zpnwrfpp6lxs1ib06h0fcsdqd3idsw663wr5lllfgdq";
buildDepends = [ time ];
meta = {
description = "Efficient parsing of LocalTime using a binding to C's strptime, with some extra features (i.e. fractional seconds)";

View file

@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "stylish-haskell";
version = "0.5.0.2";
sha256 = "0am63hw24c1yja1sb2xsbi1bcyfxb1qsypszkpaylvks797czmc7";
version = "0.5.1.0";
sha256 = "0vriwgx7z8azqmci9lq7xlvn0v12p5nj9s6i4jvxsjam538qll94";
isLibrary = true;
isExecutable = true;
buildDepends = [

View file

@ -0,0 +1,14 @@
{ cabal, baseUnicodeSymbols, stm }:
cabal.mkDerivation (self: {
pname = "threads";
version = "0.5.0.1";
sha256 = "0amyaxa70q6v021nab6v3cfqc40mwj5dr2fwla9d4bm6ppmq6lyy";
buildDepends = [ baseUnicodeSymbols stm ];
meta = {
homepage = "https://github.com/basvandijk/threads";
description = "Fork threads and wait for their result";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "tls";
version = "0.9.10";
sha256 = "1kiwb5skirdla32gjicgmjyk09p8f701jgs6krxbi38gmmfj1dxf";
version = "0.9.11";
sha256 = "1a0kfwhmlwl581yr63g2plw9680ry0030rqm3bxhvnjbb2xac3k9";
isLibrary = true;
isExecutable = true;
buildDepends = [

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "unix-compat";
version = "0.3.0.2";
sha256 = "0rikix2l8d0n948pzri2rdis9k5q0m73h7vxsxjz1vh24ryjj59f";
version = "0.4.0.0";
sha256 = "0xhhvqdjcmcyavf0g2q2sjghj2h4si1ijg4nc4s8kidbd957z9r8";
meta = {
homepage = "http://github.com/jystic/unix-compat";
description = "Portable POSIX-compatibility layer";

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "vector-space-points";
version = "0.1.1.1";
sha256 = "08lar9ydni87w79y86xk2blddsgx5n6gwz3262w8z32dgy9lrmwx";
version = "0.1.2.0";
sha256 = "19azl6g14rsxs0qbik6x637qw9jv4xl01w65xd0xh7833mypmj6d";
buildDepends = [ newtype vectorSpace ];
meta = {
description = "A type for points, as distinct from vectors";

View file

@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "wai-app-static";
version = "1.3.0.1";
sha256 = "0rgbqbcj4jd6xpjm3nqa5hdf3an7208in536dl6x9n88w9a6qngp";
version = "1.3.0.2";
sha256 = "0z49s4kc365q3brfkgdnja964h3h3yc3wypccnkj71dl11n040zq";
buildDepends = [
base64Bytestring blazeBuilder blazeHtml blazeMarkup cereal
cryptoConduit cryptohash fileEmbed httpDate httpTypes mimeTypes

View file

@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "wai-extra";
version = "1.3.0.1";
sha256 = "0mclhaxdgj1vcqa6q22zl5zv4znfis1zyivwypl1pwv0r267siy5";
version = "1.3.0.2";
sha256 = "0w69wjfbzgg523n0rcs700qx0gsdhvlr0qjvqg1hppvi188llpwl";
buildDepends = [
ansiTerminal blazeBuilder blazeBuilderConduit caseInsensitive
conduit dataDefault dateCache fastLogger httpTypes network

View file

@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "wai";
version = "1.3.0";
sha256 = "08y0s7b5db5nyvxv0bvraj6ih7054h5n4lkwdlm3nkbm8s9k8hwv";
version = "1.3.0.1";
sha256 = "0z6byx71awhjb7fycz1ixsyzzlsrv1i69qwjrfzh9y5wnbchj9yl";
buildDepends = [
blazeBuilder conduit httpTypes network text transformers vault
];

View file

@ -1,16 +1,16 @@
{ cabal, blazeBuilder, blazeBuilderConduit, caseInsensitive
, conduit, httpTypes, liftedBase, network, networkConduit
, conduit, hashable, httpTypes, liftedBase, network, networkConduit
, simpleSendfile, transformers, unixCompat, void, wai
}:
cabal.mkDerivation (self: {
pname = "warp";
version = "1.3.1";
sha256 = "12f4v080v8jgm02swqbbgq9yvbajmbr8ja2p6ljc7bhf3rkpwplr";
version = "1.3.1.2";
sha256 = "11y1dwzvfhr4fhlh5j2ydwj4d3r92qm55rn9xwbfxmr0vmvm78b5";
buildDepends = [
blazeBuilder blazeBuilderConduit caseInsensitive conduit httpTypes
liftedBase network networkConduit simpleSendfile transformers
unixCompat void wai
blazeBuilder blazeBuilderConduit caseInsensitive conduit hashable
httpTypes liftedBase network networkConduit simpleSendfile
transformers unixCompat void wai
];
meta = {
homepage = "http://github.com/yesodweb/wai";

View file

@ -9,8 +9,8 @@
cabal.mkDerivation (self: {
pname = "yesod-core";
version = "1.1.1.2";
sha256 = "1q0p4hnmd0mg3pqkydqcv61p3hrmnqnrsya005dyvxf320anya0y";
version = "1.1.2";
sha256 = "1pgwqghj9kc9kh90515nswz5ssbmm2y6miw5j6sx4dha0xncqvgs";
buildDepends = [
aeson blazeBuilder blazeHtml blazeMarkup caseInsensitive cereal
clientsession conduit cookie failure fastLogger hamlet httpTypes

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