forked from mirrors/nixpkgs
zeroc-ice: 3.5.1 -> 3.6.0
This commit is contained in:
parent
8c19ed81e9
commit
512beee962
|
@ -1,24 +1,29 @@
|
|||
{ stdenv, fetchurl, mcpp, bzip2, expat, openssl, db5 }:
|
||||
{ stdenv, fetchFromGitHub, mcpp, bzip2, expat, openssl, db5 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zeroc-ice-3.5.1";
|
||||
name = "zeroc-ice-${version}";
|
||||
version = "3.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.zeroc.com/download/Ice/3.5/Ice-3.5.1.tar.gz";
|
||||
sha256 = "14pk794p0fq3hcp50xmqnf9pp15dggiqhcnsav8xpnka9hcm37lq";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zeroc-ice";
|
||||
repo = "ice";
|
||||
rev = "v${version}";
|
||||
sha256 = "192lhynf369bbrvbb9nldc49n09kyxp8vg8j9d7w5h2c1yxpjgjq";
|
||||
};
|
||||
|
||||
buildInputs = [ mcpp bzip2 expat openssl db5 ];
|
||||
|
||||
buildPhase = ''
|
||||
cd cpp
|
||||
make OPTIMIZE=yes
|
||||
make -j $NIX_BUILD_CORES OPTIMIZE=yes
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make prefix=$out install
|
||||
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";
|
||||
|
|
Loading…
Reference in a new issue