diff options
author | superherointj <5861043+superherointj@users.noreply.github.com> | 2024-06-18 21:22:12 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 21:22:12 -0300 |
commit | 56c37b4cc8db4ac01b707f2299f21ef2e2b0b7d1 (patch) | |
tree | 3e662ea1f1647cc74d4f9cac433577a05d2ee029 /pkgs/development/libraries | |
parent | 78fde8eb6016e101554f01899f07f2ff3bfd6c55 (diff) | |
parent | 7549dad6eb37e8e2172792689eb81d49c15ac849 (diff) |
Merge pull request #320870 from noblepayne/update_roc-toolkit
roc-toolkit: 0.3.0 -> 0.4.0
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/audio/roc-toolkit/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/libraries/audio/roc-toolkit/default.nix b/pkgs/development/libraries/audio/roc-toolkit/default.nix index cbb580413c2b0..4654e29a835fd 100644 --- a/pkgs/development/libraries/audio/roc-toolkit/default.nix +++ b/pkgs/development/libraries/audio/roc-toolkit/default.nix @@ -16,12 +16,14 @@ opensslSupport ? true, openssl, soxSupport ? true, - sox + sox, + libsndfileSupport ? true, + libsndfile }: stdenv.mkDerivation rec { pname = "roc-toolkit"; - version = "0.3.0"; + version = "0.4.0"; outputs = [ "out" "dev" ]; @@ -29,7 +31,7 @@ stdenv.mkDerivation rec { owner = "roc-streaming"; repo = "roc-toolkit"; rev = "v${version}"; - hash = "sha256-tC0rjb3eDtEciUk0NmVye+N//Y/RFsi5d3kFS031y8I="; + hash = "sha256-53irDq803dTg0YqtC1SOXmYNGypSMAEK+9HJ65pR5PA="; }; nativeBuildInputs = [ @@ -46,7 +48,8 @@ stdenv.mkDerivation rec { ++ lib.optional libunwindSupport libunwind ++ lib.optional pulseaudioSupport libpulseaudio ++ lib.optional opensslSupport openssl - ++ lib.optional soxSupport sox; + ++ lib.optional soxSupport sox + ++ lib.optional libsndfileSupport libsndfile; sconsFlags = [ "--build=${stdenv.buildPlatform.config}" @@ -56,6 +59,7 @@ stdenv.mkDerivation rec { lib.optional (!soxSupport) "--disable-sox" ++ lib.optional (!libunwindSupport) "--disable-libunwind" ++ lib.optional (!pulseaudioSupport) "--disable-pulseaudio" ++ + lib.optional (!libsndfileSupport) "--disable-sndfile" ++ (if (!openfecSupport) then ["--disable-openfec"] else [ "--with-libraries=${openfec}/lib" |