2022-03-10 19:12:11 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, libogg }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ogg";
|
2022-09-22 12:36:57 +00:00
|
|
|
version = "0.7.3";
|
2022-03-10 19:12:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "savonet";
|
|
|
|
repo = "ocaml-ogg";
|
|
|
|
rev = "v${version}";
|
2022-09-22 12:36:57 +00:00
|
|
|
sha256 = "sha256-D6tLKBSGfWBoMfQrWmamd8jo2AOphJV9xeSm+l06L5c=";
|
2022-03-10 19:12:11 +00:00
|
|
|
};
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
|
2022-03-10 19:12:11 +00:00
|
|
|
buildInputs = [ dune-configurator ];
|
|
|
|
propagatedBuildInputs = [ libogg ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/savonet/ocaml-ogg";
|
|
|
|
description = "Bindings to libogg";
|
|
|
|
license = licenses.lgpl21Only;
|
|
|
|
maintainers = with maintainers; [ dandellion ];
|
|
|
|
};
|
|
|
|
}
|