1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/development/libraries/zeroc-ice/default.nix
William A. Kennington III c0f50f3179 zeroc_ice: 3.6.0 -> 3.6.1
2015-10-02 12:48:51 -07:00

34 lines
753 B
Nix

{ stdenv, fetchFromGitHub, mcpp, bzip2, expat, openssl, db5 }:
stdenv.mkDerivation rec {
name = "zeroc-ice-${version}";
version = "3.6.1";
src = fetchFromGitHub {
owner = "zeroc-ice";
repo = "ice";
rev = "v${version}";
sha256 = "044511zbhwiach1867r3xjz8i4931wn7c1l3nz4kcpgks16kqhhz";
};
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;
};
}