Skip to content

Commit

Permalink
ocamlPackages.otfed: init at 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Jan 2, 2024
1 parent 3cb442f commit c58d90c
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
46 changes: 46 additions & 0 deletions pkgs/development/ocaml-modules/otfed/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{ lib
, buildDunePackage
, fetchFromGitHub
, base
, ppx_deriving
, ppx_inline_test
, uutf
, alcotest
}:

buildDunePackage rec {
pname = "otfed";
version = "0.3.1";

minimalOCamlVersion = "4.08";

src = fetchFromGitHub {
owner = "gfngfn";
repo = pname;
rev = version;
hash = "sha256-6QCom9nrz0B5vCmuBzqsM0zCs8tBLJC6peig+vCgMVA=";
};

buildInputs = [
uutf
];

propagatedBuildInputs = [
base
ppx_deriving
ppx_inline_test
];

checkInputs = [
alcotest
];

doCheck = true;

meta = {
homepage = "https://github.com/gfngfn/otfed";
description = "OpenType Font Format Encoder & Decoder";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,8 @@ let

oseq = callPackage ../development/ocaml-modules/oseq { };

otfed = callPackage ../development/ocaml-modules/otfed { };

otfm = callPackage ../development/ocaml-modules/otfm { };

otoml = callPackage ../development/ocaml-modules/otoml { };
Expand Down

0 comments on commit c58d90c

Please sign in to comment.