depot/third_party/nixpkgs/pkgs/development/ocaml-modules/bjack/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

23 lines
748 B
Nix

{ lib, stdenv, buildDunePackage, fetchFromGitHub, Accelerate, CoreAudio, dune-configurator, libsamplerate, libjack2 }:
buildDunePackage rec {
pname = "bjack";
version = "0.1.6";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-bjack";
rev = "v${version}";
hash = "sha256-jIxxqBVWphWYyLh+24rTxk4WWfPPdGCvNdevFJEKw70=";
};
buildInputs = [ dune-configurator ] ++ lib.optionals stdenv.isDarwin [ Accelerate CoreAudio ];
propagatedBuildInputs = [ libsamplerate libjack2 ];
meta = with lib; {
homepage = "https://github.com/savonet/ocaml-bjack";
description = "Blocking API for the jack audio connection kit";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ dandellion ];
};
}