diff options
author | figsoda <figsoda@pm.me> | 2023-05-19 19:04:08 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-05-19 19:04:08 -0400 |
commit | 4b939b45c6911216c441761b714e8a0d49af54e7 (patch) | |
tree | 0b28bd2f5d0075e9e0756116e7d27a6bff385d28 /pkgs/servers | |
parent | 983d4ff27074e0b4f165a2d08ba684555d7f1fbd (diff) |
shairport-sync: switch to openssl 3
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/shairport-sync/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/servers/shairport-sync/default.nix b/pkgs/servers/shairport-sync/default.nix index 5bfe05a86dff6..40a02c3ce0846 100644 --- a/pkgs/servers/shairport-sync/default.nix +++ b/pkgs/servers/shairport-sync/default.nix @@ -3,7 +3,7 @@ , fetchFromGitHub , autoreconfHook , pkg-config -, openssl_1_1 +, openssl , avahi , alsa-lib , libplist @@ -34,6 +34,10 @@ , enableLibdaemon ? false }: +let + inherit (lib) optional optionals; +in + stdenv.mkDerivation rec { version = "4.1.1"; pname = "shairport-sync"; @@ -47,8 +51,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook pkg-config ]; - buildInputs = with lib; [ - openssl_1_1 + buildInputs = [ + openssl avahi popt libconfig @@ -76,7 +80,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - configureFlags = with lib; [ + configureFlags = [ "--without-configfiles" "--sysconfdir=/etc" "--with-ssl=openssl" |