nixpkgs/pkgs/development/libraries/libopenaptx/default.nix

32 lines
699 B
Nix
Raw Normal View History

2018-12-17 04:41:16 +00:00
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "libopenaptx";
version = "0.2.0";
2018-12-17 04:41:16 +00:00
src = fetchFromGitHub {
owner = "pali";
repo = "libopenaptx";
rev = version;
sha256 = "nTpw4vWgJ765FM6Es3SzaaaZr0YDydXglb0RWLbiigI=";
2018-12-17 04:41:16 +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;
homepage = "https://github.com/pali/libopenaptx";
2018-12-17 04:41:16 +00:00
platforms = platforms.linux;
maintainers = with maintainers; [ orivej ];
};
}