Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 23 lines 748 B view raw
1{ lib, stdenv, buildDunePackage, fetchFromGitHub, Accelerate, CoreAudio, dune-configurator, libsamplerate, libjack2 }: 2 3buildDunePackage rec { 4 pname = "bjack"; 5 version = "0.1.6"; 6 7 src = fetchFromGitHub { 8 owner = "savonet"; 9 repo = "ocaml-bjack"; 10 rev = "v${version}"; 11 hash = "sha256-jIxxqBVWphWYyLh+24rTxk4WWfPPdGCvNdevFJEKw70="; 12 }; 13 14 buildInputs = [ dune-configurator ] ++ lib.optionals stdenv.isDarwin [ Accelerate CoreAudio ]; 15 propagatedBuildInputs = [ libsamplerate libjack2 ]; 16 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 }; 23}