ocamlPackages.sodium: drop (#516523)

This commit is contained in:
Vincent Laporte
2026-05-07 16:20:17 +00:00
committed by GitHub
3 changed files with 0 additions and 60 deletions
@@ -1,51 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
ocaml,
findlib,
ocamlbuild,
ctypes,
libsodium,
}:
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-sodium";
version = "0.6.0";
src = fetchFromGitHub {
owner = "dsheets";
repo = "ocaml-sodium";
rev = version;
sha256 = "124gpi1jhac46x05gp5viykyrafnlp03v1cmkl13c6pgcs8w04pv";
};
patches = [
# ctypes.stubs no longer pulls in bigarray automatically
./lib-gen-link-bigarray.patch
];
nativeBuildInputs = [
ocaml
findlib
ocamlbuild
];
propagatedBuildInputs = [
ctypes
libsodium
];
strictDeps = true;
createFindlibDestdir = true;
hardeningDisable = lib.optional stdenv.hostPlatform.isDarwin "strictoverflow";
meta = {
homepage = "https://github.com/dsheets/ocaml-sodium";
description = "Binding to libsodium 1.0.9+";
inherit (ocaml.meta) platforms;
maintainers = [ lib.maintainers.rixed ];
broken = lib.versionAtLeast ocaml.version "5.0";
};
}
@@ -1,7 +0,0 @@
diff --git a/lib_gen/_tags b/lib_gen/_tags
index 7a7e632..7a4e0b7 100644
--- a/lib_gen/_tags
+++ b/lib_gen/_tags
@@ -1 +1 @@
-<*.{ml,byte,native}>: package(ctypes.stubs)
+<*.{ml,byte,native}>: package(ctypes.stubs), package(bigarray)
-2
View File
@@ -2029,8 +2029,6 @@ let
mdx = mdx.override { inherit logs; };
};
sodium = callPackage ../development/ocaml-modules/sodium { };
sosa = callPackage ../development/ocaml-modules/sosa { };
soundtouch = callPackage ../development/ocaml-modules/soundtouch {