Files
2026-05-12 13:36:42 -05:00

34 lines
765 B
Nix

{
lib,
buildDunePackage,
fetchFromGitHub,
pkg-config,
dune-configurator,
lame,
}:
buildDunePackage (finalAttrs: {
pname = "lame";
version = "0.3.7";
minimalOCamlVersion = "4.06";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-lame";
rev = "v${finalAttrs.version}";
sha256 = "sha256-/ZzoGFQQrBf17TaBPSFDQ1yHaQnva56YLmscOacrKBI=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ lame ];
meta = {
homepage = "https://github.com/savonet/ocaml-lame";
description = "Bindings for the lame library which provides functions for encoding mp3 files";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ dandellion ];
};
})