2018-12-17 04:41:16 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libopenaptx";
|
2020-12-04 11:07:42 +00:00
|
|
|
version = "0.2.0";
|
2018-12-17 04:41:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pali";
|
|
|
|
repo = "libopenaptx";
|
|
|
|
rev = version;
|
2020-12-04 11:07:42 +00:00
|
|
|
sha256 = "nTpw4vWgJ765FM6Es3SzaaaZr0YDydXglb0RWLbiigI=";
|
2018-12-17 04:41:16 +00:00
|
|
|
};
|
|
|
|
|
2020-12-04 11:07:42 +00:00
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=${placeholder "out"}"
|
|
|
|
# disable static builds
|
|
|
|
"ANAME="
|
|
|
|
"AOBJECTS="
|
|
|
|
"STATIC_UTILITIES="
|
|
|
|
];
|
2018-12-17 04:41:16 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Audio Processing Technology codec (aptX)";
|
|
|
|
license = licenses.lgpl21Plus;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/pali/libopenaptx";
|
2018-12-17 04:41:16 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
};
|
|
|
|
}
|