2015-07-09 20:55:15 +01:00
|
|
|
{ stdenv, gcc46, fetchurl, qt4, dbus, zlib, openssl, readline, perl }:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2010-04-16 16:56:28 +01: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 22:19:13 +01:00
|
|
|
patches = [ ./compile.patch ];
|
|
|
|
|
2010-04-16 16:56:28 +01:00
|
|
|
preConfigure = ''
|
|
|
|
find -type f | xargs sed -i 's@/bin/bash@bash@g'
|
2014-02-02 15:18:09 +00:00
|
|
|
|
|
|
|
sed -e '1i#include <unistd.h>' -i $(find . -name '*.c' -o -name '*.cc')
|
2010-04-16 16:56:28 +01:00
|
|
|
'';
|
|
|
|
|
2015-07-09 20:55:15 +01:00
|
|
|
buildInputs = [ gcc46 qt4 dbus zlib openssl readline perl ];
|
2010-04-16 16:56:28 +01:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 12:55:54 +01:00
|
|
|
description = "Network programming library in C++";
|
2010-04-16 16:56:28 +01:00
|
|
|
homepage = http://alumnit.ca/wiki/index.php?page=WvStreams;
|
|
|
|
license = "LGPL";
|
2010-07-28 12:55:54 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
2010-04-16 16:56:28 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|