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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "zeroc-ice-3.5.1";
|
name = "zeroc-ice-${version}";
|
||||||
|
version = "3.6.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://www.zeroc.com/download/Ice/3.5/Ice-3.5.1.tar.gz";
|
owner = "zeroc-ice";
|
||||||
sha256 = "14pk794p0fq3hcp50xmqnf9pp15dggiqhcnsav8xpnka9hcm37lq";
|
repo = "ice";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "192lhynf369bbrvbb9nldc49n09kyxp8vg8j9d7w5h2c1yxpjgjq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ mcpp bzip2 expat openssl db5 ];
|
buildInputs = [ mcpp bzip2 expat openssl db5 ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cd cpp
|
cd cpp
|
||||||
make OPTIMIZE=yes
|
make -j $NIX_BUILD_CORES OPTIMIZE=yes
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
make prefix=$out install
|
make -j $NIX_BUILD_CORES prefix=$out install
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://www.zeroc.com/ice.html";
|
homepage = "http://www.zeroc.com/ice.html";
|
||||||
description = "The internet communications engine";
|
description = "The internet communications engine";
|
||||||
|
Loading…
Reference in New Issue
Block a user