Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 dune-configurator, 6 libsamplerate, 7 libjack2, 8}: 9 10buildDunePackage rec { 11 pname = "bjack"; 12 version = "0.1.6"; 13 14 src = fetchFromGitHub { 15 owner = "savonet"; 16 repo = "ocaml-bjack"; 17 rev = "v${version}"; 18 hash = "sha256-jIxxqBVWphWYyLh+24rTxk4WWfPPdGCvNdevFJEKw70="; 19 }; 20 21 buildInputs = [ dune-configurator ]; 22 propagatedBuildInputs = [ 23 libsamplerate 24 libjack2 25 ]; 26 27 meta = with lib; { 28 homepage = "https://github.com/savonet/ocaml-bjack"; 29 description = "Blocking API for the jack audio connection kit"; 30 license = licenses.lgpl21Only; 31 maintainers = with maintainers; [ dandellion ]; 32 }; 33}