Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 25 lines 639 B view raw
1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, alsa-lib }: 2 3buildDunePackage rec { 4 pname = "alsa"; 5 version = "0.3.0"; 6 7 minimalOCamlVersion = "4.02"; 8 9 src = fetchFromGitHub { 10 owner = "savonet"; 11 repo = "ocaml-alsa"; 12 rev = version; 13 sha256 = "1qy22g73qc311rmv41w005rdlj5mfnn4yj1dx1jhqzr31zixl8hj"; 14 }; 15 16 buildInputs = [ dune-configurator ]; 17 propagatedBuildInputs = [ alsa-lib ]; 18 19 meta = with lib; { 20 homepage = "https://github.com/savonet/ocaml-alsa"; 21 description = "OCaml interface for libasound2"; 22 license = licenses.gpl2Only; 23 maintainers = with maintainers; [ dandellion ]; 24 }; 25}