nixpkgs/pkgs/development/libraries/ldacbt/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
597 B
Nix

{ 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;
};
nativeBuildInputs = [
cmake
];
meta = with stdenv.lib; {
description = "AOSP libldac dispatcher";
homepage = https://github.com/EHfive/ldacBT;
license = licenses.asl20;
platforms = platforms.all;
maintainers = with maintainers; [ adisbladis ];
};
}