3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/zeroc-ice/default.nix
William A. Kennington III 512beee962 zeroc-ice: 3.5.1 -> 3.6.0
2015-06-27 12:38:32 -07:00

34 lines
753 B
Nix

{ stdenv, fetchFromGitHub, mcpp, bzip2, expat, openssl, db5 }:
stdenv.mkDerivation rec {
name = "zeroc-ice-${version}";
version = "3.6.0";
src = fetchFromGitHub {
owner = "zeroc-ice";
repo = "ice";
rev = "v${version}";
sha256 = "192lhynf369bbrvbb9nldc49n09kyxp8vg8j9d7w5h2c1yxpjgjq";
};
buildInputs = [ mcpp bzip2 expat openssl db5 ];
buildPhase = ''
cd cpp
make -j $NIX_BUILD_CORES OPTIMIZE=yes
'';
installPhase = ''
make -j $NIX_BUILD_CORES prefix=$out install
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = "http://www.zeroc.com/ice.html";
description = "The internet communications engine";
license = licenses.gpl2;
platforms = platforms.unix;
};
}