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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
753 B
Nix
Raw Normal View History

{ lib, stdenv
2019-04-15 02:32:42 +00:00
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "ldacBT";
2019-04-15 02:32:42 +00:00
version = "2.0.2.3";
src = fetchFromGitHub {
repo = "ldacBT";
owner = "ehfive";
rev = "v${version}";
sha256 = "09dalysx4fgrgpfdm9a51x6slnf4iik1sqba4xjgabpvq91bnb63";
fetchSubmodules = true;
};
2023-04-16 10:22:25 +00:00
outputs = [ "out" "dev" ];
2019-04-15 02:32:42 +00:00
nativeBuildInputs = [
cmake
];
2023-04-16 10:22:25 +00:00
cmakeFlags = [
# CMakeLists.txt by default points to $out
"-DINSTALL_INCLUDEDIR=${placeholder "dev"}/include"
];
meta = with lib; {
2019-04-15 02:32:42 +00:00
description = "AOSP libldac dispatcher";
homepage = "https://github.com/EHfive/ldacBT";
2019-04-15 02:32:42 +00:00
license = licenses.asl20;
platforms = platforms.all;
maintainers = with maintainers; [ adisbladis ];
};
}