diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libopenaptx')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libopenaptx/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libopenaptx/default.nix b/nixpkgs/pkgs/development/libraries/libopenaptx/default.nix new file mode 100644 index 000000000000..a29f8dc4a804 --- /dev/null +++ b/nixpkgs/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 ]; + }; +} |