diff options
author | Daniel Olsen <daniel.olsen99@gmail.com> | 2021-10-30 22:21:37 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2022-03-09 15:43:12 +0100 |
commit | d20608b489ef8fcf48d9c80603e0810dc8bad547 (patch) | |
tree | 04b9d009031ef5cabfb2c2eed0f4a97440ddddf3 /pkgs/development | |
parent | bfdbfc1eb7e99cfd54eff90fc7fa0f8413f5e4bd (diff) | |
download | nixlib-d20608b489ef8fcf48d9c80603e0810dc8bad547.tar nixlib-d20608b489ef8fcf48d9c80603e0810dc8bad547.tar.gz nixlib-d20608b489ef8fcf48d9c80603e0810dc8bad547.tar.bz2 nixlib-d20608b489ef8fcf48d9c80603e0810dc8bad547.tar.lz nixlib-d20608b489ef8fcf48d9c80603e0810dc8bad547.tar.xz nixlib-d20608b489ef8fcf48d9c80603e0810dc8bad547.tar.zst nixlib-d20608b489ef8fcf48d9c80603e0810dc8bad547.zip |
ocamlPackages.theora: init at 0.4.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/ocaml-modules/theora/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/theora/default.nix b/pkgs/development/ocaml-modules/theora/default.nix new file mode 100644 index 000000000000..0f7b4aca1c79 --- /dev/null +++ b/pkgs/development/ocaml-modules/theora/default.nix @@ -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 ]; + }; +} |