Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / bjack / default.nix
blob197d31638d61596fd9a0abb3ae91a2627a6a0e43
1 { lib, stdenv, buildDunePackage, fetchFromGitHub, Accelerate, CoreAudio, dune-configurator, libsamplerate, libjack2 }:
3 buildDunePackage rec {
4   pname = "bjack";
5   version = "0.1.6";
7   src = fetchFromGitHub {
8     owner = "savonet";
9     repo = "ocaml-bjack";
10     rev = "v${version}";
11     hash = "sha256-jIxxqBVWphWYyLh+24rTxk4WWfPPdGCvNdevFJEKw70=";
12   };
14   buildInputs = [ dune-configurator ] ++ lib.optionals stdenv.isDarwin [ Accelerate CoreAudio ];
15   propagatedBuildInputs = [ libsamplerate libjack2 ];
17   meta = with lib; {
18     homepage = "https://github.com/savonet/ocaml-bjack";
19     description = "Blocking API for the jack audio connection kit";
20     license = licenses.lgpl21Only;
21     maintainers = with maintainers; [ dandellion ];
22   };