This commit is contained in:
System administrator 2012-06-30 16:03:30 +02:00
commit 6527fa0c4a
68 changed files with 746 additions and 200 deletions

View File

@ -1,6 +1,6 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:id="chap-introduction">
xml:id="chap-package-notes">
<title>Package Notes</title>

View File

@ -1,21 +1,24 @@
# TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html
{ stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo,
libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate,
libsndfile, makeWrapper, pulseaudio, qt4, redland, rubberband, vampSDK
{ stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo
, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
, libsndfile, makeWrapper, pkgconfig, pulseaudio, qt4, redland
, rubberband, vampSDK
}:
stdenv.mkDerivation {
name = "sonic-visualiser-1.8";
stdenv.mkDerivation rec {
name = "sonic-visualiser-${version}";
version = "1.9";
src = fetchurl {
url = http://downloads.sourceforge.net/sv1/sonic-visualiser-1.8.tar.gz;
sha256 = "16ik6q9n92wljvnqcv7hyzb9v3yp3ixxp6df9kasf53fii973dh7";
url = "http://code.soundsoftware.ac.uk/attachments/download/194/${name}.tar.gz";
sha256 = "00igf7j6s8xfyxnlkbqma0yby9pknxqzy8cmh0aw95ix80cw56fq";
};
buildInputs =
[ libsndfile qt4 fftw /* should be fftw3f ??*/ bzip2 librdf rubberband
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
pkgconfig
# optional
jackaudio
# portaudio
@ -46,8 +49,10 @@ stdenv.mkDerivation {
description = "View and analyse contents of music audio files";
homepage = http://www.sonicvisualiser.org/;
license = "GPLv2";
maintainers = [ stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.goibhniu ];
maintainers =
[ stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.goibhniu
];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "leksah";
version = "0.12.1.2";
sha256 = "01gang44cdm9xg1dx1273prkhcniidagm2r90qh4v5mrdq8139v0";
version = "0.12.1.3";
sha256 = "1w61wnd0nq9iqh0pwn9dz3m4qn3m0zasv0m3ki4k7plcdrmkqb3y";
isLibrary = true;
isExecutable = true;
buildDepends = [

View File

@ -1,12 +1,12 @@
{ fetchurl, stdenv, openssl, db4, boost, zlib, miniupnpc, qt4 }:
stdenv.mkDerivation rec {
version = "0.6.2";
version = "0.6.3";
name = "bitcoin-${version}";
src = fetchurl {
url = "mirror://sourceforge/bitcoin/bitcoin-0.6.2-linux.tar.gz";
sha256 = "0yhgqz98hmmn6ljk23rd48jsjfvzdii27370vazhbgvjwj8giais";
url = "mirror://sourceforge/bitcoin/${name}-linux.tar.gz";
sha256 = "722d4209ff4a951a9eb5cae26a33ad62770fdcb5dfb5acf0b5c6a8f6f3a8a0ef";
};
buildInputs = [ openssl db4 boost zlib miniupnpc qt4 ];

View File

@ -1,13 +1,26 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, cmake, lua5 }:
stdenv.mkDerivation {
name = "task-warrior-1.9.4";
name = "task-warrior-2.0.0";
src = fetchurl {
url = http://www.taskwarrior.org/download/task-1.9.4.tar.gz;
sha256 = "0jnk30k1b2j3nx39il70jmj6p49wxp6cl4awd8hw71gqkcf6480h";
url = http://www.taskwarrior.org/download/task-2.0.0.tar.gz;
sha256 = "1gbmcynj2n2c9dcykxn27ffk034mvm0zri5hqhfdx593dhv1x5vq";
};
NIX_LDFLAGS = "-ldl";
buildNativeInputs = [ cmake ];
buildInputs = [ lua5 ];
crossAttrs = {
preConfigure = ''
export NIX_CROSS_LDFLAGS="$NIX_CROSS_LDFLAGS -ldl"
'';
};
enableParallelBuilding = true;
meta = {
description = "Command-line todo list manager";
homepage = http://taskwarrior.org/;

View File

@ -1,27 +0,0 @@
{ stdenv, fetchurl, cmake, lua5 }:
stdenv.mkDerivation {
name = "task-warrior-2.0.0.beta4";
src = fetchurl {
url = http://www.taskwarrior.org/download/task-2.0.0.beta4.tar.gz;
sha256 = "1c9n6b5ly3m5kminnsvqgmjxdkb68w4av9kdnh47dw4sj3gwrn1w";
};
NIX_LDFLAGS = "-ldl";
buildNativeInputs = [ cmake ];
buildInputs = [ lua5 ];
crossAttrs = {
preConfigure = ''
export NIX_CROSS_LDFLAGS="$NIX_CROSS_LDFLAGS -ldl"
'';
};
meta = {
description = "Command-line todo list manager";
homepage = http://taskwarrior.org/;
license = "MIT";
};
}

View File

@ -189,5 +189,6 @@ in stdenv.mkDerivation rec {
homepage = http://www.chromium.org/;
maintainers = with stdenv.lib.maintainers; [ goibhniu chaoflow ];
license = licenses.bsd3;
platforms = with stdenv.lib.platforms; linux;
};
}

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optionals enableX11 [ libX11 libXau libXt ]
++ stdenv.lib.optional enableDirectFB [ directfb ];
buildNativeInputs = [ pkgconfig ];
buildNativeInputs = [ pkgconfig bzip2 ];
configureFlags = [ "--with-ssl" ]
++ stdenv.lib.optional (enableX11 || enableFB || enableDirectFB) "--enable-graphics"

View File

@ -5,14 +5,14 @@
assert spellChecking -> gtkspell != null;
let version = "0.137"; in
let version = "0.138"; in
stdenv.mkDerivation {
name = "pan-${version}";
src = fetchurl {
url = "http://pan.rebelbase.com/download/releases/${version}/source/pan-${version}.tar.bz2";
sha1 = "372f1f6406e2fcd9ce413774730975560f546fcf";
sha1 = "8ad70d0b2bfb771eb7af1f973af6520f9998591a";
};
buildInputs = [ pkgconfig gtk perl gmime gettext intltool dbus_glib libnotify ]

View File

@ -1,7 +1,7 @@
{stdenv, fetchurl, curl, libmrss}:
{ stdenv, fetchurl, curl, libmrss, podofo, libiconv }:
stdenv.mkDerivation {
name = "offrss-1.1";
name = "offrss-1.3";
installPhase = ''
mkdir -p $out/bin
@ -12,11 +12,16 @@ stdenv.mkDerivation {
makeFlags = "CC=${stdenv.cross.config}-gcc";
};
buildInputs = [ curl libmrss ];
buildInputs = [ curl libmrss podofo ]
++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
configurePhase = stdenv.lib.optionalString (!stdenv.isLinux) ''
sed 's/#EXTRA/EXTRA/' -i Makefile
'';
src = fetchurl {
url = http://vicerveza.homeunix.net/~viric/soft/offrss/offrss-1.1.tar.gz;
sha256 = "1l8c5sw368zbrcfq4wf963fbh29q9lqgsn0lbsiwz3vpybc8plp2";
url = http://vicerveza.homeunix.net/~viric/soft/offrss/offrss-1.3.tar.gz;
sha256 = "1akw1x84jj2m9z60cvlvmz21qwlaywmw18pl7lgp3bj5nw6250p6";
};
meta = {

View File

@ -46,7 +46,7 @@ rec {
inherit stdenv fetchurl libuuid rsync findutils curl perl git ikiwiki which coreutils openssh;
inherit (haskellPackages) ghc MissingH utf8String pcreLight SHA dataenc
HTTP testpack hS3 mtl network hslogger hxt json liftedBase monadControl IfElse
QuickCheck bloomfilter editDistance;
QuickCheck bloomfilter editDistance stm hinotify;
};
qgit = import ./qgit {

View File

@ -1,18 +1,18 @@
{ stdenv, fetchurl, curl, dataenc, findutils, ghc, git, hS3, hslogger, HTTP, hxt
, ikiwiki, json, libuuid, MissingH, monadControl, mtl, network, pcreLight, perl
, QuickCheck, rsync, SHA, testpack, utf8String, which, liftedBase, coreutils
, IfElse, bloomfilter, editDistance, openssh
, IfElse, bloomfilter, editDistance, openssh, stm, hinotify
}:
let
version = "3.20120614";
version = "3.20120629";
in
stdenv.mkDerivation {
name = "git-annex-${version}";
src = fetchurl {
url = "http://git.kitenet.net/?p=git-annex.git;a=snapshot;sf=tgz;h=refs/tags/${version}";
sha256 = "ecb3b144a75a2eeb27061c46f3300c5117a5df260dddb36349eb8e75b6eebb16";
sha256 = "0dajcmx1sn3rqlba5b66lkiwji849gxzcb5d8666in21g7lc1ccs";
name = "git-annex-${version}.tar.gz";
};
@ -20,7 +20,7 @@ stdenv.mkDerivation {
curl dataenc findutils ghc git hS3 hslogger HTTP hxt ikiwiki json
libuuid MissingH monadControl mtl network pcreLight perl QuickCheck
rsync SHA testpack utf8String which liftedBase IfElse bloomfilter
editDistance openssh
editDistance openssh stm hinotify
];
checkTarget = "test";

View File

@ -0,0 +1,21 @@
{ stdenv, fetchurl, libogg, libvorbis, libdvdread }:
stdenv.mkDerivation rec {
name = "ogmtools-1.5";
src = fetchurl {
url = "http://www.bunkus.org/videotools/ogmtools/${name}.tar.bz2";
sha256 = "1spx81p5wf59ksl3r3gvf78d77sh7gj8a6lw773iv67bphfivmn8";
};
buildInputs = [libogg libvorbis libdvdread];
meta = {
description = "Tools for modifying and inspecting OGG media streams. Includes dvdxchap tool for extracting chapter information from DVD.";
longDescription = "These tools allow information about (ogminfo) or extraction from (ogmdemux) or creation of (ogmmerge) OGG media streams.";
homepage = http://www.bunkus.org/videotools/ogmtools/;
license = "GPLv2";
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "ubuntu-font-family-0.80";
buildInputs = [unzip];
src = fetchurl {
url = "http://font.ubuntu.com/download/${name}.zip";
sha256 = "0k4f548riq23gmw4zhn30qqkcpaj4g2ab5rbc3lflfxwkc4p0w8h";
};
installPhase =
''
mkdir -p $out/share/fonts/ubuntu
cp *.ttf $out/share/fonts/ubuntu
'';
meta = {
description = "Ubuntu Font Family";
longDescription = "The Ubuntu typeface has been specially
created to complement the Ubuntu tone of voice. It has a
contemporary style and contains characteristics unique to
the Ubuntu brand that convey a precise, reliable and free attitude.";
homepage = http://font.ubuntu.com/;
license = "free";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.antono ];
};
}

View File

@ -1,10 +1,11 @@
{ stdenv, fetchurl, gmp }:
stdenv.mkDerivation rec {
name = "ikarus-0.0.3";
version = "0.0.3";
name = "ikarus-${version}";
src = fetchurl {
url = "http://ikarus-scheme.org/${name}.tar.gz";
url = "http://launchpad.net/ikarus/0.0/${version}/+download/${name}.tar.gz";
sha256 = "0d4vqwqfnj39l0gar2di021kcf6bfpkc6g40yapkmxm6sxpdcvjv";
};

View File

@ -0,0 +1,24 @@
{stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}:
stdenv.mkDerivation rec {
version = "0.15.2";
name = "vala-${version}";
src = fetchurl {
url = "mirror://gnome/sources/vala/0.15/${name}.tar.xz";
sha256 = "0g71zq6dpqrw2f40wfzdf18fdw41ymr17laqniy2kr622hkxdi8w";
};
buildNativeInputs = [ yacc flex pkgconfig xz ];
buildInputs = [ glib ];
meta = {
description = "Compiler for the GObject type system";
homepage = "http://live.gnome.org/Vala";
license = "free-copyleft";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.antono ];
};
}

View File

@ -0,0 +1,24 @@
{stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}:
stdenv.mkDerivation rec {
version = "0.16.1";
name = "vala-${version}";
src = fetchurl {
url = "mirror://gnome/sources/vala/0.16/${name}.tar.xz";
sha256 = "1n708n9ixyy9qrzyv1wf4ybvcclx43ib9ki028wwpvkz6kv8zqlb";
};
buildNativeInputs = [ yacc flex pkgconfig xz ];
buildInputs = [ glib ];
meta = {
description = "Compiler for the GObject type system";
homepage = "http://live.gnome.org/Vala";
license = "free-copyleft";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.antono ];
};
}

View File

@ -1,11 +1,13 @@
{stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}:
stdenv.mkDerivation rec {
name = "vala-0.14.2";
version = "0.17.2";
name = "vala-${version}";
src = fetchurl {
url = mirror://gnome/sources/vala/0.14/vala-0.14.2.tar.xz;
sha256 = "1l5kllw9vpwv24lzv9fp64l3sad46wpxgvsgryrwlrjg91w6jzl0";
url = "mirror://gnome/sources/vala/0.17/${name}.tar.xz";
sha256 = "09i2s0dwmrk147ind2dx7nq845g12fp6fsjqrphhrr0dbi0zzgh3";
};
buildNativeInputs = [ yacc flex pkgconfig xz ];
@ -15,5 +17,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Compiler for the GObject type system";
homepage = "http://live.gnome.org/Vala";
license = "free-copyleft";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.antono ];
};
}

View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "boost-1.50.0-headers";
src = fetchurl {
url = "mirror://sourceforge/boost/boost_1_50_0.tar.bz2";
sha256 = "0ac5b82g6b5pdhzypgddql0i3i9vvrwf9iqp3lyp19hzr2wf5b69";
};
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/include
tar xvf $src -C $out/include --strip-components=1 boost_1_50_0/boost
'';
meta = {
homepage = "http://boost.org/";
description = "Boost C++ Library Collection";
license = "boost-license";
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.viric stdenv.lib.maintainers.simons ];
};
}

View File

@ -0,0 +1,88 @@
{ stdenv, fetchurl, icu, expat, zlib, bzip2, python
, enableRelease ? true
, enableDebug ? false
, enableSingleThreaded ? false
, enableMultiThreaded ? true
, enableShared ? true
, enableStatic ? false
, enablePIC ? false
, enableExceptions ? false
}:
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
finalLayout = if ((enableRelease && enableDebug) ||
(enableSingleThreaded && enableMultiThreaded) ||
(enableShared && enableStatic)) 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=${finalLayout} 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=${finalLayout} --user-config=user-config.jam toolset=gcc-cross variant=${variant} threading=${threading} link=${link} ${cflags} --without-python install
'';
};
}

View File

@ -102,7 +102,8 @@ stdenv.mkDerivation ({
"-C"
"--enable-add-ons"
"--sysconfdir=/etc"
"--localedir=/var/run/current-system/sw/lib/locale"
"--localedir=/var/run/current-system/sw/lib/locale" ] ++
(stdenv.lib.optional (stdenv.name == "stdenv") "libc_cv_ssp=no") ++ [
(if kernelHeaders != null
then "--with-headers=${kernelHeaders}/include"
else "--without-headers")

View File

@ -97,6 +97,7 @@ stdenv.mkDerivation ({
"--enable-add-ons"
"--sysconfdir=/etc"
"--localedir=/var/run/current-system/sw/lib/locale"
"libc_cv_ssp=no"
(if kernelHeaders != null
then "--with-headers=${kernelHeaders}/include"
else "--without-headers")

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "derive";
version = "2.5.8";
sha256 = "0l11pscya7mrn0502q8ndqn551k5aygbm7pihhs0nz8wwzr82xdv";
version = "2.5.9";
sha256 = "1rws401dpdck7c9jxfv9h46r06vn730lw1fsxvvidnf3hlr0yyk5";
isLibrary = true;
isExecutable = true;
buildDepends = [

View File

@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "ghc-mod";
version = "1.10.18";
sha256 = "1kpy0mjxag3xs8zs5kbl1arkd3341g1xr52qvzryks2ivax1zi9s";
version = "1.11.0";
sha256 = "19cx6jhciww2xgad3q35h3jlwiv9s9b6na2qi1cbga7p77swarsv";
isLibrary = false;
isExecutable = true;
buildDepends = [

View File

@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "hamlet";
version = "1.0.1.3";
sha256 = "0pdnq8kvln6jr5gwzd1fj0knd2ph1a76ra1njwaccliqig1s7j3n";
version = "1.0.1.4";
sha256 = "0rvsp54wrhaz5pnn136w1xlny9dkwv48ihyhq02yg5gg510v08v7";
buildDepends = [
blazeBuilder blazeHtml blazeMarkup failure parsec shakespeare text
];

View File

@ -0,0 +1,13 @@
{ cabal }:
cabal.mkDerivation (self: {
pname = "hinotify";
version = "0.3.2";
sha256 = "0gr9rv1af6w7g2hbjhz1livi5zfhzdswjyapvjz3d7cga906bj48";
meta = {
homepage = "http://code.haskell.org/hinotify/README.html";
description = "Haskell binding to INotify";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "http-conduit";
version = "1.4.1.9";
sha256 = "0c0dnk3iqkx85453spry6qsw66pg3pjvqah0c1m64qqmv869bwbn";
version = "1.4.1.10";
sha256 = "0a2014bzh4vvm3qx5yarxgirzlngzy2xrwpi3bvnz1h3q0hggq01";
buildDepends = [
asn1Data attoparsec attoparsecConduit base64Bytestring blazeBuilder
blazeBuilderConduit caseInsensitive certificate conduit cookie

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "mmap";
version = "0.5.7";
sha256 = "0f08x9kmv3a03kz5a6dpxr30nks55cs9sp55qpn2jnw31qx6hg6p";
version = "0.5.8";
sha256 = "17zsb95ynyrqj51h4jxi9glsih4vq33hbxycgw13z5fivv261m7y";
isLibrary = true;
isExecutable = true;
meta = {

View File

@ -0,0 +1,15 @@
{ cabal, transformers }:
cabal.mkDerivation (self: {
pname = "mtl";
version = "2.1.2";
sha256 = "1vwb98ci3jnjpndym012amia41h3cjdwpy9330ws881l6dj5fxwc";
buildDepends = [ transformers ];
meta = {
homepage = "http://github.com/ekmett/mtl";
description = "Monad classes, using functional dependencies";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "prolog-graph-lib";
version = "0.1";
sha256 = "1gryhk0jd8bvmjbjkz6n7sfnsa6iwzkckpgi51xsj5f2nwdxbl6g";
version = "0.2.0.1";
sha256 = "02xa4hqmhmsv7vkdy3m3dr1w3z88kc8ly0jjn7q6pba5yarci7nr";
buildDepends = [ fgl graphviz mtl prolog text ];
meta = {
homepage = "https://github.com/Erdwolf/prolog";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "prolog";
version = "0.1";
sha256 = "00791fb1f84wq42wvacnjl290fbn28x9hknxsic3ksi3f7psladm";
version = "0.2.0.1";
sha256 = "073sd3rhcfqw9csm0qsbc57ix57dv3k5yjr9hcc33b9zq5y10sp0";
buildDepends = [ mtl parsec syb thLift transformers ];
meta = {
homepage = "https://github.com/Erdwolf/prolog";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "reactive-banana-wx";
version = "0.6.0.0";
sha256 = "1pxcymh6xpmbkbc8i2hvjbki9s81mx69wrp8nl1i0y4pppzi8ihp";
version = "0.6.0.1";
sha256 = "1i674jy8fwirq267vwwdyqa4whxfx3r689rxjbrh9hyicqwcrl24";
isLibrary = true;
isExecutable = true;
buildDepends = [ cabalMacosx reactiveBanana wx wxcore ];

View File

@ -1,12 +1,13 @@
{ cabal, liftedBase, monadControl, transformers, transformersBase
{ cabal, liftedBase, monadControl, mtl, transformers
, transformersBase
}:
cabal.mkDerivation (self: {
pname = "resourcet";
version = "0.3.2.2";
sha256 = "0smff49b8sbxkvzlw59qgk5mdd4lp3605mcy4amjyz9fhcn3cky2";
version = "0.3.3.1";
sha256 = "164r2p08j3im4wz5jkadl5pvb0qj02k4f2s3v08lm39a51kygjdl";
buildDepends = [
liftedBase monadControl transformers transformersBase
liftedBase monadControl mtl transformers transformersBase
];
meta = {
homepage = "http://github.com/snoyberg/conduit";

View File

@ -0,0 +1,18 @@
{ cabal, mtl, systemFileio, systemFilepath, text, time, unixCompat
}:
cabal.mkDerivation (self: {
pname = "shelly";
version = "0.12.1";
sha256 = "11nbmymrwc76934b4vd444dzpzc33l5977wvd53wzqrsinv80c5v";
buildDepends = [
mtl systemFileio systemFilepath text time unixCompat
];
meta = {
homepage = "https://github.com/yesodweb/Shelly.hs";
description = "shell-like (systems) programming in Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "simple-sendfile";
version = "0.2.3";
sha256 = "1i3jx90kwq504fdl2qbhz25psjvq9ldvwgx5cij82ajjqi61pfrv";
version = "0.2.4";
sha256 = "1c7imvkb5aq5mlg6a1r36fp9klniicbj56n32yvzj4qqf1zy2pbx";
buildDepends = [ network ];
meta = {
description = "Cross platform library for the sendfile system call";

View File

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

View File

@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "wai-app-static";
version = "1.2.0.3";
sha256 = "1hn4k28aa15vwvvay62rvi796fma7p3j31z6bfa9im0dxdy7sf9l";
version = "1.2.0.4";
sha256 = "06j9k93kzzzqznp61kwclvnnfas77jry4x93r5jn5n22198szcyi";
buildDepends = [
base64Bytestring blazeBuilder blazeHtml cryptohash fileEmbed
httpDate httpTypes text time transformers unixCompat wai

View File

@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "wai";
version = "1.2.0.2";
sha256 = "07h0znwlnfpikw9zxk7cxnyvsgqyix7lv8rylxzj259ylwfpk9fp";
version = "1.2.0.3";
sha256 = "0pl6zc29z58vpvsn37siiyr89mxc4khsnmzv2408i5vhlv2ks01p";
buildDepends = [
blazeBuilder conduit httpTypes network text transformers vault
];

View File

@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "warp";
version = "1.2.1.1";
sha256 = "1bgdvqa6c2ccxmgdsg5hjvc3mss8zgjj4xzqr5r5jdl338857xzg";
version = "1.2.2";
sha256 = "0jja9fjjd0f54awbx2p865w1mxj75qxy17skj1sc83i5ck32n6f0";
buildDepends = [
blazeBuilder blazeBuilderConduit caseInsensitive conduit httpTypes
liftedBase network networkConduit simpleSendfile transformers

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "xml-types";
version = "0.3.1";
sha256 = "0ffmmidb9a1hqfbmvjxjvij2wfrqqlyjc7m7n81czrcrrsmyc1kc";
version = "0.3.2";
sha256 = "1aihs1n6hxq6frvxdqjqxsfwi2w2c2qx4bjypimjpjxf6d6n1396";
buildDepends = [ text ];
meta = {
homepage = "https://john-millikin.com/software/haskell-xml/";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "zlib-conduit";
version = "0.4.0.1";
sha256 = "07x0fgzxnwaaw5yg1ks2w9dc66biqbg50x79h84jpgb6d9pw2d7z";
version = "0.4.0.2";
sha256 = "1pwgyawc308rm1xcvzfz96ar11mngx79any7lragffj6f132qlm7";
buildDepends = [ conduit transformers zlibBindings ];
meta = {
homepage = "http://github.com/snoyberg/conduit";

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "libebml-1.0.0";
name = "libebml-1.2.2";
src = fetchurl {
url = "http://dl.matroska.org/downloads/libebml/${name}.tar.bz2";
sha256 = "0y5ip30nr96wjlh1pzw35ia1axyib158dhz8r5dxzmbcfgn0sj3j";
sha256 = "19dp8m97xaj46iv6ahb5v0fb9sawjiy8wy1ylljc15ka8g30hss7";
};
configurePhase = "cd make/linux";

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, libebml }:
stdenv.mkDerivation rec {
name = "libmatroska-1.0.0";
name = "libmatroska-1.3.0";
src = fetchurl {
url = "http://dl.matroska.org/downloads/libmatroska/${name}.tar.bz2";
sha256 = "123v2dhvv6yijqxc30spabzznjf5lbcv4iv4mmz4b3jhvwiha06w";
sha256 = "0scfs5lc1nvdfv7ipgg02h7wzxks48hc5lvgk9qmwdkihnayqcaj";
};
configurePhase = "cd make/linux";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "cabal2nix";
version = "1.34";
sha256 = "0iz9a91hp6frrkshjhyi3sacqlb547bjs2mqlzfjxiyhkfb3mc40";
version = "1.37";
sha256 = "0gd20nzr3bqscd4pn0j3vsmnhxiypbv5ppncmi0ck5n4ii8c6m94";
isLibrary = false;
isExecutable = true;
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, ncurses, readline }:
stdenv.mkDerivation rec {
name = "cgdb-0.6.6";
src = fetchurl {
url = "mirror://sourceforge/cgdb/${name}.tar.gz";
sha256 = "0iap84ikpk1h58wy14zzi1kwszv1hsnvpvnz14swkz54yrh9z7ng";
};
buildInputs = [ ncurses readline ];
meta = {
description = "A curses interface to gdb";
homepage = http://cgdb.sourceforge.net/;
license = "GPLv2+";
platforms = with stdenv.lib.platforms; linux ++ cygwin;
maintainers = with stdenv.lib.maintainers; [ viric ];
};
}

View File

@ -1,4 +1,4 @@
{ fetchurl, fetchgit, stdenv, ncurses, readline, gmp, mpfr, expat, texinfo
{ fetchurl, stdenv, ncurses, readline, gmp, mpfr, expat, texinfo
, dejagnu, python, target ? null
# Additional dependencies for GNU/Hurd.

View File

@ -9,7 +9,8 @@ stdenv.mkDerivation {
};
doCheck = !stdenv.isDarwin
&& !stdenv.isCygwin; # XXX: `test-dup2' fails on Cygwin
&& !stdenv.isCygwin # XXX: `test-dup2' fails on Cygwin
&& !stdenv.isSunOS; # XXX: `test-setlocale2.sh' fails
# Upstream is aware of it; it may be in the next release.
patches = [ ./s_isdir.patch ./readlink-EINVAL.patch ];

View File

@ -8,6 +8,7 @@
all = "Nix Committers <nix-commits@lists.science.uu.nl>";
amiddelk = "Arie Middelkoop <amiddelk@gmail.com>";
andres = "Andres Loeh <ksnixos@andres-loeh.de>";
antono = "Antono Vasiljev <self@antono.info>";
astsmtl = "Alexander Tsamutali <astsmtl@yandex.ru>";
bjg = "Brian Gough <bjg@gnu.org>";
bluescreen303 = "Mathijs Kwik <mathijs@bluescreen303.nl>";

View File

@ -0,0 +1,31 @@
{stdenv, fetchurl, ncurses}:
stdenv.mkDerivation {
name = "bsod-0.1";
src = fetchurl {
url = http://www.vanheusden.com/bsod/bsod-0.1.tgz;
sha256 = "0hqwacazyq5rhc04j8w8w0j0dgb6ca8k66c9lxf6bsyi6wvbhvmd";
};
buildInputs = [ ncurses ];
installPhase = ''
ensureDir $out/bin
cp bsod $out/bin
'';
meta = {
description = "Blue Screen Of Death emulator for Unix";
longDescription = "
This program will let you UNIX user experience the authentic
microsoft windows experience. Bsod displays the famous windows xp
blue screen of death on the console. Errors and drivers causing the
error are selected randomly from a large set of examples.";
homepage = "http://www.vanheusden.com/bsod/";
license = "GPLv2";
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.antono ];
};
}

View File

@ -1,11 +0,0 @@
source $stdenv/setup
unpackPhase
mkdir -p $out
cd $name
$python/bin/python setup.py install --prefix=$out
for i in $(cd $out/bin && ls); do
wrapProgram $out/bin/$i \
--prefix PYTHONPATH : "$(toPythonPath $python):$(toPythonPath $out):$(toPythonPath $pysqlite):$subversion/lib/svn-python:$clearsilver/site-packages"
done

View File

@ -1,14 +0,0 @@
{stdenv, fetchurl, python, clearsilver, subversion, sqlite, pysqlite, makeWrapper}:
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "trac-0.9.5";
src = fetchurl {
url = "http://ftp.edgewall.com/pub/trac/trac-0.9.5.tar.gz";
md5 = "3b7d708eaf905cc6ba2b6b10a09a8cf4";
};
builder = ./builder.sh;
buildInputs = [makeWrapper];
inherit stdenv python subversion clearsilver sqlite pysqlite;
}

View File

@ -37,11 +37,11 @@ let
in
stdenv.mkDerivation rec {
name = "busybox-1.19.4";
name = "busybox-1.20.1";
src = fetchurl {
url = "http://busybox.net/downloads/${name}.tar.bz2";
sha256 = "1vhh6xa71w4wzby0f4x357fv6zxvkklmyjc8njgbbzv1v83391cv";
sha256 = "1jb8xh9a0mc73nmnjz7g5k7ym39vrg7grp7zmgmq71gxps55sl9y";
};
configurePhase = ''

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "amd-ucode-2012-01-17";
src = fetchurl {
url = "http://www.amd64.org/pub/microcode/${name}.tar";
sha256 = "0mqnbs87khv6p874cbyf9nb8i4gc592ws67lyzhc4chmwvc9ln47";
};
installPhase = ''
mkdir -p $out/amd-ucode
mv microcode_amd_fam15h.bin microcode_amd.bin $out/amd-ucode/
'';
meta = {
description = "AMD Processor Microcode Patch";
homepage = "http://www.amd64.org/support/microcode.html";
license = "non-free";
};
}

View File

@ -236,7 +236,7 @@ in
import ./generic.nix (
rec {
version = "3.4.2";
version = "3.4.4";
testing = false;
preConfigure = ''
@ -245,7 +245,7 @@ import ./generic.nix (
src = fetchurl {
url = "mirror://kernel/linux/kernel/v3.x/${if testing then "testing/" else ""}linux-${version}.tar.xz";
sha256 = "0pd96g1qcp2wgdnvk79hljjrpr6xjk0159lks47n181a3yirzf4x";
sha256 = "0l4h7amhsmgpnii8rgwi32nd7ajsifk2xckjd39pfzwdifacw5yw";
};
config = configWithPlatform stdenv.platform;

View File

@ -1,5 +1,8 @@
{ stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto
, docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison }:
, docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig
, withGtk ? false, gtk ? null }:
assert withGtk -> gtk != null;
stdenv.mkDerivation {
name = "perf-linux-${kernel.version}";
@ -14,7 +17,8 @@ stdenv.mkDerivation {
# perf refers both to newt and slang
buildNativeInputs = [ asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt flex bison ];
buildInputs = [ elfutils python perl newt slang ];
buildInputs = [ elfutils python perl newt slang pkgconfig] ++
stdenv.lib.optional withGtk gtk;
installFlags = "install install-man ASCIIDOC8=1";

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, zlib, bzip2, openssl, attr, lzo, libgcrypt, e2fsprogs }:
stdenv.mkDerivation rec {
name = "dar-2.4.2";
name = "dar-2.4.6";
src = fetchurl {
url = "mirror://sourceforge/dar/${name}.tar.gz";
sha256 = "0cvcy9xccg4wmvbpxyacwppapbq03m3pwjk8b3xmdn2h8lr1pziq";
sha256 = "1r83ad32wbdrwxifkw1gdki7z534ggm9hfbmc6jf5lgr5mgkrqbq";
};
buildInputs = [ zlib bzip2 openssl attr lzo libgcrypt e2fsprogs ];

View File

@ -1,7 +1,7 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "ncompress-4.2.4.3";
name = "ncompress-4.2.4.4";
builder = ./builder.sh;
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://sourceforge/project/ncompress/${name}.tar.gz";
sha256 = "1y44ixc1w2vfvj1lm4dkcljlwv882ynrvm5i6l0lg1gf883j246l";
sha256 = "0yjiwv1hwb253x3m6r1dq2k7m5c9nz0ib2j7fnm3hark7y6s42xh";
};
meta = {

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, libuuid }:
stdenv.mkDerivation rec {
name = "e2fsprogs-1.42.2";
name = "e2fsprogs-1.42.4";
src = fetchurl {
url = "mirror://sourceforge/e2fsprogs/${name}.tar.gz";
sha256 = "1gmq3h4hp4hz1zh8yznx9nb0p7yaykb52f7zkpsqbhjawg2zwdhx";
sha256 = "0plhvcjynyy5ifih5jr8p2fjymqyl8fj6vj74cmqjyrahi3z6iir";
};
buildInputs = [ pkgconfig libuuid ];

View File

@ -0,0 +1,21 @@
{ stdenv, fetchgit, cmake, libgcrypt, json_c, curl, expat, boost, binutils }:
stdenv.mkDerivation rec {
name = "grive-0.2.0";
src = fetchgit {
url = "https://github.com/Grive/grive.git";
rev = "34cb3705288aa83283b370118776ac89393ae5fc";
sha256 = "a30ea886bdc159e1004d1207fcac30c277f1177a3b846bdd82326eebff7a0bbe";
};
buildInputs = [cmake libgcrypt json_c curl expat stdenv binutils boost];
meta = {
description = "an open source (experimental) Linux client for Google Drive";
homepage = https://github.com/Grive/grive;
license = "GPLv2";
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional selinuxSupport libselinux
++ stdenv.lib.optional selinuxSupport libsepol;
crossAttrs = {
crossAttrs = ({
buildInputs = [ gmp ]
++ stdenv.lib.optional aclSupport acl.hostDrv
++ stdenv.lib.optional selinuxSupport libselinux.hostDrv
@ -32,7 +32,14 @@ stdenv.mkDerivation rec {
# I don't know why it is not properly detected cross building with glibc.
configureFlags = [ "fu_cv_sys_stat_statfs2_bsize=yes" ];
doCheck = false;
};
}
//
# XXX: Temporary workaround to allow GNU/Hurd builds with newer libcs.
(stdenv.lib.optionalAttrs (stdenv.cross.config == "i586-pc-gnu") {
patches = [ ./gets-undeclared.patch ];
}));
# The tests are known broken on Cygwin
# (http://thread.gmane.org/gmane.comp.gnu.core-utils.bugs/19025),

View File

@ -0,0 +1,71 @@
This patch is needed to allow builds with newer versions of
the GNU libc (2.16+).
commit 66712c23388e93e5c518ebc8515140fa0c807348
Author: Eric Blake <eblake@redhat.com>
Date: Thu Mar 29 13:30:41 2012 -0600
stdio: don't assume gets any more
Gnulib intentionally does not have a gets module, and now that C11
and glibc have dropped it, we should be more proactive about warning
any user on a platform that still has a declaration of this dangerous
interface.
* m4/stdio_h.m4 (gl_STDIO_H, gl_STDIO_H_DEFAULTS): Drop gets
support.
* modules/stdio (Makefile.am): Likewise.
* lib/stdio-read.c (gets): Likewise.
* tests/test-stdio-c++.cc: Likewise.
* m4/warn-on-use.m4 (gl_WARN_ON_USE_PREPARE): Fix comment.
* lib/stdio.in.h (gets): Make warning occur in more places.
* doc/posix-functions/gets.texi (gets): Update documentation.
Reported by Christer Solskogen.
Signed-off-by: Eric Blake <eblake@redhat.com>
diff --git a/lib/stdio.in.h b/lib/stdio.in.h
index aa7b599..c377b6e 100644
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
@@ -698,22 +698,11 @@ _GL_WARN_ON_USE (getline, "getline is unportable - "
# endif
#endif
-#if @GNULIB_GETS@
-# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
-# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-# undef gets
-# define gets rpl_gets
-# endif
-_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1)));
-_GL_CXXALIAS_RPL (gets, char *, (char *s));
-# else
-_GL_CXXALIAS_SYS (gets, char *, (char *s));
-# undef gets
-# endif
-_GL_CXXALIASWARN (gets);
/* It is very rare that the developer ever has full control of stdin,
- so any use of gets warrants an unconditional warning. Assume it is
- always declared, since it is required by C89. */
+ so any use of gets warrants an unconditional warning; besides, C11
+ removed it. */
+#undef gets
+#if HAVE_RAW_DECL_GETS
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#endif
@@ -1053,9 +1042,9 @@ _GL_WARN_ON_USE (snprintf, "snprintf is unportable - "
# endif
#endif
-/* Some people would argue that sprintf should be handled like gets
- (for example, OpenBSD issues a link warning for both functions),
- since both can cause security holes due to buffer overruns.
+/* Some people would argue that all sprintf uses should be warned about
+ (for example, OpenBSD issues a link warning for it),
+ since it can cause security holes due to buffer overruns.
However, we believe that sprintf can be used safely, and is more
efficient than snprintf in those safe cases; and as proof of our
belief, we use sprintf in several gnulib modules. So this header

View File

@ -0,0 +1,57 @@
diff -rc minidlna-1.0.24/genconfig.sh minidlna-1.0.24-new/genconfig.sh
*** minidlna-1.0.24/genconfig.sh 2012-06-24 20:08:26.697884140 +0200
--- minidlna-1.0.24-new/genconfig.sh 2012-06-24 20:10:44.742874979 +0200
***************
*** 38,68 ****
${RM} ${CONFIGFILE}
- # Detect if there are missing headers
- # NOTE: This check only works with a normal distro
- [ ! -e "/usr/include/sqlite3.h" ] && MISSING="libsqlite3 $MISSING"
- [ ! -e "/usr/include/jpeglib.h" ] && MISSING="libjpeg $MISSING"
- [ ! -e "/usr/include/libexif/exif-loader.h" ] && MISSING="libexif $MISSING"
- [ ! -e "/usr/include/id3tag.h" ] && MISSING="libid3tag $MISSING"
- [ ! -e "/usr/include/ogg/ogg.h" ] && MISSING="libogg $MISSING"
- [ ! -e "/usr/include/vorbis/codec.h" ] && MISSING="libvorbis $MISSING"
- [ ! -e "/usr/include/FLAC/metadata.h" ] && MISSING="libflac $MISSING"
- [ ! -e "/usr/include/ffmpeg/avutil.h" -a \
- ! -e "/usr/include/libavutil/avutil.h" -a \
- ! -e "/usr/include/ffmpeg/libavutil/avutil.h" ] && MISSING="libavutil $MISSING"
- [ ! -e "/usr/include/ffmpeg/avformat.h" -a \
- ! -e "/usr/include/libavformat/avformat.h" -a \
- ! -e "/usr/include/ffmpeg/libavformat/avformat.h" ] && MISSING="libavformat $MISSING"
- [ ! -e "/usr/include/ffmpeg/avcodec.h" -a \
- ! -e "/usr/include/libavcodec/avcodec.h" -a \
- ! -e "/usr/include/ffmpeg/libavcodec/avcodec.h" ] && MISSING="libavcodec $MISSING"
- if [ -n "$MISSING" ]; then
- echo -e "\nERROR! Cannot continue."
- echo -e "The following required libraries are either missing, or are missing development headers:\n"
- echo -e "$MISSING\n"
- exit 1
- fi
-
echo "/* MiniDLNA Project" >> ${CONFIGFILE}
echo " * http://sourceforge.net/projects/minidlna/" >> ${CONFIGFILE}
echo " * (c) 2008-2009 Justin Maggard" >> ${CONFIGFILE}
--- 38,43 ----
diff -rc minidlna-1.0.24/Makefile minidlna-1.0.24-new/Makefile
*** minidlna-1.0.24/Makefile 2012-06-24 20:16:08.673195909 +0200
--- minidlna-1.0.24-new/Makefile 2012-06-24 20:16:18.615267052 +0200
***************
*** 64,70 ****
$(INSTALL) -d $(ETCINSTALLDIR)
$(INSTALL) --mode=0644 minidlna.conf $(ETCINSTALLDIR)
! minidlna: $(BASEOBJS) $(LNXOBJS) $(LIBS)
@echo Linking $@
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(BASEOBJS) $(LNXOBJS) $(LIBS)
--- 64,70 ----
$(INSTALL) -d $(ETCINSTALLDIR)
$(INSTALL) --mode=0644 minidlna.conf $(ETCINSTALLDIR)
! minidlna: $(BASEOBJS) $(LNXOBJS)
@echo Linking $@
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(BASEOBJS) $(LNXOBJS) $(LIBS)

View File

@ -0,0 +1,28 @@
{stdenv, fetchurl, libav, flac, libvorbis, libogg, libid3tag, libexif, libjpeg, sqlite }:
stdenv.mkDerivation rec {
name = "minidlna-1.0.24";
src = fetchurl {
url = mirror://sourceforge/project/minidlna/minidlna/1.0.24/minidlna_1.0.24_src.tar.gz;
sha256 = "0hmrrrq7d8940rckwj93bcdpdxxy3qfkjl17j5k31mi37hqc42l4";
};
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libav}/include/libavutil -I${libav}/include/libavcodec -I${libav}/include/libavformat"
export makeFlags="INSTALLPREFIX=$out"
'';
buildInputs = [ libav flac libvorbis libogg libid3tag libexif libjpeg sqlite ];
patches = [ ./config.patch ];
meta = {
description = "MiniDLNA Media Server";
longDescription = ''
MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully
compliant with DLNA/UPnP-AV clients.
'';
homepage = http://sourceforge.net/projects/minidlna/;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -5,11 +5,11 @@
}:
stdenv.mkDerivation rec {
name = "nix-1.1pre2714_2f3f413";
name = "nix-1.1pre2718_8da6772";
src = fetchurl {
url = "http://hydra.nixos.org/build/2724747/download/4/${name}.tar.bz2";
sha256 = "ec026709405dfcbff387418c007915711312ac574c046c38798990666bd339a6";
url = "http://hydra.nixos.org/build/2727338/download/4/${name}.tar.bz2";
sha256 = "99466467b01102d8a2e1022283259ac490427b9a45c3c4784af027977014d7c5";
};
buildNativeInputs = [ perl pkgconfig ];

View File

@ -437,6 +437,8 @@ let
bootchart = callPackage ../tools/system/bootchart { };
bsod = callPackage ../misc/emulators/bsod { };
btrfsProgs = builderDefsPackage (import ../tools/filesystems/btrfsprogs) {
inherit (pkgs) libuuid zlib acl attr fetchgit e2fsprogs;
};
@ -810,6 +812,8 @@ let
*/
graphviz_2_0 = callPackage ../tools/graphics/graphviz/2.0.nix { };
grive = callPackage ../tools/filesystems/grive { };
groff = callPackage ../tools/text/groff {
ghostscript = null;
};
@ -947,6 +951,8 @@ let
less = callPackage ../tools/misc/less { };
minidlna = callPackage ../tools/networking/minidlna { };
most = callPackage ../tools/misc/most { };
netperf = callPackage ../applications/networking/netperf { };
@ -2498,7 +2504,13 @@ let
urweb = callPackage ../development/compilers/urweb { };
vala = callPackage ../development/compilers/vala { };
vala = vala17;
vala15 = callPackage ../development/compilers/vala/15.2.nix { };
vala16 = callPackage ../development/compilers/vala/16.1.nix { };
vala17 = callPackage ../development/compilers/vala/default.nix { };
visualcpp = callPackage ../development/compilers/visual-c++ { };
@ -2888,6 +2900,8 @@ let
wrapGCC (ccache.links extraConfig)) {};
ccacheStdenv = overrideGCC stdenv ccacheWrapper;
cgdb = callPackage ../development/tools/misc/cgdb { };
complexity = callPackage ../development/tools/misc/complexity { };
ctags = callPackage ../development/tools/misc/ctags { };
@ -3205,10 +3219,12 @@ let
boost147 = callPackage ../development/libraries/boost/1.47.nix { };
boost148 = callPackage ../development/libraries/boost/1.48.nix { };
boost149 = callPackage ../development/libraries/boost/1.49.nix { };
boost = boost149;
boost150 = callPackage ../development/libraries/boost/1.50.nix { };
boost = boost150;
boostHeaders149 = callPackage ../development/libraries/boost/1.49-headers.nix { };
boostHeaders = boostHeaders149;
boostHeaders150 = callPackage ../development/libraries/boost/1.50-headers.nix { };
boostHeaders = boostHeaders150;
# A Boost build with all library variants enabled. Very large (about 250 MB).
boostFull = appendToName "full" (boost.override {
@ -5181,7 +5197,10 @@ let
monetdb = callPackage ../servers/sql/monetdb { };
mongodb = callPackage ../servers/nosql/mongodb { useV8 = (getConfig ["mongodb" "useV8"] false); };
mongodb = callPackage ../servers/nosql/mongodb {
boost = boost147;
useV8 = (getConfig ["mongodb" "useV8"] false);
};
mysql4 = import ../servers/sql/mysql {
inherit fetchurl stdenv ncurses zlib perl;
@ -5306,6 +5325,8 @@ let
afuse = callPackage ../os-specific/linux/afuse { };
amdUcode = callPackage ../os-specific/linux/firmware/amd-ucode { };
autofs5 = callPackage ../os-specific/linux/autofs/autofs-v5.nix { };
_915resolution = callPackage ../os-specific/linux/915resolution { };
@ -5344,6 +5365,8 @@ let
bridge_utils = callPackage ../os-specific/linux/bridge-utils { };
busybox = callPackage ../os-specific/linux/busybox { };
checkpolicy = callPackage ../os-specific/linux/checkpolicy { };
cifs_utils = callPackage ../os-specific/linux/cifs-utils { };
@ -6207,6 +6230,8 @@ let
ttf_bitstream_vera = callPackage ../data/fonts/ttf-bitstream-vera { };
ubuntu_font_family = callPackage ../data/fonts/ubuntu-font-family { };
ucsFonts = callPackage ../data/fonts/ucs-fonts { };
unifont = callPackage ../data/fonts/unifont { };
@ -6296,7 +6321,6 @@ let
bibletime = callPackage ../applications/misc/bibletime { };
bitcoin = callPackage ../applications/misc/bitcoin {
boost = boost144;
db4 = db48;
};
@ -7150,6 +7174,8 @@ let
offrss = callPackage ../applications/networking/offrss { };
ogmtools = callPackage ../applications/video/ogmtools { };
oneteam = callPackage ../applications/networking/instant-messengers/oneteam {};
openbox = callPackage ../applications/window-managers/openbox { };
@ -7411,8 +7437,6 @@ let
taskwarrior = callPackage ../applications/misc/taskwarrior { };
taskwarrior_unstable = callPackage ../applications/misc/taskwarrior/unstable.nix { };
telepathy_gabble = callPackage ../applications/networking/instant-messengers/telepathy/gabble {
inherit (pkgs.gnome) libsoup;
};
@ -8334,8 +8358,6 @@ let
auctex = callPackage ../tools/typesetting/tex/auctex { };
busybox = callPackage ../misc/busybox { };
cups = callPackage ../misc/cups { };
cups_pdf_filter = callPackage ../misc/cups/pdf-filter.nix { };
@ -8589,10 +8611,6 @@ let
inherit texLive unzip;
};
trac = callPackage ../misc/trac {
inherit (pythonPackages) pysqlite;
};
vice = callPackage ../misc/emulators/vice { };
vimprobable2 = callPackage ../applications/networking/browsers/vimprobable2 {

View File

@ -116,37 +116,37 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
# GHC version, change the "preferences function" for that GHC version
# in haskell-defaults.nix.
# NOTE: 2011.4.0.0 is the current default.
# NOTE: 2012.2.0.0 is the current default.
haskellPlatformArgs_future = self : {
inherit (self) cabal ghc;
cgi = self.cgi_3001_1_7_4; # 7.4.2 ok
fgl = self.fgl_5_4_2_4; # 7.4.2 ok
GLUT = self.GLUT_2_1_2_1; # 7.4.2 ok
haskellSrc = self.haskellSrc_1_0_1_5; # 7.4.2 ok
html = self.html_1_0_1_2; # 7.4.2 ok
HTTP = self.HTTP_4000_2_3; # 7.4.2 ok
HUnit = self.HUnit_1_2_4_3; # 7.4.2 ok
mtl = self.mtl_2_1_1; # 7.4.2 ok
network = self.network_2_3_0_14; # 7.4.2 ok
OpenGL = self.OpenGL_2_2_3_1; # 7.4.2 ok
parallel = self.parallel_3_2_0_2; # 7.4.2 ok
parsec = self.parsec_3_1_3; # 7.4.2 ok
QuickCheck = self.QuickCheck_2_5; # 7.4.2 ok
random = self.random_1_0_1_1; # 7.4.2 ok
regexBase = self.regexBase_0_93_2; # 7.4.2 ok
regexCompat = self.regexCompat_0_95_1; # 7.4.2 ok
regexPosix = self.regexPosix_0_95_1; # 7.4.2 ok
stm = self.stm_2_3; # 7.4.2 ok
syb = self.syb_0_3_6_1; # 7.4.2 ok
text = self.text_0_11_2_2; # 7.4.2 ok
transformers = self.transformers_0_3_0_0; # 7.4.2 ok
xhtml = self.xhtml_3000_2_1; # 7.4.2 ok
zlib = self.zlib_0_5_3_3; # 7.4.2 ok
cabalInstall = self.cabalInstall_0_14_0; # 7.4.2 ok
alex = self.alex_3_0_1; # 7.4.2 ok
haddock = self.haddock_2_10_0; # 7.4.2 ok
happy = self.happy_1_18_9; # 7.4.2 ok
cgi = self.cgi_3001_1_7_4; # 7.5 fail
fgl = self.fgl_5_4_2_4; # 7.5 ok
GLUT = self.GLUT_2_1_2_1; # 7.5 fail
haskellSrc = self.haskellSrc_1_0_1_5; # 7.5 ok
html = self.html_1_0_1_2; # 7.5 ok
HTTP = self.HTTP_4000_2_3; # 7.5 ok
HUnit = self.HUnit_1_2_4_3; # 7.5 ok
mtl = self.mtl_2_1_2; # 7.5 ok
network = self.network_2_3_0_14; # 7.5 ok
OpenGL = self.OpenGL_2_2_3_1; # 7.5 fail
parallel = self.parallel_3_2_0_2; # 7.5 fail
parsec = self.parsec_3_1_3; # 7.5 ok
QuickCheck = self.QuickCheck_2_5; # 7.5 fail
random = self.random_1_0_1_1; # 7.5 ok
regexBase = self.regexBase_0_93_2; # 7.5 ok
regexCompat = self.regexCompat_0_95_1; # 7.5 fail
regexPosix = self.regexPosix_0_95_1; # 7.5 fail
stm = self.stm_2_3; # 7.5 ok
syb = self.syb_0_3_6_2; # 7.5 ok
text = self.text_0_11_2_2; # 7.5 ok
transformers = self.transformers_0_3_0_0; # 7.5 ok
xhtml = self.xhtml_3000_2_1; # 7.5 ok
zlib = self.zlib_0_5_3_3; # 7.5 fail
cabalInstall = self.cabalInstall_0_14_0; # 7.5 ok
alex = self.alex_3_0_1; # 7.5 ok
haddock = self.haddock_2_10_0; # 7.5 ok
happy = self.happy_1_18_9; # 7.5 ok
};
haskellPlatformArgs_2012_2_0_0 = self : {
@ -839,6 +839,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
highlightingKate = callPackage ../development/libraries/haskell/highlighting-kate {};
hinotify = callPackage ../development/libraries/haskell/hinotify {};
hint = callPackage ../development/libraries/haskell/hint {};
Hipmunk = callPackage ../development/libraries/haskell/Hipmunk {};
@ -1025,9 +1027,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
mtl_2_1_1 = callPackage ../development/libraries/haskell/mtl/2.1.1.nix {
transformers = self.transformers_0_3_0_0;
};
mtl1 = self.mtl_1_1_1_1;
mtl2 = self.mtl_2_1_1;
mtl = self.mtl2;
mtl_2_1_2 = callPackage ../development/libraries/haskell/mtl/2.1.2.nix {
transformers = self.transformers_0_3_0_0;
};
mtl = self.mtl_2_1_2;
mtlparse = callPackage ../development/libraries/haskell/mtlparse {};
@ -1251,6 +1254,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
semigroups = callPackage ../development/libraries/haskell/semigroups {};
shelly = callPackage ../development/libraries/haskell/shelly {};
simpleSendfile = callPackage ../development/libraries/haskell/simple-sendfile {};
skein = callPackage ../development/libraries/haskell/skein {};
@ -1283,6 +1288,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
syb_0_3 = callPackage ../development/libraries/haskell/syb/0.3.nix {};
syb_0_3_3 = callPackage ../development/libraries/haskell/syb/0.3.3.nix {};
syb_0_3_6_1 = callPackage ../development/libraries/haskell/syb/0.3.6.1.nix {};
syb_0_3_6_2 = callPackage ../development/libraries/haskell/syb/0.3.6.2.nix {};
syb = null; # by default, we assume that syb ships with GHC, which is
# true for the older GHC versions

View File

@ -2825,10 +2825,10 @@ rec {
};
PerlMagick = buildPerlPackage {
name = "PerlMagick-6.74";
name = "PerlMagick-6.77";
src = fetchurl {
url = mirror://cpan/authors/id/J/JC/JCRISTY/PerlMagick-6.74.tar.gz;
sha256 = "6f2fbd3398610f2f02d5670eb5e0f5cb58079fba0e6b9d26519f469c104b969a";
url = mirror://cpan/authors/id/J/JC/JCRISTY/PerlMagick-6.77.tar.gz;
sha256 = "0axbj3n5avjxvlxradjs9zxiv84i00drmnjsb7hq9sjn9fzggngg";
};
buildInputs = [pkgs.imagemagick];
preConfigure =

View File

@ -727,6 +727,9 @@ let pythonPackages = python.modules // rec {
sha256 = "0jrajyppdzb3swcxv3w1mpp88vcy7400gy1v2h2gm3pq0dmggaij";
};
# two tests fail on x86_64 at least. I don't know why.
doCheck = false;
buildInputs = [ pkgs.setuptools ];
meta = {