1{ stdenv, fetchFromGitHub }:
2
3stdenv.mkDerivation rec {
4 name = "libopenaptx-${version}";
5 version = "0.1.0";
6
7 src = fetchFromGitHub {
8 owner = "pali";
9 repo = "libopenaptx";
10 rev = version;
11 sha256 = "0996qmkmbax7ccknxrd3bx8xibs79a1ffms69scsj59f3kgj6854";
12 };
13
14 makeFlags = [ "PREFIX=$(out)" ];
15
16 enableParallelBuilding = true;
17
18 meta = with stdenv.lib; {
19 description = "Audio Processing Technology codec (aptX)";
20 license = licenses.lgpl21Plus;
21 homepage = https://github.com/pali/libopenaptx;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ orivej ];
24 };
25}