diff --git a/pkgs/development/libraries/libopus/default.nix b/pkgs/by-name/li/libopus/package.nix similarity index 76% rename from pkgs/development/libraries/libopus/default.nix rename to pkgs/by-name/li/libopus/package.nix index a841d1cfa903..cdf00a244ba4 100644 --- a/pkgs/development/libraries/libopus/default.nix +++ b/pkgs/by-name/li/libopus/package.nix @@ -1,18 +1,19 @@ -{ lib -, stdenv -, fetchurl -, gitUpdater -, meson -, python3 -, ninja -, fixedPoint ? false -, withCustomModes ? true -, withIntrinsics ? stdenv.hostPlatform.isAarch || stdenv.hostPlatform.isx86 -, withAsm ? false +{ + lib, + stdenv, + fetchurl, + gitUpdater, + meson, + python3, + ninja, + fixedPoint ? false, + withCustomModes ? true, + withIntrinsics ? stdenv.hostPlatform.isAarch || stdenv.hostPlatform.isx86, + withAsm ? false, -# tests -, ffmpeg-headless -, testers + # tests + ffmpeg-headless, + testers, }: stdenv.mkDerivation (finalAttrs: { @@ -33,7 +34,10 @@ stdenv.mkDerivation (finalAttrs: { patchShebangs meson/ ''; - outputs = [ "out" "dev" ]; + outputs = [ + "out" + "dev" + ]; nativeBuildInputs = [ meson @@ -68,12 +72,12 @@ stdenv.mkDerivation (finalAttrs: { }; }; - meta = with lib; { + meta = { description = "Open, royalty-free, highly versatile audio codec"; homepage = "https://opus-codec.org/"; changelog = "https://gitlab.xiph.org/xiph/opus/-/releases/v${finalAttrs.version}"; - license = licenses.bsd3; - platforms = platforms.all; - maintainers = [ ]; + license = lib.licenses.bsd3; + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ getchoo jopejoe1 ]; }; }) diff --git a/pkgs/development/libraries/libopus/test-timeout.patch b/pkgs/by-name/li/libopus/test-timeout.patch similarity index 100% rename from pkgs/development/libraries/libopus/test-timeout.patch rename to pkgs/by-name/li/libopus/test-timeout.patch diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9118b78eb842..a0def6bf6c19 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22668,8 +22668,6 @@ with pkgs; libopenglrecorder = callPackage ../development/libraries/libopenglrecorder { }; - libopus = callPackage ../development/libraries/libopus { }; - libopusenc = callPackage ../development/libraries/libopusenc { }; libosinfo = callPackage ../development/libraries/libosinfo { };