From 174c0a086e60e3ea2ac21077200145e054eda0c8 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 9 Oct 2021 14:52:08 +0200 Subject: [PATCH] ocamlPackages.cry: init at 0.6.5 --- .../development/ocaml-modules/cry/default.nix | 20 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/ocaml-modules/cry/default.nix diff --git a/pkgs/development/ocaml-modules/cry/default.nix b/pkgs/development/ocaml-modules/cry/default.nix new file mode 100644 index 000000000000..510c8fd0e282 --- /dev/null +++ b/pkgs/development/ocaml-modules/cry/default.nix @@ -0,0 +1,20 @@ +{ lib, buildDunePackage, fetchFromGitHub }: + +buildDunePackage rec { + pname = "cry"; + version = "0.6.5"; + + src = fetchFromGitHub { + owner = "savonet"; + repo = "ocaml-cry"; + rev = version; + sha256 = "1g4smccj27sv8pb9az5hbzxi99swg3d55mp7j25lz30xyabvksc3"; + }; + + meta = with lib; { + homepage = "https://github.com/savonet/ocaml-cry"; + description = "OCaml client for the various icecast & shoutcast source protocols"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ dandellion ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 053af5e6677b..f3e207fb8293 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -239,6 +239,8 @@ let crunch = callPackage ../development/tools/ocaml/crunch { }; + cry = callPackage ../development/ocaml-modules/cry { }; + cryptokit = callPackage ../development/ocaml-modules/cryptokit { }; csexp = callPackage ../development/ocaml-modules/csexp { };