nixpkgs/pkgs/development/ocaml-modules/lame/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
733 B
Nix
Raw Normal View History

2021-10-09 17:51:33 +00:00
{ lib, buildDunePackage, fetchFromGitHub, pkg-config, dune-configurator, lame }:
buildDunePackage rec {
pname = "lame";
2023-08-31 17:33:09 +00:00
version = "0.3.7";
2021-10-09 17:51:33 +00:00
minimalOCamlVersion = "4.06";
2021-10-09 17:51:33 +00:00
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-lame";
rev = "v${version}";
2023-08-31 17:33:09 +00:00
sha256 = "sha256-/ZzoGFQQrBf17TaBPSFDQ1yHaQnva56YLmscOacrKBI=";
2021-10-09 17:51:33 +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 ];
};
}