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

32 lines
736 B
Nix
Raw Normal View History

2021-08-06 12:33:04 +02:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "libfreeaptx";
version = "0.1.1";
src = fetchFromGitHub {
owner = "iamthehorker";
repo = pname;
rev = version;
sha256 = "sha256-eEUhOrKqb2hHWanY+knpY9FBEnjkkFTB+x6BZgMBpbo=";
};
makeFlags = [
"PREFIX=${placeholder "out"}"
# disable static builds
"ANAME="
"AOBJECTS="
"STATIC_UTILITIES="
];
enableParallelBuilding = true;
meta = with lib; {
description = "Free Implementation of Audio Processing Technology codec (aptX)";
license = licenses.lgpl21Plus;
homepage = "https://github.com/iamthehorker/libfreeaptx";
platforms = platforms.linux;
maintainers = with maintainers; [ kranzes ];
};
}