summary refs log tree commit diff
path: root/pkgs/development/libraries/libopenaptx/default.nix
blob: 4ad1e2b7735816ef5565a5be0ccd49d60365b976 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "libopenaptx";
  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 ];
  };
}