---
pkgs/development/libraries/classads/default.nix | 22 +++++++++++++++
pkgs/development/libraries/gsoap/default.nix | 19 +++++++++++++
pkgs/development/libraries/libvirt/default.nix | 28 ++++++++++++++++++++
.../libraries/libvirt/non-absolute-ld.patch | 12 ++++++++
pkgs/top-level/all-packages.nix | 12 ++++++++
5 files changed, 93 insertions(+), 0 deletions(-)
create mode 100644 pkgs/development/libraries/classads/default.nix
create mode 100644 pkgs/development/libraries/gsoap/default.nix
create mode 100644 pkgs/development/libraries/libvirt/default.nix
create mode 100644 pkgs/development/libraries/libvirt/non-absolute-ld.patch
diff --git a/pkgs/development/libraries/classads/default.nix b/pkgs/development/libraries/classads/default.nix
new file mode 100644
index 0000000..e086ba1
--- /dev/null
+++ b/pkgs/development/libraries/classads/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchurl }:
+
+let version = "1.0.4"; in
+
+stdenv.mkDerivation {
+ name = "classads-${version}";
+
+ src = fetchurl {
+ url = "ftp://ftp.cs.wisc.edu/condor/classad/c++/classads-${version}.tar.gz";
+ sha256 = "80b11c6d383891c90e04e403b2f282e91177940c3fe536082899fbfb9e854d24";
+ };
+
+ configureFlags = ''
+ --enable-namespace --enable-flexible-member
+ '';
+
+ meta = {
+ homepage = http://www.cs.wisc.edu/condor/classad/;
+ description = "A Library that provides a generic means for matching resources";
+ license = "Apache-2.0";
+ };
+}
diff --git a/pkgs/development/libraries/gsoap/default.nix b/pkgs/development/libraries/gsoap/default.nix
new file mode 100644
index 0000000..df60144
--- /dev/null
+++ b/pkgs/development/libraries/gsoap/default.nix
@@ -0,0 +1,19 @@
+{ stdenv, fetchurl, m4, bison, flex, openssl, zlib }:
+
+let version = "2.7.15"; in
+
+stdenv.mkDerivation {
+ name = "gsoap-${version}";
+
+ src = fetchurl {
+ url = "mirror://sourceforge/gsoap2/files/gSOAP/2.7.15%20stable/gsoap_${version}.tar.gz";
+ sha256 = "3ed883ab1a3d32b5bb2bf599306f247f6de3ffedd8890eb0e6303ae15995dc12";
+ };
+
+ buildInputs = [ m4 bison flex openssl zlib ];
+ meta = {
+ homepage = "http://www.cs.fsu.edu/~engelen/soap.html";
+ description = "An open source C and C++ software development toolkit for SOAP/WSDL and XML Web services";
+ license = "free-non-copyleft";
+ };
+}
diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix
new file mode 100644
index 0000000..525e240
--- /dev/null
+++ b/pkgs/development/libraries/libvirt/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchurl, libxml2, gnutls, devicemapper, perl }:
+
+let version = "0.7.5"; in
+
+stdenv.mkDerivation {
+ name = "libvirt-${version}";
+
+ src = fetchurl {
+ url = "http://libvirt.org/sources/libvirt-${version}.tar.gz";
+ sha256 = "922481aadf72a74cf14012fe3967c60d01e70f7e88908410d57428943ab4eb8b";
+ };
+
+ buildInputs = [ libxml2 gnutls devicemapper perl ];
+
+ # fix for redhat bz 531496
+ patches = [ ./non-absolute-ld.patch ];
+
+ # 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+";
+ };
+}
diff --git a/pkgs/development/libraries/libvirt/non-absolute-ld.patch b/pkgs/development/libraries/libvirt/non-absolute-ld.patch
new file mode 100644
index 0000000..ba73010
--- /dev/null
+++ b/pkgs/development/libraries/libvirt/non-absolute-ld.patch
@@ -0,0 +1,12 @@
+diff -Naur libvirt-0.7.5.orig/configure libvirt-0.7.5/configure
+--- libvirt-0.7.5.orig/configure 2009-12-23 09:17:34.000000000 -0600
++++ libvirt-0.7.5/configure 2010-01-13 21:16:02.000000000 -0600
+@@ -41051,7 +41051,7 @@
+
+
+ VERSION_SCRIPT_FLAGS=-Wl,--version-script=
+-`/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null` || \
++`ld --help 2>&1 | grep -- --version-script >/dev/null` || \
+ VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
+
+
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 6e8bb3a..723916a 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3197,6 +3197,10 @@ let
inherit (xlibs) libX11 xf86vidmodeproto libXmu libXxf86vm;
};
+ classads = import ../development/libraries/classads {
+ inherit fetchurl stdenv;
+ };
+
classpath = import ../development/libraries/java/classpath {
javac = gcj;
jvm = gcj;
@@ -3591,6 +3595,10 @@ let
inherit fetchurl stdenv;
};
+ gsoap = import ../development/libraries/gsoap {
+ inherit fetchurl stdenv m4 bison flex openssl zlib;
+ };
+
gtkimageview = import ../development/libraries/gtkimageview {
inherit fetchurl stdenv pkgconfig;
inherit (gnome) gtk;
@@ -4162,6 +4170,10 @@ let
inherit fetchurl stdenv;
};
+ libvirt = import ../development/libraries/libvirt {
+ inherit stdenv fetchurl libxml2 gnutls devicemapper perl;
+ };
+
libvncserver = builderDefsPackage (import ../development/libraries/libvncserver) {
inherit libtool libjpeg openssl zlib;
inherit (xlibs) xproto libX11 damageproto libXdamage
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev