nixpkgs/pkgs/development/libraries/zeroc-ice/default.nix

34 lines
753 B
Nix
Raw Normal View History

2015-06-27 20:38:21 +01:00
{ stdenv, fetchFromGitHub, mcpp, bzip2, expat, openssl, db5 }:
2014-01-31 01:41:58 +00:00
stdenv.mkDerivation rec {
2015-06-27 20:38:21 +01:00
name = "zeroc-ice-${version}";
2016-10-13 02:13:26 +01:00
version = "3.6.3";
2014-01-31 01:41:58 +00:00
2015-06-27 20:38:21 +01:00
src = fetchFromGitHub {
owner = "zeroc-ice";
repo = "ice";
rev = "v${version}";
2016-10-13 02:13:26 +01:00
sha256 = "05xympbns32aalgcfcpxwfd7bvg343f16xpg6jv5s335ski3cjy2";
2014-01-31 01:41:58 +00:00
};
buildInputs = [ mcpp bzip2 expat openssl db5 ];
buildPhase = ''
cd cpp
2015-06-27 20:38:21 +01:00
make -j $NIX_BUILD_CORES OPTIMIZE=yes
2014-01-31 01:41:58 +00:00
'';
installPhase = ''
2015-06-27 20:38:21 +01:00
make -j $NIX_BUILD_CORES prefix=$out install
2014-01-31 01:41:58 +00:00
'';
2015-06-27 20:38:21 +01:00
enableParallelBuilding = true;
2014-01-31 01:41:58 +00:00
meta = with stdenv.lib; {
homepage = "http://www.zeroc.com/ice.html";
description = "The internet communications engine";
license = licenses.gpl2;
platforms = platforms.unix;
};
}