11 python3, # for tests only
16 zeroc_mcpp = stdenv.mkDerivation rec {
20 src = fetchFromGitHub {
24 sha256 = "1psryc2ql1cp91xd3f8jz84mdaqvwzkdq2pr96nwn03ds4cd88wh";
27 configureFlags = [ "--enable-mcpplib" ];
28 installFlags = [ "PREFIX=$(out)" ];
32 stdenv.mkDerivation rec {
36 src = fetchFromGitHub {
40 hash = "sha256-l3cKsR8HSdtFGw1S12xueQOu/U9ABlOxQQtbHBj2izs=";
59 "CONFIGS=${if cpp11 then "cpp11-shared" else "shared"}"
60 "SKIP=slice2py" # provided by a separate package
64 enableParallelBuilding = true;
73 nativeCheckInputs = with python3.pkgs; [ passlib ];
76 # these tests require network access so we need to skip them.
77 brokenTests = map lib.escapeRegex [
84 # FIXME: certificate expired, remove for next release?
85 "IceSSL/configuration"
87 # matches CONFIGS flag in makeFlagsArray
88 configFlag = lib.optionalString cpp11 "--config=cpp11-shared";
92 ${python3.interpreter} ./cpp/allTests.py ${configFlag} --rfilter='${lib.concatStringsSep "|" brokenTests}'
97 mkdir -p $bin $dev/share
99 mv $out/share/ice $dev/share
103 homepage = "https://www.zeroc.com/ice.html";
104 description = "Internet communications engine";
105 license = licenses.gpl2Only;
106 platforms = platforms.unix;
107 maintainers = with maintainers; [ abbradar ];
108 broken = stdenv.hostPlatform.isDarwin;