Merge pull request #187863 from SuperSandro2000/ucommon

authored by

Sandro and committed by
GitHub
a0e15996 63cf0356

+4 -15
+3 -11
pkgs/development/libraries/ucommon/default.nix
··· 1 1 { lib, stdenv, fetchurl, pkg-config 2 - , openssl ? null, zlib ? null, gnutls ? null 2 + , gnutls 3 3 }: 4 - 5 - let 6 - xor = a: b: (a || b) && (!(a && b)); 7 - in 8 - 9 - assert xor (openssl != null) (gnutls != null); 10 - assert !(xor (openssl != null) (zlib != null)); 11 4 12 5 stdenv.mkDerivation rec { 13 6 pname = "ucommon"; ··· 29 22 --replace 'ifndef UCOMMON_SYSRUNTIME' 'if 0' 30 23 ''; 31 24 32 - # ucommon.pc has link time depdendencies on -lssl, -lcrypto, -lz, -lgnutls 33 - propagatedBuildInputs = [ openssl zlib gnutls ]; 25 + # ucommon.pc has link time depdendencies on -lusecure -lucommon -lgnutls 26 + propagatedBuildInputs = [ gnutls ]; 34 27 35 28 doCheck = true; 36 29 ··· 38 31 description = "C++ library to facilitate using C++ design patterns"; 39 32 homepage = "https://www.gnu.org/software/commoncpp/"; 40 33 license = lib.licenses.lgpl3Plus; 41 - 42 34 maintainers = with lib.maintainers; [ ]; 43 35 platforms = lib.platforms.linux; 44 36 };
+1 -4
pkgs/top-level/all-packages.nix
··· 21765 21765 21766 21766 utmps = skawarePackages.utmps; 21767 21767 21768 - ucommon = callPackage ../development/libraries/ucommon { 21769 - openssl = null; 21770 - zlib = null; 21771 - }; 21768 + ucommon = callPackage ../development/libraries/ucommon { }; 21772 21769 21773 21770 v8 = callPackage ../development/libraries/v8 { }; 21774 21771