summary refs log tree commit diff
path: root/pkgs/development/libraries/zeroc-ice/default.nix
blob: 29e92d0b6ecefab64db22af8bc3e906a5fb561d0 (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
25
26
27
28
{ stdenv, fetchurl, mcpp, bzip2, expat, openssl, db5 }:

stdenv.mkDerivation rec {
  name = "zeroc-ice-3.5.1";

  src = fetchurl {
    url = "http://www.zeroc.com/download/Ice/3.5/Ice-3.5.1.tar.gz";
    sha256 = "14pk794p0fq3hcp50xmqnf9pp15dggiqhcnsav8xpnka9hcm37lq";
  };

  buildInputs = [ mcpp bzip2 expat openssl db5 ];

  buildPhase = ''
    cd cpp
    make OPTIMIZE=yes
  '';

  installPhase = ''
    make prefix=$out install
  '';

  meta = with stdenv.lib; {
    homepage = "http://www.zeroc.com/ice.html";
    description = "The internet communications engine";
    license = licenses.gpl2;
    platforms = platforms.unix;
  };
}