2015-07-09 21:55:15 +02:00
|
|
|
{ stdenv, gcc46, fetchurl, qt4, dbus, zlib, openssl, readline, perl }:
|
2010-07-28 13:55:54 +02:00
|
|
|
|
2010-04-16 17:56:28 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "wvstreams-4.6.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://wvstreams.googlecode.com/files/wvstreams-4.6.1.tar.gz;
|
|
|
|
sha256 = "0cvnq3mvh886gmxh0km858aqhx30hpyrfpg1dh6ara9sz3xza0w4";
|
|
|
|
};
|
|
|
|
|
2011-06-16 23:19:13 +02:00
|
|
|
patches = [ ./compile.patch ];
|
|
|
|
|
2010-04-16 17:56:28 +02:00
|
|
|
preConfigure = ''
|
|
|
|
find -type f | xargs sed -i 's@/bin/bash@bash@g'
|
2014-02-02 16:18:09 +01:00
|
|
|
|
|
|
|
sed -e '1i#include <unistd.h>' -i $(find . -name '*.c' -o -name '*.cc')
|
2010-04-16 17:56:28 +02:00
|
|
|
'';
|
|
|
|
|
2015-07-09 21:55:15 +02:00
|
|
|
buildInputs = [ gcc46 qt4 dbus zlib openssl readline perl ];
|
2010-04-16 17:56:28 +02:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "Network programming library in C++";
|
2010-04-16 17:56:28 +02:00
|
|
|
homepage = http://alumnit.ca/wiki/index.php?page=WvStreams;
|
|
|
|
license = "LGPL";
|
2010-07-28 13:55:54 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
2010-04-16 17:56:28 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|