mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
c24958f4c7
These are a handful of packages I no longer use or/and have lost interest in.
38 lines
814 B
Nix
38 lines
814 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;
|
|
# libldac code detects & #error's out on non-LE byte order
|
|
platforms = platforms.littleEndian;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|