1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-06 23:31:34 +00:00

Updating from trunk.

svn path=/nixpkgs/branches/stdenv-updates/; revision=24674
This commit is contained in:
Lluís Batlle i Rossell 2010-11-11 22:18:14 +00:00
commit 8746de3ae8
71 changed files with 680 additions and 345 deletions
pkgs
applications
audio/gtkpod
graphics
misc
networking
browsers/chromium
instant-messengers/pidgin
office/openoffice
science
version-management
video/kdenlive
window-managers
fbpanel
stalonetray
build-support
data/fonts
andagii
fontWrap
desktops/gnome-2.28/platform/gtkhtml
development
games/bsdgames
os-specific/linux
servers/irc/ircd-hybrid
tools
filesystems/ntfs-3g
misc
fileschanged
screen
networking/pdsh
package-management/disnix
DisnixService
DisnixWebService
activation-scripts
default.nix
system/lxc
top-level

View file

@ -1,14 +1,16 @@
{ stdenv, fetchurl, pkgconfig, libgpod, gtk, glib, gettext, perl, perlXMLParser, libglade, flex, libid3tag, libvorbis }: { stdenv, fetchurl, pkgconfig, libgpod, gtk, glib, gettext, perl, perlXMLParser
, libglade, flex, libid3tag, libvorbis, intltool }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "gtkpod-0.99.14"; name = "gtkpod-1.0.0";
src = fetchurl { src = fetchurl {
url = mirror://sourceforge/gtkpod/gtkpod-0.99.14.tar.gz; url = mirror://sourceforge/gtkpod/gtkpod-1.0.0.tar.gz;
sha256 = "0ggcfyhcdlf3br88csdki215k4clxixa192afz6f16k7h8s2iqbk"; sha256 = "04jzybs55c27kyp7r9c58prcq0q4ssvj5iggva857f49s1ar826q";
}; };
buildInputs = [ pkgconfig libgpod gettext perl perlXMLParser gtk libglade flex libid3tag libvorbis ]; buildInputs = [ pkgconfig libgpod gettext perl perlXMLParser gtk libglade flex
libid3tag libvorbis intltool ];
patchPhase = '' patchPhase = ''
sed -i 's/which/type -P/' scripts/*.sh sed -i 's/which/type -P/' scripts/*.sh
@ -18,5 +20,6 @@ stdenv.mkDerivation {
description = "GTK Manager for an Apple ipod"; description = "GTK Manager for an Apple ipod";
homepage = http://gtkpod.sourceforge.net; homepage = http://gtkpod.sourceforge.net;
license = "GPLv2+"; license = "GPLv2+";
platforms = with stdenv.lib.platforms; linux;
}; };
} }

View file

@ -4,11 +4,11 @@
, gsl, python, pyxml, lxml }: , gsl, python, pyxml, lxml }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "inkscape-0.47"; name = "inkscape-0.48.0";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/inkscape/${name}.tar.gz"; url = "mirror://sourceforge/inkscape/${name}.tar.bz2";
sha256 = "15wvcllq0nj69hkyanzvxbjhlq06cwabqabaa54n5n4307hrp2g5"; sha256 = "0w72xf76vxpm3fpslmix0x71l2rd2sdhrvgwx2vk7hxfjqdxib1n";
}; };
patches = [ ./configure-python-libs.patch ]; patches = [ ./configure-python-libs.patch ];
@ -35,6 +35,7 @@ stdenv.mkDerivation rec {
"$(toPythonPath ${pyxml}):$(toPythonPath ${lxml})" || \ "$(toPythonPath ${pyxml}):$(toPythonPath ${lxml})" || \
exit 2 exit 2
done done
rm $out/share/icons/hicolor/icon-theme.cache
''; '';
NIX_LDFLAGS = "-lX11"; NIX_LDFLAGS = "-lX11";

View file

@ -1,16 +1,19 @@
{ fetchurl, stdenv, cmake, qt4 }: { fetchurl, stdenv, cmake, qt4 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "paraview-3.8.0"; name = "paraview-3.8.1";
src = fetchurl { src = fetchurl {
url = "http://www.paraview.org/files/v3.8/ParaView-3.8.0.tar.gz"; url = "http://www.paraview.org/files/v3.8/ParaView-3.8.1.tar.gz";
sha256 = "0y20daf59hn9dmbp1cmx0085z34qccwps04hv2lh9s15namca9py"; sha256 = "0g169vc956gifkd90lcini63dkr5x3id3hkwcwxzriqamxr72r1p";
}; };
preConfigure = '' preConfigure = ''
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/lib/paraview-3.8" export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/lib/paraview-3.8"
''; '';
# I don't enable it due to memory bounds
enableParallelBuilding = false;
buildInputs = [ cmake qt4 ]; buildInputs = [ cmake qt4 ];
meta = { meta = {

View file

@ -1,12 +1,11 @@
{stdenv, fetchgit, mono, gtksharp, pkgconfig}: {stdenv, fetchurl, mono, gtksharp, pkgconfig}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "pinta-0.3"; name = "pinta-0.5";
src = fetchgit { src = fetchurl {
url = http://github.com/jpobst/Pinta.git; url = http://github.com/downloads/jpobst/Pinta/pinta-0.5.tar.gz;
rev = "0.3"; sha256 = "0qv95zswi488bkbck9b9yhmczj1sgqc96nzn4f5rwfqz516kilrl";
sha256 = "17fde1187be4cfd50a9acda4ba45584e24d51ff22df5074654bed23f61faf33b";
}; };
buildInputs = [mono gtksharp pkgconfig]; buildInputs = [mono gtksharp pkgconfig];

View file

@ -0,0 +1,35 @@
{stdenv, fetchurl, cmake, sword, qt, boost, cluceneCore}:
stdenv.mkDerivation rec {
version = "2.7.3";
name = "bibletime-${version}";
src = fetchurl {
url = "mirror://sourceforge/project/bibletime/BibleTime%202/BibleTime%202%20source%20code/${name}.tar.bz2";
sha256 = "0171hlwg4rjv93b3gwcyv3nsj2kzwf4n8f6jw6ld18x7xmk9rkdg";
};
prePatch = ''
patchShebangs .;
'';
preConfigure = ''
export CLUCENE_HOME=${cluceneCore};
export SWORD_HOME=${sword};
'';
buildInputs = [ cmake sword qt boost cluceneCore ];
cmakeFlags = "-DUSE_QT_WEBKIT=ON -DCMAKE_BUILD_TYPE=Debug";
meta = {
description = "A Qt4 Bible study tool";
homepage = http://www.bibletime.info/;
platforms = stdenv.lib.platforms.linux;
license = "GPLv2";
};
}

View file

@ -9,8 +9,8 @@ in
rec { rec {
src = fetchsvn { src = fetchsvn {
url = http://svn.openstreetmap.org/applications/rendering/gosmore; url = http://svn.openstreetmap.org/applications/rendering/gosmore;
sha256 = "0r6c6gk0pjljwcqxjy18d2s526pyv2kwydf5gl9k68s1b20ps3nd"; sha256 = "0ds61gl75rnzvm0hj9papl5sfcgdv4310df9ch7x9rifssfli9zm";
rev = "21657"; rev = "24178";
} + "/"; } + "/";
inherit buildInputs; inherit buildInputs;

View file

@ -40,11 +40,11 @@ stdenv.mkDerivation {
]; ];
configureFlags = configureFlags =
[ "--enable-a4-paper" ] /* We obey ISO standards! */ "--infodir=$out/share/info --mandir=$out/share/man --enable-a4-paper"
++ (if enablePDFtoPPM then [ + (if enablePDFtoPPM then
"--with-freetype2-library=${freetype}/lib" " --with-freetype2-library=${freetype}/lib"
"--with-freetype2-includes=${freetype}/include/freetype2" + " --with-freetype2-includes=${freetype}/include/freetype2"
] else []); else "");
postInstall = " postInstall = "
if test -n \"${base14Fonts}\"; then if test -n \"${base14Fonts}\"; then
@ -59,6 +59,6 @@ stdenv.mkDerivation {
description = "viewer for Portable Document Format (PDF) files"; description = "viewer for Portable Document Format (PDF) files";
platforms = stdenv.lib.platforms.unix; platforms = stdenv.lib.platforms.unix;
maintainers = []; maintainers = [ stdenv.lib.maintainers.simons ];
}; };
} }

View file

@ -35,17 +35,17 @@ assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" ;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "chrome-${version}"; name = "chrome-${version}";
version = "62263"; version = "65039";
src = src =
if stdenv.system == "x86_64-linux" then if stdenv.system == "x86_64-linux" then
fetchurl { fetchurl {
url = "http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/${version}/chrome-linux.zip"; url = "http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/${version}/chrome-linux.zip";
sha256 = "0yn52bqxadwnzi04gfg0ginrvwz18wchqgcl701s7n4i5xzdnmv8"; sha256 = "1ad7kwd1w1958mb3pwzhshawrf2nlxdsf0gy7d2q4qnx5d809vws";
} }
else if stdenv.system == "i686-linux" then else if stdenv.system == "i686-linux" then
fetchurl { fetchurl {
url = "http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/${version}/chrome-linux.zip"; url = "http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/${version}/chrome-linux.zip";
sha256 = "1cbzd4k9m1hf08462him8jqxw13k0wy0q1rpq84niifsqnq4z8nx"; sha256 = "06hz3gvv3623ldrj141w3mnzw049yylvv9b9q5r6my8icm722phf";
} }
else throw "Chromium is not supported on this platform."; else throw "Chromium is not supported on this platform.";

View file

@ -21,10 +21,10 @@
} : } :
stdenv.mkDerivation { stdenv.mkDerivation {
name = "pidgin-2.7.4"; name = "pidgin-2.7.5";
src = fetchurl { src = fetchurl {
url = mirror://sourceforge/pidgin/pidgin-2.7.4.tar.bz2; url = mirror://sourceforge/pidgin/pidgin-2.7.5.tar.bz2;
sha256 = "0mpqh77g5wgi39bqi4hma4z7r3piz3wi8x49s3dy5gc2220s4vvw"; sha256 = "0y6qzgx907k9p8bi8fvjnn4ri7qzmqch1i5lfh45k2lngxxfxxgk";
}; };
inherit nss ncurses; inherit nss ncurses;

View file

@ -11,7 +11,7 @@
let let
langsSpaces = stdenv.lib.concatStringsSep " " langs; langsSpaces = stdenv.lib.concatStringsSep " " langs;
tag = "OOO320_m19"; tag = "OOO320_m19";
version = "3.2.1.3"; version = "3.2.1.6";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "go-oo-${version}"; name = "go-oo-${version}";
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "http://download.go-oo.org/OOO320/ooo-build-${version}.tar.gz"; url = "http://download.go-oo.org/OOO320/ooo-build-${version}.tar.gz";
sha256 = "0c8y66ca9nsfbznjazblpszpvg20mgic2bnpffgqb6qlpji6iwd1"; sha256 = "1l9kpg61wyqjsig5n6a7c7zyygbg09zsmn4q267c12zzpl5qpmxy";
}; };
srcs_download = import ./go-srcs.nix { inherit fetchurl; }; srcs_download = import ./go-srcs.nix { inherit fetchurl; };

View file

@ -1,53 +0,0 @@
# TODO:
# - coqide compilation should be optional or (better) separate;
# - coqide libraries are not installed;
{stdenv, fetchurl, ocaml, camlp5, lablgtk, ncurses}:
stdenv.mkDerivation {
name = "coq-devel-8.3pre1";
src = fetchurl {
url = http://coq.inria.fr/distrib/V8.3-rc1/files/coq-8.3-rc1.tar.gz;
sha256 = "0r43dqr7nzjfkxlz4963sj18gvjni6x3lhrlgh4l8k0cjspi62sj";
};
buildInputs = [ ocaml camlp5 ncurses lablgtk ];
patches = [ ./coq-8.3-rc1_configure.patch ];
postPatch = ''
substituteInPlace scripts/coqmktop.ml --replace \
"\"-I\"; \"+lablgtk2\"" \
"\"-I\"; \"${lablgtk}/lib/ocaml/lablgtk2\"; \"-I\"; \"${lablgtk}/lib/ocaml/stublibs\""
'';
prefixKey = "-prefix ";
preConfigure = ''
ARCH=`uname -s`
CAMLDIR=`type -p ocamlc`
'';
configureFlags =
"-arch $ARCH " +
"-camldir $CAMLDIR " +
"-camldir ${ocaml}/bin " +
"-camlp5dir ${camlp5}/lib/ocaml/camlp5 " +
"-lablgtkdir ${lablgtk}/lib/ocaml/lablgtk2 " +
"-opt -coqide opt";
buildFlags = "world"; # Debug with "world VERBOSE=1";
meta = {
description = "Coq proof assistant (development version)";
longDescription = ''
Coq is a formal proof management system. It provides a formal language
to write mathematical definitions, executable algorithms and theorems
together with an environment for semi-interactive development of
machine-checked proofs.
'';
homepage = "http://coq.inria.fr";
license = "LGPL";
};
}

View file

@ -1,7 +1,7 @@
diff -Nuar coq-8.3-rc1/configure coq-8.3-rc1.nixos/configure diff -Nuar coq-8.3/configure coq-8.3.nixos/configure
--- coq-8.3-rc1/configure 2010-08-06 10:36:16.000000000 +0200 --- coq-8.3/configure 2010-10-14 16:02:46.000000000 +0200
+++ coq-8.3-rc1.nixos/configure 2010-09-14 20:30:02.000000000 +0200 +++ coq-8.3.nixos/configure 2010-11-04 09:57:16.000000000 +0100
@@ -399,7 +399,6 @@ @@ -394,7 +394,6 @@
ocamlyaccexec=$CAMLBIN/ocamlyacc ocamlyaccexec=$CAMLBIN/ocamlyacc
ocamlmktopexec=$CAMLBIN/ocamlmktop ocamlmktopexec=$CAMLBIN/ocamlmktop
ocamlmklibexec=$CAMLBIN/ocamlmklib ocamlmklibexec=$CAMLBIN/ocamlmklib
@ -9,7 +9,7 @@ diff -Nuar coq-8.3-rc1/configure coq-8.3-rc1.nixos/configure
esac esac
if test ! -f "$CAMLC" ; then if test ! -f "$CAMLC" ; then
@@ -647,7 +646,7 @@ @@ -637,7 +636,7 @@
no) LABLGTKLIB=+lablgtk2 # Pour le message no) LABLGTKLIB=+lablgtk2 # Pour le message
LABLGTKINCLUDES="-I $LABLGTKLIB";; # Pour le makefile LABLGTKINCLUDES="-I $LABLGTKLIB";; # Pour le makefile
yes) LABLGTKLIB="$lablgtkdir" # Pour le message yes) LABLGTKLIB="$lablgtkdir" # Pour le message

View file

@ -4,7 +4,7 @@
{stdenv, fetchurl, ocaml, camlp5, lablgtk, ncurses}: {stdenv, fetchurl, ocaml, camlp5, lablgtk, ncurses}:
let let
version = "8.2pl2"; version = "8.3";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
@ -12,7 +12,7 @@ stdenv.mkDerivation {
src = fetchurl { src = fetchurl {
url = "http://coq.inria.fr/V${version}/files/coq-${version}.tar.gz"; url = "http://coq.inria.fr/V${version}/files/coq-${version}.tar.gz";
sha256 = "0dh2vv3bvz8694dd12kjdkdaq19l1vslvygzif11igshc5bw4rhf"; sha256 = "02iy4rxz1n1kc85fb3vs4xpxqfxjw87y2gvmi39fxrj8742qx0dx";
}; };
buildInputs = [ ocaml camlp5 ncurses lablgtk ]; buildInputs = [ ocaml camlp5 ncurses lablgtk ];
@ -27,21 +27,13 @@ stdenv.mkDerivation {
buildFlags = "world"; # Debug with "world VERBOSE=1"; buildFlags = "world"; # Debug with "world VERBOSE=1";
patches = [ ./configure.patch.gz ]; patches = [ ./configure.patch ];
postPatch = '' postPatch = ''
BASH=$(type -tp bash)
UNAME=$(type -tp uname) UNAME=$(type -tp uname)
MV=$(type -tp mv)
RM=$(type -tp rm) RM=$(type -tp rm)
substituteInPlace configure --replace "/bin/bash" "$BASH" \ substituteInPlace configure --replace "/bin/uname" "$UNAME"
--replace "/bin/uname" "$UNAME" substituteInPlace tools/beautify-archive --replace "/bin/rm" "$RM"
substituteInPlace Makefile --replace "/bin/bash" "$BASH" \
--replace "/bin/mv" "$MV" \
--replace "/bin/rm" "$RM"
substituteInPlace Makefile.stage1 --replace "/bin/bash" "$BASH"
substituteInPlace install.sh --replace "/bin/bash" "$BASH"
substituteInPlace dev/v8-syntax/check-grammar --replace "/bin/bash" "$BASH"
substituteInPlace scripts/coqmktop.ml --replace \ substituteInPlace scripts/coqmktop.ml --replace \
"\"-I\"; \"+lablgtk2\"" \ "\"-I\"; \"+lablgtk2\"" \
"\"-I\"; \"${lablgtk}/lib/ocaml/lablgtk2\"; \"-I\"; \"${lablgtk}/lib/ocaml/stublibs\"" "\"-I\"; \"${lablgtk}/lib/ocaml/lablgtk2\"; \"-I\"; \"${lablgtk}/lib/ocaml/stublibs\""

View file

@ -1,6 +1,6 @@
diff -Nuar hol_light/hol.ml hol_light.nixos/hol.ml diff -Nuar hol_light/hol.ml hol_light.nixos/hol.ml
--- hol_light/hol.ml 2010-09-12 18:57:28.000000000 +0200 --- hol_light/hol.ml 2010-11-03 23:09:01.000000000 +0100
+++ hol_light.nixos/hol.ml 2010-09-12 19:09:09.000000000 +0200 +++ hol_light.nixos/hol.ml 2010-11-03 23:10:31.000000000 +0100
@@ -11,8 +11,8 @@ @@ -11,8 +11,8 @@
let hol_version = "2.20++";; let hol_version = "2.20++";;
@ -12,7 +12,7 @@ diff -Nuar hol_light/hol.ml hol_light.nixos/hol.ml
(* ------------------------------------------------------------------------- *) (* ------------------------------------------------------------------------- *)
(* Should eventually change to "ref(Filename.temp_dir_name)". *) (* Should eventually change to "ref(Filename.temp_dir_name)". *)
@@ -23,20 +23,6 @@ @@ -23,19 +23,6 @@
let temp_path = ref "/tmp";; let temp_path = ref "/tmp";;
(* ------------------------------------------------------------------------- *) (* ------------------------------------------------------------------------- *)
@ -21,8 +21,7 @@ diff -Nuar hol_light/hol.ml hol_light.nixos/hol.ml
-(* and for Ocaml >= 3.10, use camlp5 instead. *) -(* and for Ocaml >= 3.10, use camlp5 instead. *)
-(* ------------------------------------------------------------------------- *) -(* ------------------------------------------------------------------------- *)
- -
-if let v = String.sub Sys.ocaml_version 0 4 in -if let v = String.sub Sys.ocaml_version 0 4 in v >= "3.10"
- v = "3.10" or v = "3.11"
-then (Topdirs.dir_directory "+camlp5"; -then (Topdirs.dir_directory "+camlp5";
- Topdirs.dir_load Format.std_formatter "camlp5o.cma") - Topdirs.dir_load Format.std_formatter "camlp5o.cma")
-else (Topdirs.dir_load Format.std_formatter "camlp4o.cma");; -else (Topdirs.dir_load Format.std_formatter "camlp4o.cma");;

View file

@ -2,12 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "hol_light_sources-${version}"; name = "hol_light_sources-${version}";
version = "20100820"; version = "20101029";
src = fetchsvn { src = fetchsvn {
url = http://hol-light.googlecode.com/svn/trunk; url = http://hol-light.googlecode.com/svn/trunk;
rev = "57"; rev = "64";
sha256 = "d1372744abca6c9978673850977d3e1577fd8cfd8298826eb713b3681c10cccd"; sha256 = "91e9cac62586039b13c11af245f85a743e299892b24b39d3c7b2ee13157e87c9";
}; };
buildCommand = '' buildCommand = ''

View file

@ -12,6 +12,10 @@ stdenv.mkDerivation {
sha256 = "0sdrv3lra6j3ylaqsblnd3x7rq4ybafyj7rb114ycadpx2qf06lq"; sha256 = "0sdrv3lra6j3ylaqsblnd3x7rq4ybafyj7rb114ycadpx2qf06lq";
}; };
preConfigure = ''
configureFlags="--infodir=$out/share/info --mandir=$out/share/man"
'';
buildInputs = [clisp]; buildInputs = [clisp];
meta = { meta = {

View file

@ -10,14 +10,16 @@ stdenv.mkDerivation {
patches = [ ./getcwd-chroot.patch ]; patches = [ ./getcwd-chroot.patch ];
preConfigure = preConfigure = ''
# Fix location of info and man directories.
configureFlags="--infodir=$out/share/info --mandir=$out/share/man"
# Apply the Debian patches. # Apply the Debian patches.
'' for p in "debian/patches/"* for p in "debian/patches/"*; do
do echo "applying \`$p' ..."
echo "applying \`$p'..." patch --verbose -p1 < "$p"
patch --verbose -p1 < "$p" done
done '';
'';
buildInputs = [ nano ]; buildInputs = [ nano ];
@ -26,6 +28,6 @@ stdenv.mkDerivation {
description = "Concurrent Versions System - a source control system"; description = "Concurrent Versions System - a source control system";
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
maintainers = []; maintainers = [ stdenv.lib.maintainers.simons ];
}; };
} }

View file

@ -6,7 +6,7 @@ cabal.mkDerivation (self : {
version = "2.4.4"; version = "2.4.4";
sha256 = "97cde35ae4b74488f8b98b487bc0498069eaa74fe035903394f3d4aff1da9f9e"; sha256 = "97cde35ae4b74488f8b98b487bc0498069eaa74fe035903394f3d4aff1da9f9e";
extraBuildInputs = [ propagatedBuildInputs = [
html parsec regexCompat curl haskeline hashedStorage zlib html parsec regexCompat curl haskeline hashedStorage zlib
]; ];

View file

@ -1,7 +1,7 @@
{stdenv, fetchurl, zlib, openssl}: {stdenv, fetchurl, zlib, openssl}:
let let
version = "20101005035549"; version = "20101101142335";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
@ -9,7 +9,7 @@ stdenv.mkDerivation {
src = fetchurl { src = fetchurl {
url = "http://www.fossil-scm.org/download/fossil-src-${version}.tar.gz"; url = "http://www.fossil-scm.org/download/fossil-src-${version}.tar.gz";
sha256 = "14d7sibz9vfmb96xsaia5x6x0059xpn09x3la0xph0ym9gjqp8kb"; sha256 = "129a2zf5zpq397nmmmk31k1yhkgvrssgrh9z4aaj6lh50s3ax0bh";
}; };
buildInputs = [ zlib openssl ]; buildInputs = [ zlib openssl ];

View file

@ -12,11 +12,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "git-1.7.3.1"; name = "git-1.7.3.2";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/software/scm/git/${name}.tar.bz2"; url = "mirror://kernel/software/scm/git/${name}.tar.bz2";
sha256 = "1sfs8hxbqa39cy2sp43mknlm2pywz7ni02kkac4azi9ypyqjdb6h"; sha256 = "0w9yappfl0jb88fk28vv680p33c2j4b0afzl1q2mcq0igjygck5w";
}; };
patches = [ ./docbook2texi.patch ]; patches = [ ./docbook2texi.patch ];

View file

@ -0,0 +1,29 @@
{ stdenv, fetchurl, fetchmtn, qt4 }:
let version = "1.0-mtn-head"; in
stdenv.mkDerivation rec {
name = "guitone-${version}";
#src = fetchurl {
# url = "${meta.homepage}/count.php/from=default/${version}/${name}.tgz";
# sha256 = "08kcyar6p6v5z4dq6q6c1dhyxc2jj49qcd6lj3rdn1rb9hz4n7ms";
#};
src = fetchmtn {
dbs = ["mtn://code.monotone.ca/guitone"];
selector = "2777cdef424c65df93fa1ff181f02ee30d4901ab";
sha256 = "918d36a83060b84efa0ee0fe0fd058f1c871c91156d91366e2e979c886ff4271";
branch = "net.venge.monotone.guitone";
};
buildInputs = [ qt4 ];
prefixKey="PREFIX=";
configureScript = "qmake guitone.pro";
meta = {
description = "Qt4 based GUI for monotone";
homepage = http://guitone.thomaskeller.biz;
inherit (qt4.meta) platforms;
};
}

View file

@ -1,8 +0,0 @@
source $stdenv/setup
myPatchPhase()
{
sed -i -e "s|/usr|$subversion|g" src/svnqt/cmakemodules/FindSubversion.cmake
}
patchPhase=myPatchPhase
genericBuild

View file

@ -1,15 +1,22 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, gettext, apr, aprutil, subversion, db4 { stdenv, fetchurl, lib, cmake, qt4, perl, gettext, apr, aprutil, subversion, db4
, kdelibs, automoc4, phonon}: , kdelibs, automoc4, phonon, kdebase}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "kdesvn-1.5.2"; name = "kdesvn-1.5.5";
src = fetchurl { src = fetchurl {
url = http://kdesvn.alwins-world.de/downloads/kdesvn-1.5.2.tar.bz2; url = http://kdesvn.alwins-world.de/downloads/kdesvn-1.5.5.tar.bz2;
sha256 = "1svblxi70ks816zj1w4cc87x72b628g7xjx4hvx57zw8d9hr463h"; sha256 = "02sb34p04dyd88ksxvpiffhxqwmhs3yv1wif9m8w0fly9hvy1zk7";
}; };
builder = ./builder.sh;
inherit subversion; prePatch = ''
sed -i -e "s|/usr|${subversion}|g" src/svnqt/cmakemodules/FindSubversion.cmake
'';
patches = [ ./docbook.patch ];
buildInputs = [ cmake qt4 perl gettext apr aprutil subversion db4 kdelibs automoc4 phonon ]; buildInputs = [ cmake qt4 perl gettext apr aprutil subversion db4 kdelibs automoc4 phonon ];
meta = { meta = {
description = "KDE SVN front-end"; description = "KDE SVN front-end";
license = "GPL"; license = "GPL";

View file

@ -0,0 +1,13 @@
The name of the dtd changed in kdelibs 4.5, so we need to increase it.
diff --git a/doc/nl/index.docbook b/doc/nl/index.docbook
index 8747869..a9676aa 100644
--- a/doc/nl/index.docbook
+++ b/doc/nl/index.docbook
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY kdesvn "<application>kdesvn</application>">
<!ENTITY kappname "&kdesvn;"><!-- Do *not* replace kappname-->
<!ENTITY package "kde-module"><!-- kdebase, kdeadmin, etc -->

View file

@ -1,12 +1,13 @@
args : with args; args : with args;
rec { rec {
src = fetchmtn { srcDrv = fetchmtn {
name = "monotone-viz-mtn-checkout"; name = "monotone-viz-mtn-checkout";
dbs = ["monotone.ca"]; dbs = ["monotone.mtn-host.prjek.net"];
selector = "b34ff2e695b53c2d73d533a3ffa7cb081b48eefb"; selector = "c3fdb3af1c7c89989c7da8062bb62203f2aaccf0";
branch = "net.venge.monotone-viz.new-stdio"; branch = "net.venge.monotone-viz.new-stdio";
sha256 = "06263564bc111d865b50b4a9587a86f8d97fff47625a3c1cb98d90b79faf7889"; sha256 = "661c6a49d442b7e5a7ba455bb9a892e7e12b3968c2ddd69375e7bd0cd0b3ecb9";
} + "/"; };
src = srcDrv + "/";
buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib
pkgconfig autoconf automake libtool]; pkgconfig autoconf automake libtool];
@ -20,12 +21,13 @@ rec {
autoconf -I . autoconf -I .
'') ["minInit" "addInputs" "doUnpack"]; '') ["minInit" "addInputs" "doUnpack"];
patches = [ ./graphviz.patch ];
name = "monotone-viz-mtn-head"; name = "monotone-viz-mtn-head";
meta = { meta = {
description = "Monotone commit tree visualizer"; description = "Monotone commit tree visualizer";
maintainers = [args.lib.maintainers.raskin]; maintainers = [args.lib.maintainers.raskin];
}; };
passthru = {
inherit srcDrv;
};
} }

View file

@ -2,22 +2,24 @@
lua, pcre, sqlite, perl, pkgconfig}: lua, pcre, sqlite, perl, pkgconfig}:
let let
version = "0.99"; version = "0.99.1";
perlVersion = builtins.substring 5 10 perl.name;
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "monotone-${version}"; name = "monotone-${version}";
inherit perl;
src = fetchurl { src = fetchurl {
url = "http://monotone.ca/downloads/${version}/monotone-${version}.tar.gz"; url = "http://monotone.ca/downloads/${version}/monotone-${version}.tar.gz";
sha256 = "fa677f09169afb71452598ce92ea376fe06037d17bfe650fb6aed17cead11453"; sha256 = "189h5f6gqd4ng0qmzi3xwnj17nnpxm2vzras216ar6b5yc9bnki0";
}; };
buildInputs = [boost zlib botan libidn lua pcre sqlite pkgconfig]; buildInputs = [boost zlib botan libidn lua pcre sqlite pkgconfig];
postInstall = '' postInstall = ''
ensureDir $out/share/${name} ensureDir $out/share/${name}
cp -rv contrib/ $out/share/${name}/contrib cp -rv contrib/ $out/share/${name}/contrib
ensureDir $out/lib/perl5/site_perl/''${perl##*-perl-} ensureDir $out/lib/perl5/site_perl/${perlVersion}
cp -v contrib/Monotone.pm $out/lib/perl5/site_perl/''${perl##*-perl-} cp -v contrib/Monotone.pm $out/lib/perl5/site_perl/${perlVersion}
''; '';
meta = { meta = {
description = "A free distributed version control system";
maintainers = [stdenv.lib.maintainers.raskin]; maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.all;
}; };
} }

View file

@ -10,10 +10,14 @@ stdenv.mkDerivation {
patches = [ ./no-root.patch ]; patches = [ ./no-root.patch ];
preConfigure = ''
makeFlags="man1dir=$out/share/man/man1 man5dir=$out/share/man/man5";
'';
meta = { meta = {
homepage = http://www.cs.purdue.edu/homes/trinkle/RCS/; homepage = http://www.cs.purdue.edu/homes/trinkle/RCS/;
description = "Revision Control System, a version management system"; description = "Revision Control System, a version management system";
maintainers = [ stdenv.lib.maintainers.eelco ]; maintainers = [ stdenv.lib.maintainers.eelco stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
}; };
} }

View file

@ -2,10 +2,10 @@
shared_mime_info, soprano}: shared_mime_info, soprano}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "kdenlive-0.7.7.1"; name = "kdenlive-0.7.8";
src = fetchurl { src = fetchurl {
url = mirror://sourceforge/kdenlive/kdenlive-0.7.7.1.tar.gz; url = mirror://sourceforge/kdenlive/kdenlive-0.7.8.tar.gz;
sha256 = "047kpzfdmipgnnkbdhcpy5c0kqgpg7yn3qhyd7inlplmyd3i1pfx"; sha256 = "10bwmhh3kzdbq1nzq8s5ln7ydrzg41d1rihj5kdmf5hb91az8mvx";
}; };
buildInputs = [ cmake qt4 perl kdelibs automoc4 phonon mlt gettext buildInputs = [ cmake qt4 perl kdelibs automoc4 phonon mlt gettext

View file

@ -1,24 +1,53 @@
{ stdenv, fetchurl, builderDefs, libX11, gtk, pkgconfig, libXmu x@{builderDefsPackage
, libXpm, libpng, libjpeg, libtiff, librsvg }: , libX11, gtk, pkgconfig, libXmu
, libXpm, libpng, libjpeg, libtiff, librsvg
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
let localDefs = builderDefs.passthru.function { buildInputs = map (n: builtins.getAttr n x)
src = /* put a fetchurl here */ (builtins.attrNames (builtins.removeAttrs x helperArgNames));
fetchurl { sourceInfo = rec {
url = http://garr.dl.sourceforge.net/sourceforge/fbpanel/fbpanel-4.12.tgz; baseName="fbpanel";
sha256 = "0zv0zkq6w4h7dk0ji8bm9cqpj2qxv3ss161mqg9y68shvxvmfrlz"; version="6.1";
}; name="${baseName}-${version}";
url="mirror://sourceforge/${baseName}/${name}.tbz2";
hash="e14542cc81ea06e64dd4708546f5fd3f5e01884c3e4617885c7ef22af8cf3965";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
};
inherit (sourceInfo) name version;
inherit buildInputs;
/* doConfigure should be removed if not needed */
phaseNames = ["setVars" "doUnpack" "fixPaths" "doConfigure" "doMakeInstall"];
fixPaths=(a.doPatchShebangs ".");
setVars = a.fullDepEntry ''
export NIX_LDFLAGS="$NIX_LDFLAGS -lX11"
'' [];
meta = {
description = "A stand-alone panel";
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
linux;
};
passthru = {
updateInfo = {
downloadPage = "fbpanel.sourceforge.net";
};
};
}) x
buildInputs = [libX11 gtk pkgconfig libXmu libXpm
libpng libjpeg libtiff librsvg];
configureFlags = [];
}; /* null is a terminator for sumArgs */
in with localDefs;
stdenv.mkDerivation rec {
name = "fbpanel-4.12";
builder = writeScript (name + "-builder")
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
meta = {
description = "Just a desktop panel";
inherit src;
};
}

View file

@ -0,0 +1,47 @@
x@{builderDefsPackage
, libX11, xproto
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
baseName="stalonetray";
version="0.8.0";
name="${baseName}-${version}";
url="mirror://sourceforge/${baseName}/${name}.tar.bz2";
hash="0ccllmpsmilns6xxl174vgcjf8kfakcrhg3psc4cg0yynqbi2mka";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
};
inherit (sourceInfo) name version;
inherit buildInputs;
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
meta = {
description = "Stand alone tray";
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
linux;
};
passthru = {
updateInfo = {
downloadPage = "http://sourceforge.net/projects/stalonetray/files/";
};
};
}) x

View file

@ -10,7 +10,6 @@ STDOUT->autoflush(1);
my $out = $ENV{"out"}; my $out = $ENV{"out"};
my @pathsToLink = split ' ', $ENV{"pathsToLink"}; my @pathsToLink = split ' ', $ENV{"pathsToLink"};
sub isInPathsToLink { sub isInPathsToLink {
@ -153,7 +152,3 @@ my $manifest = $ENV{"manifest"};
if ($manifest) { if ($manifest) {
symlink($manifest, "$out/manifest") or die "cannot create manifest"; symlink($manifest, "$out/manifest") or die "cannot create manifest";
} }
system("eval \"\$postBuild\"") == 0
or die "post-build hook failed";

View file

@ -2,7 +2,7 @@
# a fork of the buildEnv in the Nix distribution. Most changes should # a fork of the buildEnv in the Nix distribution. Most changes should
# eventually be merged back into the Nix distribution. # eventually be merged back into the Nix distribution.
{stdenv, perl}: { perl, runCommand }:
{ name { name
@ -25,8 +25,9 @@
postBuild ? "" postBuild ? ""
}: }:
stdenv.mkDerivation { runCommand name
inherit name manifest paths ignoreCollisions pathsToLink postBuild; { inherit manifest paths ignoreCollisions pathsToLink postBuild; }
realBuilder = "${perl}/bin/perl"; ''
args = ["-w" ./builder.pl]; ${perl}/bin/perl -w ${./builder.pl}
} eval "$postBuild"
''

View file

@ -484,6 +484,7 @@ let inherit (builtins) head tail trace; in
generateFontsFromSFD = fullDepEntry ('' generateFontsFromSFD = fullDepEntry (''
for i in *.sfd; do for i in *.sfd; do
echo $i;
fontforge -c \ fontforge -c \
'Open($1); 'Open($1);
${optionalString (args ? extraFontForgeCommands) args.extraFontForgeCommands ${optionalString (args ? extraFontForgeCommands) args.extraFontForgeCommands

View file

@ -52,12 +52,13 @@ stdenv.mkDerivation (
generateWrappersPhase = generateWrappersPhase =
let let
cp = w: "-cp ${lib.optionalString (w ? classPath) w.classPath}${lib.optionalString (w ? mainClass) ":$out/lib/java/${w.jar}"}"; cp = w: "-cp '${lib.optionalString (w ? classPath) w.classPath}${lib.optionalString (w ? mainClass) ":$out/lib/java/*"}'";
in in
'' ''
header "Generating jar wrappers" header "Generating jar wrappers"
'' + (stdenv.lib.concatMapStrings (w: '' '' + (stdenv.lib.concatMapStrings (w: ''
ensureDir $out/bin
cat >> $out/bin/${w.name} <<EOF cat >> $out/bin/${w.name} <<EOF
#! /bin/sh #! /bin/sh
export JAVA_HOME=$jre export JAVA_HOME=$jre

View file

@ -0,0 +1,58 @@
x@{builderDefsPackage
, unzip
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
url="http://www.i18nguy.com/unicode/andagii.zip";
name="andagii";
hash="0cknb8vin15akz4ahpyayrpqyaygp9dgrx6qw7zs7d6iv9v59ds1";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
};
inherit (sourceInfo) name version;
inherit buildInputs;
/* doConfigure should be removed if not needed */
phaseNames = ["doUnpack" "doInstall"];
doUnpack = a.fullDepEntry ''
unzip "${src}"
'' ["addInputs"];
doInstall = a.fullDepEntry (''
ensureDir "$out"/share/fonts/ttf/
cp ANDAGII_.TTF "$out"/share/fonts/ttf/andagii.ttf
'') ["defEnsureDir" "minInit"];
meta = {
description = "Unicode Plane 1 Osmanya script font";
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
[];
# There are multiple claims that the font is GPL,
# so I include the package; but I cannot find the
# original source, so use it on your own risk
# Debian claims it is GPL - good enough for me.
};
passthru = {
updateInfo = {
downloadPage = "http://www.i18nguy.com/unicode/unicode-font.html";
};
};
}) x

View file

@ -1,7 +1,7 @@
args : with args; args : with args;
let localDefs = builderDefs.passthru.function { let localDefs = builderDefs.passthru.function {
src =""; /* put a fetchurl here */ src =""; /* put a fetchurl here */
buildInputs = [mkfontdir mkfontscale ttmkfdir]; buildInputs = [mkfontdir mkfontscale];
configureFlags = []; configureFlags = [];
}; };
in with localDefs; in with localDefs;
@ -14,12 +14,6 @@ let
done done
mkfontdir mkfontdir
mkfontscale mkfontscale
mv fonts.scale fonts.scale.old
mv fonts.dir fonts.dir.old
ttmkfdir
cat fonts.dir.old >> fonts.dir
cat fonts.scale.old >> fonts.scale
rm fonts.dir.old fonts.scale.old
") [minInit addInputs defEnsureDir] ; ") [minInit addInputs defEnsureDir] ;
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {

View file

@ -2,11 +2,11 @@
GConf, enchant, isocodes, gnome_icon_theme }: GConf, enchant, isocodes, gnome_icon_theme }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gtkhtml-3.29.5"; name = "gtkhtml-3.29.92.1";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gtkhtml/3.29/${name}.tar.bz2"; url = "mirror://gnome/sources/gtkhtml/3.29/${name}.tar.bz2";
sha256 = "0abd91isqbriq9nclq14275v2xd0r9vrr3sxhxwxxp02m8gskwvd"; sha256 = "a34fe24af0f591db95010475c21a461985ef4479b2e91602bc745a9accfeef77";
}; };
buildInputs = [pkgconfig gtk intltool GConf enchant isocodes gnome_icon_theme ]; buildInputs = [pkgconfig gtk intltool GConf enchant isocodes gnome_icon_theme ];

View file

@ -0,0 +1,45 @@
{stdenv, fetchurl}:
let
inherit (stdenv) system;
version = "20b";
downloadUrl = arch:
"http://common-lisp.net/project/cmucl/downloads/release/" +
"${version}/cmucl-${version}-${arch}.tar.bz2";
fetchDist = {arch, sha256}: fetchurl {
url = downloadUrl arch;
inherit sha256;
};
dist =
if system == "i686-linux" then fetchDist {
arch = "x86-linux";
sha256 = "1s00r1kszk5zhmv7m8z5q2wcqjn2gn7fbqwji3hgnsdvbb1f3jdn";
}
else if system == "i686-darwin" then fetchDist {
arch = "x86-darwin";
sha256 = "0vd3zbp5zcp0hjd3y03k595hmri8hw884brjpwjiby3jpm3l40np";
}
else throw "Unsupported platform for cmucl.";
in
stdenv.mkDerivation {
name = "cmucl-binary-${version}";
buildCommand = ''
ensureDir $out
tar -C $out -xjf ${dist}
patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
$out/bin/lisp
'';
meta = {
description = "The CMU implementation of Common Lisp";
longDescription = ''
CMUCL is a free implementation of the Common Lisp programming language
which runs on most major Unix platforms. It mainly conforms to the
ANSI Common Lisp standard.
'';
license = "free"; # public domain
homepage = http://www.cons.org/cmucl/;
};
}

View file

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
preConfigure = preConfigure =
if stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" then '' if stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" then ''
sed -e "s@'/lib/ld-linux[^']*'@'''@" -i fpcsrc/compiler/systems/t_linux.pas sed -e "s@'/lib/ld-linux[^']*'@'''@" -i fpcsrc/compiler/systems/t_linux.pas
sed -e "s@'/lib64/ld-linux[^']*'@'''@" -i fpcsrc/compiler/systems/t_linux.pas
'' else ""; '' else "";
makeFlags = "NOGDB=1"; makeFlags = "NOGDB=1";

View file

@ -1,7 +1,7 @@
{stdenv, fetchurl, ghc, perl, gmp, ncurses}: {stdenv, fetchurl, ghc, perl, gmp, ncurses}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "7.0.1-rc1"; version = "7.0.1-rc2";
name = "ghc-${version}"; name = "ghc-${version}";
@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
homepage = "http://haskell.org/ghc"; homepage = "http://haskell.org/ghc";
src = fetchurl { src = fetchurl {
url = "http://new-www.haskell.org/ghc/dist/${version}/ghc-7.0.0.20100924-src.tar.bz2"; url = "http://new-www.haskell.org/ghc/dist/${version}/ghc-7.0.0.20101028-src.tar.bz2";
sha256 = "14b3cg4i805798v0rasr16nja70k68vp34qar0pv2vbwcl39apv5"; sha256 = "6048eb94163c96b99094960fe2e5ddd1053594323ba80548dabf50c62c1b7b71";
}; };
buildInputs = [ghc perl gmp ncurses]; buildInputs = [ghc perl gmp ncurses];

View file

@ -1,10 +1,10 @@
{stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl}: {stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "mono-2.6.4"; name = "mono-2.8";
src = fetchurl { src = fetchurl {
url = http://ftp.novell.com/pub/mono/sources/mono/mono-2.6.4.tar.bz2; url = http://ftp.novell.com/pub/mono/sources/mono/mono-2.8.tar.bz2;
sha256 = "08krrl9zdigzxxa10c9scy518301l20xmw6dc2w8s0rvrhxryny0"; sha256 = "04bivxg90mmihkp72sjshl4ijbjcbl9f6hdgm476zy794g5rwd78";
}; };
buildInputs = [bison pkgconfig glib gettext perl]; buildInputs = [bison pkgconfig glib gettext perl];
@ -12,10 +12,15 @@ stdenv.mkDerivation {
NIX_LDFLAGS = "-lgcc_s" ; NIX_LDFLAGS = "-lgcc_s" ;
# To overcome the bug https://bugzilla.novell.com/show_bug.cgi?id=644723
dontDisableStatic = true;
# Attempt to fix this error when running "mcs --version": # Attempt to fix this error when running "mcs --version":
# The file /nix/store/xxx-mono-2.4.2.1/lib/mscorlib.dll is an invalid CIL image # The file /nix/store/xxx-mono-2.4.2.1/lib/mscorlib.dll is an invalid CIL image
dontStrip = true; dontStrip = true;
enableParallelBuilding = true;
preBuild = " preBuild = "
makeFlagsArray=(INSTALL=`type -tp install`) makeFlagsArray=(INSTALL=`type -tp install`)
patchShebangs ./ patchShebangs ./

View file

@ -1,9 +1,9 @@
rec { rec {
version="1.0.43"; version="1.0.44";
name="sbcl-1.0.43"; name="sbcl-1.0.44";
hash="0csykjcmy0gjlvxx7pg7kd2b7h610zpys3xla85qjj9ngjzpmbcq"; hash="0nl1vrz6mibbhjaxbi64gr0sbq9hf2yjc1h4i05kjw5l6dhws8hg";
url="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.43/sbcl-1.0.43-source.tar.bz2"; url="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.44/sbcl-1.0.44-source.tar.bz2";
advertisedUrl="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.43/sbcl-1.0.43-source.tar.bz2"; advertisedUrl="http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.44/sbcl-1.0.44-source.tar.bz2";
} }

View file

@ -1,7 +1,7 @@
{ {
baseName = "sbcl"; baseName = "sbcl";
downloadPage = "http://sourceforge.net/projects/sbcl/files/"; downloadPage = "http://sourceforge.net/projects/sbcl/files/";
choiceCommand = "head -1 | sed -e 's@/download@@;'\"$skipRedirectSF\""; choiceCommand = "head -n 2| tail -n 1 | sed -e 's@/download@@;'\"$skipRedirectSF\"";
sourceRegexp = "source[.-].*tar"; sourceRegexp = "source[.-].*tar";
versionExtractorSedScript = "s/.*-([0-9.rc]+)-.*/\\1/"; versionExtractorSedScript = "s/.*-([0-9.rc]+)-.*/\\1/";
blacklistRegexp = "1[.]0[.]3[012]|1[.]0[.]29[.]54[.]rc1"; blacklistRegexp = "1[.]0[.]3[012]|1[.]0[.]29[.]54[.]rc1";

View file

@ -2,12 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "urweb"; pname = "urweb";
version = "20100603"; version = "20101102";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "http://www.impredicative.com/ur/${name}.tgz"; url = "http://www.impredicative.com/ur/${name}.tgz";
sha256 = "1f2l09g3586w0fyd7i7wkfnqlqwrk7c1q9pngmd8jz69g5ysl808"; sha256 = "1x661z6hg8gb7v1n580kdij9mr6vv3psm28zr4mmipj2kqh66gfi";
}; };
buildInputs = [ stdenv.gcc file libmhash mlton mysql postgresql sqlite ]; buildInputs = [ stdenv.gcc file libmhash mlton mysql postgresql sqlite ];

View file

@ -3,12 +3,12 @@
, libffi, libffcall, coreutils }: , libffi, libffcall, coreutils }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
v = "2.48"; v = "2.49";
name = "clisp-${v}"; name = "clisp-${v}";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/clisp/release/${v}/${name}.tar.bz2"; url = "mirror://gnu/clisp/release/${v}/${name}.tar.bz2";
sha256 = "1hix1j7zhbn37ld46d6pi6agwxski893l1zwriwkd8jr11b3zf05"; sha256 = "8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890";
}; };
inherit libsigsegv gettext coreutils; inherit libsigsegv gettext coreutils;

View file

@ -134,13 +134,11 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
gdSupport = getConfig ["php" "gd"] true; gdSupport = getConfig ["php" "gd"] true;
}; };
# only -O1
configurePhase = '' configurePhase = ''
iniFile=$out/etc/php-recommended.ini iniFile=$out/etc/php-recommended.ini
[[ -z "$libxml2" ]] || export PATH=$PATH:$libxml2/bin [[ -z "$libxml2" ]] || export PATH=$PATH:$libxml2/bin
./configure --with-config-file-scan-dir=/etc --with-config-file-path=$out/etc --prefix=$out $configureFlags ./configure --with-config-file-scan-dir=/etc --with-config-file-path=$out/etc --prefix=$out $configureFlags
echo configurePhase end echo configurePhase end
sed -e 's/-O2/-O1/g' -i Makefile # http://bugs.php.net/bug.php?id=47730&edit=3
''; '';
installPhase = '' installPhase = ''

View file

@ -1,28 +1,52 @@
a : x@{builderDefsPackage
, python
, bzip2, zlib, gmp, openssl
, boost
, ...}:
builderDefsPackage
(a :
let let
fetchurl = a.fetchurl; helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
version = a.lib.attrByPath ["version"] "1.8.1" a; buildInputs = map (n: builtins.getAttr n x)
buildInputs = with a; [ (builtins.attrNames (builtins.removeAttrs x helperArgNames));
perl sourceInfo = rec {
]; baseName="botan";
tarBaseName="Botan";
baseVersion="1.8";
revision="11";
version="${baseVersion}.${revision}";
name="${baseName}-${version}";
url="http://files.randombit.net/${baseName}/v${baseVersion}/${tarBaseName}-${version}.tbz";
hash="194vffc9gfb0912lzndn8nzblg2d2gjmk13fc8hppgpw7ln0mdn3";
};
in in
rec { rec {
src = fetchurl { src = a.fetchurl {
url = "http://files.randombit.net/botan/Botan-${version}.tbz"; url = sourceInfo.url;
sha256 = "1lgqkg7q0qpzh647zmzay149myrjihcx4jp3rrz6gw17rgn11v98"; sha256 = sourceInfo.hash;
}; };
inherit (sourceInfo) name version;
inherit buildInputs; inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */ /* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"]; phaseNames = ["doConfigure" "doMakeInstall"];
configureCommand = "python configure.py --with-gnump --with-bzip2 --with-zlib --with-openssl --with-tr1-implementation=boost";
configureCommand = "perl ./configure.pl";
name = "botan-" + version;
meta = { meta = {
description = "Cryptographic algorithms library"; description = "Cryptographic algorithms library";
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
unix;
}; };
} passthru = {
updateInfo = {
downloadPage = "http://files.randombit.net/botan/";
};
};
}) x

View file

@ -1,17 +1,18 @@
{stdenv, fetchurl, unzip}: {stdenv, fetchurl, unzip}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "freeimage-3.13.1"; name = "freeimage-3.14.1";
src = fetchurl { src = fetchurl {
url = mirror://sourceforge/freeimage/FreeImage3131.zip; url = mirror://sourceforge/freeimage/FreeImage3141.zip;
sha256 = "1ilpfgyi3qhjra5hxvjcrq3bna909bgdl7rgmhkybmcpdq1x56rj"; sha256 = "0rgzdjwzd64z5z9j4bq075h3kfqjk8ab2dwswy0lnzw9jvmbbifm";
}; };
buildInputs = [ unzip ]; buildInputs = [ unzip ];
patchPhase = '' prePatch = ''
sed -e s@/usr/@$out/@ \ sed -e s@/usr/@$out/@ \
-e 's@-o root -g root@@' \ -e 's@-o root -g root@@' \
-e 's@ldconfig@echo not running ldconfig@' \ -e 's@ldconfig@echo not running ldconfig@' \
-i Makefile.gnu -i Makefile.gnu
''; '';
patches = [ ./memset.patch ];
preInstall = "mkdir -p $out/include $out/lib"; preInstall = "mkdir -p $out/include $out/lib";
meta = { meta = {

View file

@ -0,0 +1,11 @@
diff -urN a/Source/OpenEXR/Imath/ImathMatrix.h b/Source/OpenEXR/Imath/ImathMatrix.h
--- a/Source/OpenEXR/Imath/ImathMatrix.h 2010-07-17 12:48:40.000000000 +0200
+++ b/Source/OpenEXR/Imath/ImathMatrix.h 2010-09-03 18:38:37.138598422 +0200
@@ -49,6 +49,7 @@
#include "ImathVec.h"
#include "ImathShear.h"
+#include <string.h>
#include <iostream>
#include <iomanip>

View file

@ -11,11 +11,14 @@ rec {
inherit (s) name; inherit (s) name;
inherit buildInputs; inherit buildInputs;
phaseNames = ["doPatch" "killUsr" "doMakeInstall"]; phaseNames = ["doPatch" "fixX86Def" "killUsr" "doMakeInstall"];
patches = [./constants.patch]; patches = [./constants.patch];
makeFlags = [ makeFlags = [
"DESTDIR=$out" "DESTDIR=$out"
]; ];
fixX86Def = a.fullDepEntry (''
sed -i lrmi.c -e 's@defined(__i386__)@(defined(__i386__) || defined(__x86_64__))@'
'') ["doUnpack" "minInit"];
killUsr = a.fullDepEntry ('' killUsr = a.fullDepEntry (''
sed -e s@/usr@@ -i Makefile sed -e s@/usr@@ -i Makefile
'') ["doUnpack" "minInit"]; '') ["doUnpack" "minInit"];

View file

@ -2,11 +2,11 @@
libvorbis, sox}: libvorbis, sox}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "mlt-0.5.4"; name = "mlt-0.5.10";
src = fetchurl { src = fetchurl {
url = mirror://sourceforge/mlt/mlt-0.5.4.tar.gz; url = mirror://sourceforge/mlt/mlt-0.5.10.tar.gz;
sha256 = "12s5znbm6q45r33ymyw1bak3d41xhh72gh9i1pdsgvddr0pizshj"; sha256 = "17nil3snm6qgcyld852ys0kqm61cx94zb3bvjdqgci6z1ia3crhh";
}; };
buildInputs = [ qt SDL ffmpeg libdv libxml2 libsamplerate libvorbis sox ]; buildInputs = [ qt SDL ffmpeg libdv libxml2 libsamplerate libvorbis sox ];

View file

@ -0,0 +1,30 @@
{stdenv, fetchurl, pkgconfig, icu, cluceneCore, curl}:
stdenv.mkDerivation rec {
version = "1.6.2";
name = "sword-${version}";
src = fetchurl {
url = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.6/${name}.tar.gz";
sha256 = "1fc71avaxkhx6kckjiflw6j02lpg569b9bzaksq49i1m87awfxmg";
};
buildInputs = [ pkgconfig icu cluceneCore curl ];
prePatch = ''
patchShebangs .;
'';
configureFlags = "--without-conf --enable-debug";
meta = {
description = "A software framework that allows research manipulation of Biblical texts";
homepage = http://www.crosswire.org/sword/;
platforms = stdenv.lib.platforms.linux;
license = "GPLv2";
};
}

View file

@ -35,6 +35,7 @@ rec {
# https://bugs.webkit.org/show_bug.cgi?id=45110 # https://bugs.webkit.org/show_bug.cgi?id=45110
# "--enable-indexed-database" # "--enable-indexed-database"
# Related bug is marked as closed, but seems to persist
# "--enable-xhtmlmp" # "--enable-xhtmlmp"
# "--enable-input-speech" # "--enable-input-speech"

View file

@ -1,9 +1,9 @@
rec { rec {
version="r69611"; version="r70732";
name="webkit-r69611"; name="webkit-r70732";
hash="1429hz86w4c2lzl32mpfxcim25d3xvqgx2as1c5ghdhiv0q9d76p"; hash="1y81rir7mwqxd40i4zzq79c7wa0pvvgvk332k1j94xwqfrffnxzi";
url="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r69611.tar.bz2"; url="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r70732.tar.bz2";
advertisedUrl="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r69611.tar.bz2"; advertisedUrl="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r70732.tar.bz2";
} }

View file

@ -10,6 +10,13 @@ stdenv.mkDerivation {
buildInputs = [ ncurses openssl flex bison ]; buildInputs = [ ncurses openssl flex bison ];
patches = [
(fetchurl {
url = http://svn.exactcode.de/t2/trunk/package/games/bsd-games/dm-noutmpx.patch;
sha256 = "1k3qp3jj0dksjr4dnppv6dvkwslrgk9c7p2n9vipqildpxgqp7w2";
})
];
preConfigure = '' preConfigure = ''
cat > config.params << EOF cat > config.params << EOF
bsd_games_cfg_man6dir=$out/share/man/man6 bsd_games_cfg_man6dir=$out/share/man/man6

View file

@ -0,0 +1,30 @@
{stdenv, fetchgit, kernel, ...}:
stdenv.mkDerivation {
src = fetchgit {
url="git://github.com/mkottman/acpi_call.git";
rev="4f71ce83392bc52b3497";
sha256="1f20516dc7d42bc7d9d71eaa54f48f38cd56b8683062f81d6f3857990056bdd3";
};
name = "acpi-call";
preBuild = ''
sed -e 's/break/true/' -i test_off.sh
sed -e 's@/bin/bash@.bin/sh@' -i test_off.sh
sed -e "s@/lib/modules@${kernel}/&@" -i Makefile
'';
installPhase = ''
kernelVersion=$(cd ${kernel}/lib/modules && ls)
ensureDir $out/lib/modules/$kernelVersion/misc
cp acpi_call.ko $out/lib/modules/$kernelVersion/misc
ensureDir $out/bin
cp test_off.sh $out/bin/test_discrete_video_off.sh
'';
meta = {
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
description = "A module allowing arbitrary ACPI calls; use case: hybrid video";
};
}

View file

@ -198,11 +198,11 @@ in
import ./generic.nix ( import ./generic.nix (
rec { rec {
version = "2.6.32.24"; version = "2.6.32.25";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v2.6/linux-${version}.tar.bz2"; url = "mirror://kernel/linux/kernel/v2.6/linux-${version}.tar.bz2";
sha256 = "0girs793499ig4p4rp1pi3fdigbdv4h2slavxs8jlj9kxd2x19y7"; sha256 = "1ycri78c335qqmfqxg8c4m03f6gy0q1y35yv7yg2f2m6aqhylh2z";
}; };
config = configWithPlatform stdenv.platform; config = configWithPlatform stdenv.platform;

View file

@ -78,6 +78,8 @@ let
# Video configuration # Video configuration
# The intel drivers already require KMS # The intel drivers already require KMS
DRM_I915_KMS y DRM_I915_KMS y
# Hybrid graphics support
VGA_SWITCHEROO y
# Sound. # Sound.
SND_AC97_POWER_SAVE y # AC97 Power-Saving Mode SND_AC97_POWER_SAVE y # AC97 Power-Saving Mode

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation {
configureFlags = configureFlags =
"--with-nicklen=100 --with-topiclen=360 --enable-openssl=${openssl}"; "--with-nicklen=100 --with-topiclen=360 --enable-openssl=${openssl}";
preInstall = "mkdir -p \${out}/ ; ln -s /home/ircd \${out}/logs;"; postInstall = "echo postinstall; mkdir -p \${out}/ ; rm -rf \${out}/logs ; ln -s /home/ircd \${out}/logs;";
meta = { meta = {
description = "An IPv6-capable IRC server"; description = "An IPv6-capable IRC server";

View file

@ -2,12 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ntfs-3g"; pname = "ntfs-3g";
version = "2009.4.4"; version = "2010.10.2";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/${name}.tgz"; url = "http://tuxera.com/opensource/${name}.tgz";
sha256 = "03qdbv0c6gfssmb2s0zzqhwp447n2hgr2qjvc0p527slj2z9xlxw"; sha256 = "0wcyks4nvi1kck8i2dgwfsy5zxhil0v0xam8zbg1p592xbqygiqp";
}; };
preConfigure = '' preConfigure = ''
@ -20,7 +20,8 @@ stdenv.mkDerivation rec {
configureFlags = "--disable-ldconfig --exec-prefix=\${prefix} --enable-mount-helper"; configureFlags = "--disable-ldconfig --exec-prefix=\${prefix} --enable-mount-helper";
meta = { meta = {
homepage = http://www.ntfs-3g.org; homepage = http://www.tuxera.com/community/;
description = "FUSE-base NTFS driver with full write support"; description = "FUSE-base NTFS driver with full write support";
maintainers = [ stdenv.lib.maintainers.urkud ];
}; };
} }

View file

@ -1,10 +1,10 @@
{ stdenv, fetchurl, fam }: { stdenv, fetchurl, fam }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "fileschanged-0.6.9"; name = "fileschanged-0.6.9";
src = fetchurl { src = fetchurl {
url = "http://nongnu.askapache.com/fileschanged/fileschanged-0.6.9.tar.gz"; url = "mirror://savannah/fileschanged/${name}.tar.gz";
sha256 = "0ajc9h023vzpnlqqjli4wbvs0q36nr5p9msc3wzbic8rk687qcxc"; sha256 = "0ajc9h023vzpnlqqjli4wbvs0q36nr5p9msc3wzbic8rk687qcxc";
}; };
@ -14,8 +14,8 @@ stdenv.mkDerivation {
meta = { meta = {
homepage = "http://www.nongnu.org/fileschanged/"; homepage = "http://www.nongnu.org/fileschanged/";
description = "A command-line utility that reports when files have been altered."; description = "A command-line utility that reports when files have been altered";
license = "GPL"; license = "GPLv3+";
longDescription = '' longDescription = ''
This utility is a client to FAM (File Alteration Monitor) servers This utility is a client to FAM (File Alteration Monitor) servers

View file

@ -8,7 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "0xvckv1ia5pjxk7fs4za6gz2njwmfd54sc464n8ab13096qxbw3q"; sha256 = "0xvckv1ia5pjxk7fs4za6gz2njwmfd54sc464n8ab13096qxbw3q";
}; };
configureFlags = [ "--enable-telnet" ]; preConfigure = ''
configureFlags="--enable-telnet --infodir=$out/share/info --mandir=$out/share/man"
sed -i -e "s|/usr/local|/non-existent|g" -e "s|/usr|/non-existent|g" configure Makefile.in */Makefile.in
'';
buildInputs = [ ncurses ]; buildInputs = [ ncurses ];
doCheck = true; doCheck = true;
@ -42,6 +46,6 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus; license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix; platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.ludo ]; maintainers = [ stdenv.lib.maintainers.ludo stdenv.lib.maintainers.simons ];
}; };
} }

View file

@ -14,27 +14,28 @@ stdenv.mkDerivation rec {
library can be found. Obviously, though, this is a hack. */ library can be found. Obviously, though, this is a hack. */
NIX_LDFLAGS="-lgcc_s"; NIX_LDFLAGS="-lgcc_s";
# Setting --with-machines=$out in configureFlags doesn't seem to work, preConfigure = ''
# so I specify configurePhase instead. configureFlagsArray=(
configurePhase = "./configure --prefix=$out --with-machines=$out/etc/machines" "--infodir=$out/share/info"
+ " " + (if readline == null then "--without-readline" else "--with-readline") "--mandir=$out/share/man"
+ " " + (if ssh == null then "--without-ssh" else "--with-ssh") "--with-machines=$out/etc/machines"
+ " " + (if pam == null then "--without-pam" else "--with-pam") ${if readline == null then "--without-readline" else "--with-readline"}
+ " " + (if rsh == false then "--without-rsh" else "--with-rsh") ${if ssh == null then "--without-ssh" else "--with-ssh"}
+ " --with-dshgroups" ${if pam == null then "--without-pam" else "--with-pam"}
+ " --with-xcpu" ${if rsh == false then "--without-rsh" else "--with-rsh"}
+ " --without-genders" "--with-dshgroups"
+ " --without-mqshell" "--with-xcpu"
+ " --without-mrsh" "--without-genders"
+ " --without-netgroup" "--without-mqshell"
+ " --without-nodeattr" "--without-mrsh"
+ " --without-nodeupdown" "--without-netgroup"
+ " --without-qshell" "--without-nodeattr"
+ " --without-slurm" "--without-nodeupdown"
+ " --enable-fast-install" "--without-qshell"
+ " --disable-dependency-tracking" "--without-slurm"
+ " --disable-debug" "--disable-debug"
; )
'';
meta = { meta = {
homepage = "https://computing.llnl.gov/linux/pdsh.html"; homepage = "https://computing.llnl.gov/linux/pdsh.html";

View file

@ -1,34 +0,0 @@
source $stdenv/setup
# Fix permissions
cp -av $src/* .
find . -type f | while read i
do
chmod 644 "$i"
done
find . -type d | while read i
do
chmod 755 "$i"
done
export AXIS2_LIB=$axis2/share/java/axis2
# Deploy webservice
ant generate.library.jar
ant generate.service.aar
ensureDir $out/shared/lib
cp *.jar *.so $out/shared/lib
chmod 755 $out/shared/lib/*.so
ensureDir $out/webapps/axis2/WEB-INF/services
cp DisnixService.aar $out/webapps/axis2/WEB-INF/services
# Deploy client
ant generate.client.jar
ensureDir $out/bin
for i in disnix-soap-*
do
sed -i -e "s|AXIS2_LIBDIR=|AXIS2_LIBDIR=$axis2/share/java/axis2|" $i
shebangfix $i
done
cp disnix-soap-* DisnixClient.jar jargs.jar *.nix builder.sh $out/bin
chmod 755 $out/bin/disnix-soap-*

View file

@ -1,10 +1,10 @@
{stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java}: {stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "DisnixService-0.1"; name = "DisnixWebService-0.2";
src = fetchurl { src = fetchurl {
url = http://hydra.nixos.org/build/337920/download/1/DisnixService-0.1.tar.bz2; url = http://hydra.nixos.org/build/716007/download/1/DisnixWebService-0.2.tar.bz2;
sha256 = "18526dh5axmicbahwma2m71hw7j0nkxmmhgl4kd76r61wdiiblx7"; sha256 = "0a6l9dhi20d67bddzgqi15i00xvrxacpmfbn5a0nscp2izzbvmdr";
}; };
buildInputs = [ apacheAnt ]; buildInputs = [ apacheAnt ];
PREFIX = ''''${env.out}''; PREFIX = ''''${env.out}'';

View file

@ -1,9 +1,34 @@
{stdenv, fetchurl}: { stdenv, fetchurl
, ejabberd ? null, mysql ? null
, enableApacheWebApplication ? false
, enableAxis2WebService ? false
, enableEjabberdDump ? false
, enableMySQLDatabase ? false
, enableTomcatWebApplication ? false
, catalinaBaseDir ? "/var/tomcat"
}:
assert enableMySQLDatabase -> mysql != null;
assert enableEjabberdDump -> ejabberd != null;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "disnix-activation-scripts-test"; name = "disnix-activation-scripts-0.2pre24557";
src = fetchurl { src = fetchurl {
url = http://hydra.nixos.org/build/333630/download/1/disnix-activation-scripts-nixos-0.1.tar.gz; url = http://hydra.nixos.org/build/727573/download/1/disnix-activation-scripts-0.2pre24557.tar.gz;
sha256 = "0izkkdw9r2gff03mq973ah5b9b0a4b07l8ac0406yv8ss9vaaclm"; sha256 = "089bp700rjdxfa0wzf81420i5iphs78kkz41506ibsfnbm8k3axj";
}; };
preConfigure = if enableEjabberdDump then "export PATH=$PATH:${ejabberd}/sbin" else "";
configureFlags = ''
${if enableApacheWebApplication then "--with-apache" else "--without-apache"}
${if enableAxis2WebService then "--with-axis2" else "--without-axis2"}
${if enableEjabberdDump then "--with-ejabberd" else "--without-ejabberd"}
${if enableMySQLDatabase then "--with-mysql" else "--without-mysql"}
${if enableTomcatWebApplication then "--with-tomcat=${catalinaBaseDir}" else "--without-tomcat"}
'';
buildInputs = []
++ stdenv.lib.optional enableEjabberdDump ejabberd
++ stdenv.lib.optional enableMySQLDatabase mysql;
} }

View file

@ -1,10 +1,14 @@
{stdenv, fetchurl, pkgconfig, dbus_glib, libxml2, libxslt, getopt, nixUnstable}: {stdenv, fetchurl, pkgconfig, dbus_glib, libxml2, libxslt, getopt, nixUnstable, gettext, libiconv}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "disnix-0.1"; name = "disnix-0.2pre24517";
src = fetchurl { src = fetchurl {
url = http://hydra.nixos.org/build/334661/download/1/disnix-0.1.tar.gz; url = http://hydra.nixos.org/build/720966/download/3/disnix-0.2pre24517.tar.gz;
sha256 = "0qiskbgn49dihhicczsbjandwjnz04yhnlxgwjinkcyfzsh4yqdp"; sha256 = "03d2w9kckk8hy2xrywb5mk5qiyd9kjxabihv1rjnc3grlzi053k4";
}; };
buildInputs = [ pkgconfig dbus_glib libxml2 libxslt getopt nixUnstable ]; buildInputs = [ pkgconfig dbus_glib libxml2 libxslt getopt nixUnstable ]
++ stdenv.lib.optional (!stdenv.isLinux) libiconv
++ stdenv.lib.optional (!stdenv.isLinux) gettext;
dontStrip = true;
NIX_STRIP_DEBUG = true;
} }

View file

@ -20,6 +20,6 @@ stdenv.mkDerivation rec{
homepage = http://lxc.sourceforge.net; homepage = http://lxc.sourceforge.net;
description = "lxc Linux Containers userland tools"; description = "lxc Linux Containers userland tools";
license = "LGPLv2.1+"; license = "LGPLv2.1+";
platforms = with stdenv.lib.platforms; all; platforms = stdenv.lib.platforms.linux;
}; };
} }

View file

@ -237,9 +237,8 @@ let
theAttrSet = arg; theAttrSet = arg;
}; };
buildEnvScript = ../build-support/buildenv/builder.pl;
buildEnv = import ../build-support/buildenv { buildEnv = import ../build-support/buildenv {
inherit stdenv perl; inherit runCommand perl;
}; };
dotnetenv = import ../build-support/dotnetenv { dotnetenv = import ../build-support/dotnetenv {
@ -371,15 +370,15 @@ let
amule = callPackage ../tools/networking/p2p/amule { }; amule = callPackage ../tools/networking/p2p/amule { };
amuleDaemon = amule.override { amuleDaemon = appendToName "daemon" (amule.override {
monolithic = false; monolithic = false;
daemon = true; daemon = true;
}; });
amuleGui = amule.override { amuleGui = appendToName "gui" (amule.override {
monolithic = false; monolithic = false;
client = true; client = true;
}; });
aria = builderDefsPackage (import ../tools/networking/aria) { aria = builderDefsPackage (import ../tools/networking/aria) {
}; };
@ -1464,6 +1463,8 @@ let
buildClang = true; buildClang = true;
}; };
cmucl_binary = callPackage ../development/compilers/cmucl/binary.nix { };
dylan = callPackage ../development/compilers/gwydion-dylan { dylan = callPackage ../development/compilers/gwydion-dylan {
dylan = dylan =
import ../development/compilers/gwydion-dylan/binary.nix { import ../development/compilers/gwydion-dylan/binary.nix {
@ -2642,9 +2643,7 @@ let
enableStatic = true; enableStatic = true;
}); });
botan = builderDefsPackage (import ../development/libraries/botan) { botan = callPackage ../development/libraries/botan { };
inherit perl;
};
buddy = callPackage ../development/libraries/buddy { }; buddy = callPackage ../development/libraries/buddy { };
@ -3779,15 +3778,15 @@ let
quassel = newScope pkgs.kde4 ../applications/networking/irc/quassel { }; quassel = newScope pkgs.kde4 ../applications/networking/irc/quassel { };
quasselDaemon = quassel.override { quasselDaemon = appendToName "daemon" (quassel.override {
monolithic = false; monolithic = false;
daemon = true; daemon = true;
}; });
quasselClient = quassel.override { quasselClient = appendToName "client" (quassel.override {
monolithic = false; monolithic = false;
client = true; client = true;
}; });
quesoglc = callPackage ../development/libraries/quesoglc { }; quesoglc = callPackage ../development/libraries/quesoglc { };
@ -3878,6 +3877,8 @@ let
suitesparse = callPackage ../development/libraries/suitesparse { }; suitesparse = callPackage ../development/libraries/suitesparse { };
sword = callPackage ../development/libraries/sword { };
t1lib = callPackage ../development/libraries/t1lib { }; t1lib = callPackage ../development/libraries/t1lib { };
taglib = callPackage ../development/libraries/taglib { }; taglib = callPackage ../development/libraries/taglib { };
@ -4761,6 +4762,8 @@ let
inherit kernel; inherit kernel;
acpi_call = callPackage ../os-specific/linux/acpi-call {};
ati_drivers_x11 = callPackage ../os-specific/linux/ati-drivers { }; ati_drivers_x11 = callPackage ../os-specific/linux/ati-drivers { };
aufs = callPackage ../os-specific/linux/aufs { }; aufs = callPackage ../os-specific/linux/aufs { };
@ -5162,6 +5165,8 @@ let
### DATA ### DATA
andagii = callPackage ../data/fonts/andagii {};
arkpandora_ttf = builderDefsPackage (import ../data/fonts/arkpandora) { arkpandora_ttf = builderDefsPackage (import ../data/fonts/arkpandora) {
}; };
@ -5172,7 +5177,7 @@ let
corefonts = callPackage ../data/fonts/corefonts { }; corefonts = callPackage ../data/fonts/corefonts { };
wrapFonts = paths : ((import ../data/fonts/fontWrap) { wrapFonts = paths : ((import ../data/fonts/fontWrap) {
inherit fetchurl stdenv builderDefs paths ttmkfdir; inherit fetchurl stdenv builderDefs paths;
inherit (xorg) mkfontdir mkfontscale; inherit (xorg) mkfontdir mkfontscale;
}); });
@ -5334,6 +5339,10 @@ let
inherit (gnome) libgnomecanvas libart_lgpl; inherit (gnome) libgnomecanvas libart_lgpl;
}; };
bibletime = newScope pkgs.kde45 ../applications/misc/bibletime {
qt = qt4;
} ;
bitlbee = callPackage ../applications/networking/instant-messengers/bitlbee { }; bitlbee = callPackage ../applications/networking/instant-messengers/bitlbee { };
bitlbeeOtr = callPackage ../applications/networking/instant-messengers/bitlbee-otr { }; bitlbeeOtr = callPackage ../applications/networking/instant-messengers/bitlbee-otr { };
@ -5802,6 +5811,8 @@ let
python = pythonFull; python = pythonFull;
}; };
guitone = callPackage ../applications/version-management/guitone { };
gv = callPackage ../applications/misc/gv { }; gv = callPackage ../applications/misc/gv { };
hello = callPackage ../applications/misc/hello/ex-2 { }; hello = callPackage ../applications/misc/hello/ex-2 { };
@ -6249,6 +6260,8 @@ let
sox = callPackage ../applications/misc/audio/sox { }; sox = callPackage ../applications/misc/audio/sox { };
stalonetray = callPackage ../applications/window-managers/stalonetray {};
stumpwm = builderDefsPackage (import ../applications/window-managers/stumpwm) { stumpwm = builderDefsPackage (import ../applications/window-managers/stumpwm) {
inherit texinfo; inherit texinfo;
clisp = clisp_2_44_1; clisp = clisp_2_44_1;
@ -6891,10 +6904,6 @@ let
camlp5 = camlp5_transitional; camlp5 = camlp5_transitional;
}; };
coq_devel = callPackage ../applications/science/logic/coq/8.3rc1.nix {
camlp5 = camlp5_transitional;
};
eprover = callPackage ../applications/science/logic/eProver { eprover = callPackage ../applications/science/logic/eProver {
texLive = texLiveAggregationFun { texLive = texLiveAggregationFun {
paths = [ paths = [
@ -7095,9 +7104,15 @@ let
disnix = callPackage ../tools/package-management/disnix { }; disnix = callPackage ../tools/package-management/disnix { };
disnix_activation_scripts = callPackage ../tools/package-management/disnix/activation-scripts { }; disnix_activation_scripts = callPackage ../tools/package-management/disnix/activation-scripts {
enableApacheWebApplication = getConfig ["disnix" "enableApacheWebApplication"] false;
enableAxis2WebService = getConfig ["disnix" "enableAxis2WebService"] false;
enableEjabberdDump = getConfig ["disnix" "enableEjabberdDump"] false;
enableMySQLDatabase = getConfig ["disnix" "enableMySQLDatabase"] false;
enableTomcatWebApplication = getConfig ["disnix" "enableTomcatWebApplication"] false;
};
DisnixService = callPackage ../tools/package-management/disnix/DisnixService { }; DisnixWebService = callPackage ../tools/package-management/disnix/DisnixWebService { };
latex2html = callPackage ../misc/tex/latex2html/default.nix { latex2html = callPackage ../misc/tex/latex2html/default.nix {
tex = tetex; tex = tetex;

View file

@ -534,6 +534,7 @@ with (import ./release-lib.nix);
xrdb = linux; xrdb = linux;
xset = linux; xset = linux;
xsetroot = linux; xsetroot = linux;
xwininfo = linux;
}; };
xfce4 = { xfce4 = {