From a634d9ca111b9930a23677949ec4c27410148ab8 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Mon, 15 Dec 2025 13:24:11 -0500 Subject: [PATCH 1/2] {gsoap,voms}: enable on darwin --- pkgs/by-name/gs/gsoap/package.nix | 7 +++++-- pkgs/by-name/vo/voms/package.nix | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/gs/gsoap/package.nix b/pkgs/by-name/gs/gsoap/package.nix index ff0d0374923a..e534ca3cf575 100644 --- a/pkgs/by-name/gs/gsoap/package.nix +++ b/pkgs/by-name/gs/gsoap/package.nix @@ -66,7 +66,10 @@ stdenv.mkDerivation rec { # 3. Proprietary commercial software development license (removes GPL # restrictions) license = lib.licenses.gpl2; - platforms = lib.platforms.linux; - maintainers = with lib.maintainers; [ bjornfor ]; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ + bjornfor + veprbl + ]; }; } diff --git a/pkgs/by-name/vo/voms/package.nix b/pkgs/by-name/vo/voms/package.nix index 7746c13ff1b4..d35bc79892a8 100644 --- a/pkgs/by-name/vo/voms/package.nix +++ b/pkgs/by-name/vo/voms/package.nix @@ -88,7 +88,10 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://italiangrid.github.io/voms/"; changelog = "https://github.com/italiangrid/voms/blob/master/ChangeLog"; license = lib.licenses.asl20; - platforms = lib.platforms.linux; # gsoap is currently Linux-only in Nixpkgs - maintainers = with lib.maintainers; [ ShamrockLee ]; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ + ShamrockLee + veprbl + ]; }; }) From f3a668ee61a803323d40c6b64a5d16eae1189152 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Wed, 17 Dec 2025 13:47:20 -0500 Subject: [PATCH 2/2] davix: fix build on darwin --- pkgs/by-name/da/davix/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/da/davix/package.nix b/pkgs/by-name/da/davix/package.nix index db1ac97a07ac..2e1b357a6c58 100644 --- a/pkgs/by-name/da/davix/package.nix +++ b/pkgs/by-name/da/davix/package.nix @@ -12,6 +12,7 @@ curl, gsoap, rapidjson, + zlib, enableTools ? true, # Use libcurl instead of libneon # Note that the libneon used is bundled in the project @@ -39,6 +40,7 @@ stdenv.mkDerivation rec { libxml2 openssl rapidjson + zlib ] ++ lib.optional (!stdenv.hostPlatform.isDarwin) libuuid ++ lib.optional enableThirdPartyCopy gsoap; @@ -74,6 +76,9 @@ stdenv.mkDerivation rec { }) ]; + # Transitive dependency of gsoap (only supports static library builds) + env.NIX_LDFLAGS = "-lz"; + meta = { description = "Toolkit for Http-based file management";