diff --git a/pkgs/development/libraries/libopenaptx/default.nix b/pkgs/development/libraries/libopenaptx/default.nix new file mode 100644 index 000000000000..a29f8dc4a804 --- /dev/null +++ b/pkgs/development/libraries/libopenaptx/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "libopenaptx-${version}"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "pali"; + repo = "libopenaptx"; + rev = version; + sha256 = "0996qmkmbax7ccknxrd3bx8xibs79a1ffms69scsj59f3kgj6854"; + }; + + makeFlags = [ "PREFIX=$(out)" ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "Audio Processing Technology codec (aptX)"; + license = licenses.lgpl21Plus; + homepage = https://github.com/pali/libopenaptx; + platforms = platforms.linux; + maintainers = with maintainers; [ orivej ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 08523ba099f3..2b3ce642bb9c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11207,6 +11207,8 @@ in liboop = callPackage ../development/libraries/liboop { }; + libopenaptx = callPackage ../development/libraries/libopenaptx { }; + libopus = callPackage ../development/libraries/libopus { }; libopusenc = callPackage ../development/libraries/libopusenc { };