at master 31 lines 650 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 dune-configurator, 6 alsa-lib, 7}: 8 9buildDunePackage rec { 10 pname = "alsa"; 11 version = "0.3.0"; 12 13 minimalOCamlVersion = "4.02"; 14 15 src = fetchFromGitHub { 16 owner = "savonet"; 17 repo = "ocaml-alsa"; 18 rev = version; 19 sha256 = "1qy22g73qc311rmv41w005rdlj5mfnn4yj1dx1jhqzr31zixl8hj"; 20 }; 21 22 buildInputs = [ dune-configurator ]; 23 propagatedBuildInputs = [ alsa-lib ]; 24 25 meta = with lib; { 26 homepage = "https://github.com/savonet/ocaml-alsa"; 27 description = "OCaml interface for libasound2"; 28 license = licenses.gpl2Only; 29 maintainers = with maintainers; [ dandellion ]; 30 }; 31}