2015-07-09 19:55:15 +00:00
|
|
|
{ stdenv, gcc46, fetchurl, qt4, dbus, zlib, openssl, readline, perl }:
|
2010-07-28 11:55:54 +00:00
|
|
|
|
2010-04-16 15:56:28 +00: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 21:19:13 +00:00
|
|
|
patches = [ ./compile.patch ];
|
|
|
|
|
2010-04-16 15:56:28 +00: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 15:56:28 +00:00
|
|
|
'';
|
|
|
|
|
2015-07-09 19:55:15 +00:00
|
|
|
buildInputs = [ gcc46 qt4 dbus zlib openssl readline perl ];
|
2010-04-16 15:56:28 +00:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 11:55:54 +00:00
|
|
|
description = "Network programming library in C++";
|
2010-04-16 15:56:28 +00:00
|
|
|
homepage = http://alumnit.ca/wiki/index.php?page=WvStreams;
|
|
|
|
license = "LGPL";
|
2010-07-28 11:55:54 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
2010-04-16 15:56:28 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|