Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libopenaptx / default.nix
blob33a5cadb71ddd16190a1e6e5c20cc8f0dd9bbfdf
1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "libopenaptx";
5   version = "0.2.1";
7   src = fetchFromGitHub {
8     owner = "pali";
9     repo = "libopenaptx";
10     rev = version;
11     sha256 = "sha256-4FYKxw1U+efCfzKOPSDJH8a/dG0KV+anJDgxjqzD80k=";
12   };
14   makeFlags = [
15     "PREFIX=${placeholder "out"}"
16     # disable static builds
17     "ANAME="
18     "AOBJECTS="
19     "STATIC_UTILITIES="
20   ];
22   enableParallelBuilding = true;
24   meta = with lib; {
25     description = "Audio Processing Technology codec (aptX)";
26     license = licenses.gpl3Plus;
27     homepage = "https://github.com/pali/libopenaptx";
28     platforms = platforms.linux;
29     maintainers = with maintainers; [ orivej ];
30   };