diff options
author | Daniel Olsen <daniel.olsen99@gmail.com> | 2021-10-09 19:51:33 +0200 |
---|---|---|
committer | Daniel Olsen <daniel.olsen99@gmail.com> | 2022-06-08 15:21:28 +0200 |
commit | f34e9c30025fb1300a25e53c2c9aa794ad377af4 (patch) | |
tree | 1de4fbe95f9676db6fa6b9a32a882207f44ff44e /pkgs | |
parent | 430b2bc83b3c67526f134fc06afc977dffb061a4 (diff) |
ocamlPackages.frei0r: init at 0.1.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/frei0r/default.nix | 24 | ||||
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/frei0r/default.nix b/pkgs/development/ocaml-modules/frei0r/default.nix new file mode 100644 index 0000000000000..4f4a64d220a45 --- /dev/null +++ b/pkgs/development/ocaml-modules/frei0r/default.nix @@ -0,0 +1,24 @@ +{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, frei0r }: + +buildDunePackage rec { + pname = "frei0r"; + version = "0.1.2"; + + src = fetchFromGitHub { + owner = "savonet"; + repo = "ocaml-frei0r"; + rev = "v${version}"; + sha256 = "sha256-eh/ymZO/3a1z6uvZdnXgma/7AU2NBVs2lddA+R/kuQA="; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ dune-configurator ]; + propagatedBuildInputs = [ frei0r ]; + + meta = with lib; { + homepage = "https://github.com/savonet/ocaml-frei0r"; + description = "Bindings for the frei0r API which provides video effects"; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ dandellion ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 3c507c1fdf988..e7908de5ec9fa 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -464,6 +464,10 @@ let fpath = callPackage ../development/ocaml-modules/fpath { }; + frei0r = callPackage ../development/ocaml-modules/frei0r { + inherit (pkgs) frei0r; + }; + functoria = callPackage ../development/ocaml-modules/functoria { }; functoria-runtime = callPackage ../development/ocaml-modules/functoria/runtime.nix { }; |