summary refs log tree commit diff
path: root/pkgs/development/libraries/wvstreams/default.nix
blob: e1238578edcc5e9f7a54af39acd33a9d414f2f19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, qt4, dbus, zlib, openssl, readline, perl }:

stdenv.mkDerivation {
  name = "wvstreams-4.6.1";

  src = fetchurl {
    url = http://wvstreams.googlecode.com/files/wvstreams-4.6.1.tar.gz;
    sha256 = "0cvnq3mvh886gmxh0km858aqhx30hpyrfpg1dh6ara9sz3xza0w4";
  };

  preConfigure = ''
    find -type f | xargs sed -i 's@/bin/bash@bash@g'
  '';

  buildInputs = [ qt4 dbus zlib openssl readline perl ];

  meta = {
    description = "Network programming library in C++";
    homepage = http://alumnit.ca/wiki/index.php?page=WvStreams;
    license = "LGPL";
    maintainers = [ stdenv.lib.maintainers.marcweber ];
    platforms = stdenv.lib.platforms.linux;
  };
}