ocamlPackages.lame: init at 0.3.6

This commit is contained in:
Daniel Olsen 2021-10-09 19:51:33 +02:00
parent 866dbd9d42
commit 430b2bc83b
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, buildDunePackage, fetchFromGitHub, pkg-config, dune-configurator, lame }:
buildDunePackage rec {
pname = "lame";
version = "0.3.6";
minimalOCamlVersion = "4.03";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-lame";
rev = "v${version}";
sha256 = "sha256-oRxP1OM0pGdz8CB+ou7kbbrNaB1x9z9KTfciLsivFnI=";
};
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 ];
};
}

View file

@ -688,6 +688,10 @@ let
lambda-term = callPackage ../development/ocaml-modules/lambda-term { };
lame = callPackage ../development/ocaml-modules/lame {
inherit (pkgs) lame;
};
lastfm = callPackage ../development/ocaml-modules/lastfm { };
lens = callPackage ../development/ocaml-modules/lens { };