at 24.11-pre 29 lines 806 B view raw
1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator 2, alsa, ao, mad, pulseaudio, theora 3}: 4 5buildDunePackage rec { 6 pname = "mm"; 7 version = "0.8.5"; 8 9 duneVersion = "3"; 10 11 minimalOCamlVersion = "4.12"; 12 13 src = fetchFromGitHub { 14 owner = "savonet"; 15 repo = "ocaml-mm"; 16 rev = "v${version}"; 17 sha256 = "sha256-/83coQdUoaa1+5yapF/joV87uYpVsmWU7LH867Vmmo0="; 18 }; 19 20 buildInputs = [ dune-configurator ]; 21 propagatedBuildInputs = [ alsa ao mad pulseaudio theora ]; # ocamlsdl is blocked in nixpkgs from building for ocaml >= 4.06 22 23 meta = with lib; { 24 homepage = "https://github.com/savonet/ocaml-mm"; 25 description = "High-level library to create and manipulate multimedia streams"; 26 license = licenses.lgpl21Plus; 27 maintainers = with maintainers; [ dandellion ]; 28 }; 29}