depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mad/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

25 lines
699 B
Nix

{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, libmad }:
buildDunePackage rec {
pname = "mad";
version = "0.5.3";
minimalOCamlVersion = "4.06";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-mad";
rev = "v${version}";
sha256 = "sha256-rSFzWyUYTrGL7GvVsY5qKdCXqY/XJQkuBerexG838jc=";
};
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 ];
};
}