depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mad/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

23 lines
666 B
Nix

{ 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 ];
};
}