ocamlPackages.mad: init at 0.5.2

This commit is contained in:
Daniel Olsen 2021-10-30 04:13:15 +02:00 committed by Vincent Laporte
parent 5e76c6961d
commit fbfd28e8ac
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, libmad }:
buildDunePackage rec {
pname = "mad";
version = "0.5.2";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-mad";
rev = "v${version}";
sha256 = "sha256-iJjANV2M68v3C3db1n9Y8V6yJKuDBDSjtMteamndN7U=";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ libmad ];
meta = with lib; {
homepage = "https://github.com/savonet/ocaml-mad";
description = "Bindings for the mad library which provides functions for encoding wave audio files into mp3";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ dandellion ];
};
}

View file

@ -746,6 +746,8 @@ let
macaque = callPackage ../development/ocaml-modules/macaque { };
mad = callPackage ../development/ocaml-modules/mad { };
magic = callPackage ../development/ocaml-modules/magic { };
magic-mime = callPackage ../development/ocaml-modules/magic-mime { };