From b2b02f3026e2e44760d933af10525154c4799bae Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Mon, 18 Apr 2022 18:29:49 -0300 Subject: [PATCH] ocamlPackages.rebez: init unstable-2019-06-20 --- .../ocaml-modules/rebez/default.nix | 22 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/ocaml-modules/rebez/default.nix diff --git a/pkgs/development/ocaml-modules/rebez/default.nix b/pkgs/development/ocaml-modules/rebez/default.nix new file mode 100644 index 000000000000..b82c2ba74827 --- /dev/null +++ b/pkgs/development/ocaml-modules/rebez/default.nix @@ -0,0 +1,22 @@ +{ buildDunePackage, fetchFromGitHub, lib, reason }: + +buildDunePackage rec { + pname = "rebez"; + version = "unstable-2019-06-20"; + + src = fetchFromGitHub { + owner = "jchavarri"; + repo = "rebez"; + rev = "03fa3b707abb28fdd710eb9e57ba40d9cd6ae163"; + sha256 = "sha256-khZSwtwW+mP/EvAvIZMQyOb6FgNR+gmzpBZoD9ZPkpY="; + }; + + nativeBuildInputs = [ reason ]; + + meta = with lib; { + description = "Cubic bezier implementation in Reason / OCaml"; + homepage = "https://github.com/jchavarri/rebez/"; + maintainers = with maintainers; [ superherointj ]; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 9998cc59c408..68ffcdcec776 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1260,6 +1260,8 @@ let reason-native = lib.recurseIntoAttrs (callPackage ../development/ocaml-modules/reason-native { }); + rebez = callPackage ../development/ocaml-modules/rebez { }; + rfc7748 = callPackage ../development/ocaml-modules/rfc7748 { }; ezresto = callPackage ../development/ocaml-modules/resto/ezresto.nix { };