* Sync with the trunk.

svn path=/nixpkgs/branches/x-updates/; revision=26141
This commit is contained in:
Eelco Dolstra
2011-03-03 12:02:50 +00:00
46 changed files with 533 additions and 432 deletions

View File

@@ -0,0 +1,22 @@
{ fetchurl, stdenv, mesa }:
stdenv.mkDerivation rec {
name = "coin3d-${version}";
version = "3.1.3";
src = fetchurl {
url = "http://ftp.coin3d.org/coin/src/all/Coin-${version}.tar.gz";
sha256 = "05ylhrcglm81dajbk132l1w892634z2i97x10fm64y1ih72phd2q";
};
buildInputs = [ mesa ];
meta = {
homepage = http://www.coin3d.org/;
license = "GPLv2+";
description = "High-level, retained-mode toolkit for effective 3D graphics development.";
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -1,49 +1,20 @@
x@{builderDefsPackage
, cmake
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
{stdenv, fetchurl, cmake}:
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
baseName="eigen";
version="2.0.15";
name="${baseName}-${version}";
ext="tar.bz2";
project="${baseName}";
url="http://bitbucket.org/${project}/${baseName}/get/${version}.${ext}";
hash="c68509b80ec2570d025a98e6c4279062b801593c5165ba3d683852e7dbff1569";
};
let
v = "2.0.15";
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
name="${sourceInfo.name}.${sourceInfo.ext}";
stdenv.mkDerivation {
name = "eigen-${v}";
src = fetchurl {
url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
name = "eigen-${v}.tar.bz2";
sha256 = "1a00hqyig4rc7nkz97xv23q7k0vdkzvgd0jkayk61fn9aqcrky79";
};
inherit (sourceInfo) name version;
inherit buildInputs;
phaseNames = ["doCmake" "doMakeInstall"];
meta = {
description = "A C++ linear algebra template header";
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
linux;
license = a.lib.licenses.lgpl3Plus;
buildNativeInputs = [ cmake ];
meta = with stdenv.lib; {
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
license = licenses.lgpl3Plus;
homepage = http://eigen.tuxfamily.org ;
maintainers = with stdenv.lib.maintainers; [ sander urkud raskin ];
};
passthru = {
updateInfo = {
downloadPage = "http://eigen.tuxfamily.org/index.php?title=Main_Page";
};
};
}) x
}

View File

@@ -0,0 +1,28 @@
{ fetchurl, stdenv, glib, pkgconfig }:
stdenv.mkDerivation rec {
name = "gts-${version}";
version = "0.7.6";
src = fetchurl {
url = "mirror://sourceforge/gts/${name}.tar.gz";
sha256 = "07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705";
};
buildInputs = [ glib pkgconfig ];
meta = {
homepage = http://gts.sourceforge.net/;
license = "LGPLv2+";
description = "GNU Triangulated Surface Library";
longDescription = ''
Library intended to provide a set of useful functions to deal with
3D surfaces meshed with interconnected triangles.
'';
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -1,11 +1,11 @@
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "jquery-ui-1.8.9";
name = "jquery-ui-1.8.10";
src = fetchurl {
url = "http://jqueryui.com/download/${name}.custom.zip";
sha256 = "1fnn5xwj57bdf9z786iymcxa7c4qf6mv4jm5m7q52j72by8gf011";
sha256 = "0yglab9zmxr1il2rmxxd7gycpfaavgpi03h8nc5b2yx2kz80jlik";
};
sourceRoot = ".";
@@ -27,5 +27,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://jqueryui.com/;
description = "A library of JavaScript widgets and effects";
platforms = stdenv.lib.platforms.all;
};
}

View File

@@ -1,25 +1,40 @@
{ stdenv, fetchurl, libxml2, gnutls, devicemapper, perl, python }:
{ stdenv, fetchurl, pkgconfig, libxml2, gnutls, devicemapper, perl, python
, iproute, iptables, readline, lvm2, utillinux, udev, libpciaccess, gettext }:
let version = "0.8.3"; in
let version = "0.8.8"; in
stdenv.mkDerivation {
name = "libvirt-${version}";
src = fetchurl {
url = "http://libvirt.org/sources/libvirt-${version}.tar.gz";
sha256 = "07vsk4g1nxvxc8yr6cdvwp9kvwgm2g7lh6aaggfkxb2775n87q9m";
sha256 = "04z1757qpi3ssnjv5h2qnw1sds2m50yxk67cbdam6w4i50vyl2h3";
};
buildInputs = [ libxml2 gnutls devicemapper perl python ];
buildInputs =
[ pkgconfig libxml2 gnutls devicemapper perl python readline lvm2
utillinux udev libpciaccess gettext
];
preConfigure =
''
PATH=${iproute}/sbin:${iptables}/sbin:${lvm2}/sbin:${udev}/sbin:$PATH
'';
configureFlags = "--localstatedir=/var --with-init-script=redhat";
installFlags = "localstatedir=$(TMPDIR)/var";
postInstall =
''
substituteInPlace $out/etc/rc.d/init.d/libvirt-guests \
--replace "$out/bin" "${gettext}/bin"
'';
# xen currently disabled in nixpkgs
configureFlags = ''
--without-xen
'';
meta = {
homepage = http://libvirt.org/;
description = "A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes).";
license = "LGPLv2+";
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -3,7 +3,7 @@ let
lib = args.lib;
fetchurl = args.fetchurl;
version = lib.attrByPath ["version"] "0.10.1" args;
version = lib.attrByPath ["version"] "0.11.1" args;
buildInputs = with args; [
];
@@ -11,7 +11,7 @@ in
rec {
src = fetchurl {
url = "http://downloads.sourceforge.net/opende/ode-${version}.tar.bz2";
sha256 = "0bm7kmm7qvrbk40pgaszqr66pjfvnln8vjzdmcdl2h1dxi3b4dln";
sha256 = "1883gbsnn7zldrpwfdh6kwj20g627n5bspz3yb2z6lrxdal88y47";
};
inherit buildInputs;

View File

@@ -15,6 +15,8 @@ stdenv.mkDerivation {
EMSA3_SHA384, ///< SHA384, with EMSA3 (ie PKCS#1 Version 1.5) encoding\
EMSA3_SHA512 ///< SHA512, with EMSA3 (ie PKCS#1 Version 1.5) encoding'
'';
configureFlags = "--no-separate-debug-info";
meta = with stdenv.lib; {
description = "Qt Cryptographic Architecture";
license = "LGPL";

View File

@@ -0,0 +1,21 @@
{stdenv, fetchurl, lib, cmake, qt4}:
let
pn = "qimageblitz";
v = "0.0.4";
in
stdenv.mkDerivation {
name = "${pn}-${v}";
src = fetchurl {
url = "mirror://sf/${pn}/${pn}-${v}.tar.bz2";
sha256 = "0pnaf3qi7rgkxzs2mssmslb3f9ya4cyx09wzwlis3ppyvf72j0p9";
};
buildInputs = [ cmake qt4 ];
meta = {
description = "Graphical effect and filter library for KDE4";
license = "BSD";
homepage = "http://${pn}.sourceforge.net";
};
}

View File

@@ -0,0 +1,22 @@
{ fetchurl, stdenv, coin3d, qt4 }:
stdenv.mkDerivation rec {
name = "soqt-${version}";
version = "1.5.0";
src = fetchurl {
url = "http://ftp.coin3d.org/coin/src/all/SoQt-${version}.tar.gz";
sha256 = "14dbh8ynzjcgwgxjc6530c5plji7vn62kbdf447w0dp53564p8zn";
};
buildInputs = [ coin3d qt4 ];
meta = {
homepage = http://www.coin3d.org/;
license = "GPLv2+";
description = "Glue between Coin high-level 3D visualization library and Qt";
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -0,0 +1,29 @@
{ stdenv, fetchurl, cmake, qt4, perl, bzip2, libxml2, expat, exiv2
, cluceneCore
}:
stdenv.mkDerivation rec {
name = "strigi-${version}";
version = "0.7.2";
src = fetchurl {
url = "http://www.vandenoever.info/software/strigi/${name}.tar.bz2";
sha256 = "1f1ac27cjm5m4iwsgvd7nylr0md0a95przkbpsdq7l90wjxj390w";
};
includeAllQtDirs=true;
CLUCENE_HOME = cluceneCore;
# Dependencies such as SQLite and FAM are unreliable in this release
buildInputs = [
cmake perl qt4 bzip2 stdenv.gcc.libc libxml2 expat exiv2 cluceneCore
];
meta = {
homepage = http://strigi.sourceforge.net;
description = "A very fast and efficient crawler to index data on your harddrive";
license = "LGPL";
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
inherit (qt4.meta) platforms;
};
}

View File

@@ -0,0 +1,17 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "xerces-c-${version}";
version = "3.1.1";
src = fetchurl {
url = "mirror://apache/xerces/c/3/sources/${name}.tar.gz";
sha256 = "0dl7jr26vlh5p3hps86xrwyafq6f21schc9q4zyxb48b3vvqa9x4";
};
meta = {
homepage = http://xerces.apache.org/xerces-c/;
description = "Validating XML parser written in a portable subset of C++";
license = "ASL2.0";
};
}