at 24.11-pre 25 lines 699 B view raw
1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, libmad }: 2 3buildDunePackage rec { 4 pname = "mad"; 5 version = "0.5.3"; 6 7 minimalOCamlVersion = "4.06"; 8 9 src = fetchFromGitHub { 10 owner = "savonet"; 11 repo = "ocaml-mad"; 12 rev = "v${version}"; 13 sha256 = "sha256-rSFzWyUYTrGL7GvVsY5qKdCXqY/XJQkuBerexG838jc="; 14 }; 15 16 buildInputs = [ dune-configurator ]; 17 propagatedBuildInputs = [ libmad ]; 18 19 meta = with lib; { 20 homepage = "https://github.com/savonet/ocaml-mad"; 21 description = "Bindings for the mad library which provides functions for encoding wave audio files into mp3"; 22 license = licenses.gpl2Plus; 23 maintainers = with maintainers; [ dandellion ]; 24 }; 25}