ocamlPackages.theora: init at 0.4.0

This commit is contained in:
Daniel Olsen 2021-10-30 22:21:37 +02:00 committed by Vincent Laporte
parent bfdbfc1eb7
commit d20608b489
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, ogg, libtheora }:
buildDunePackage rec {
pname = "theora";
version = "0.4.0";
useDune2 = true;
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-theora";
rev = "v${version}";
sha256 = "1sggjmlrx4idkih1ddfk98cgpasq60haj4ykyqbfs22cmii5gpal";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ ogg libtheora ];
meta = with lib; {
homepage = "https://github.com/savonet/ocaml-theora";
description = "Bindings to libtheora";
license = licenses.gpl2Only;
maintainers = with maintainers; [ dandellion ];
};
}

View file

@ -1384,6 +1384,8 @@ let
tezos-version = callPackage ../development/ocaml-modules/tezos/version.nix { };
tezos-workers = callPackage ../development/ocaml-modules/tezos/workers.nix { };
theora = callPackage ../development/ocaml-modules/theora { };
toml = callPackage ../development/ocaml-modules/toml { };
topkg = callPackage ../development/ocaml-modules/topkg { };