2022-06-16 17:23:12 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, pkg-config, dune-configurator, lame }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "lame";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.3.7";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
minimalOCamlVersion = "4.06";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "savonet";
|
|
|
|
repo = "ocaml-lame";
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-/ZzoGFQQrBf17TaBPSFDQ1yHaQnva56YLmscOacrKBI=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
|
|
propagatedBuildInputs = [ lame ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/savonet/ocaml-lame";
|
|
|
|
description = "Bindings for the lame library which provides functions for encoding mp3 files";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ dandellion ];
|
|
|
|
};
|
|
|
|
}
|