c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
36 lines
753 B
Nix
36 lines
753 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ldacBT";
|
|
version = "2.0.2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "ldacBT";
|
|
owner = "ehfive";
|
|
rev = "v${version}";
|
|
sha256 = "09dalysx4fgrgpfdm9a51x6slnf4iik1sqba4xjgabpvq91bnb63";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
cmakeFlags = [
|
|
# CMakeLists.txt by default points to $out
|
|
"-DINSTALL_INCLUDEDIR=${placeholder "dev"}/include"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "AOSP libldac dispatcher";
|
|
homepage = "https://github.com/EHfive/ldacBT";
|
|
license = licenses.asl20;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ adisbladis ];
|
|
};
|
|
}
|