diff --git a/pkgs/development/ocaml-modules/sodium/default.nix b/pkgs/development/ocaml-modules/sodium/default.nix deleted file mode 100644 index 089caac7ac3d..000000000000 --- a/pkgs/development/ocaml-modules/sodium/default.nix +++ /dev/null @@ -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"; - }; -} diff --git a/pkgs/development/ocaml-modules/sodium/lib-gen-link-bigarray.patch b/pkgs/development/ocaml-modules/sodium/lib-gen-link-bigarray.patch deleted file mode 100644 index f05f53320975..000000000000 --- a/pkgs/development/ocaml-modules/sodium/lib-gen-link-bigarray.patch +++ /dev/null @@ -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) diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 0b7da03ab0a3..afd6eefd8e99 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -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 {