From 474b267068a949b5d645e294f809d31745e37c5d Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 15:02:40 +0000
Subject: [PATCH] libsodium: remove

---
 manifest.dhall     |  1 -
 overlay.nix        |  2 --
 pkgs/libsodium.nix | 41 -----------------------------------------
 3 files changed, 44 deletions(-)
 delete mode 100644 pkgs/libsodium.nix

diff --git a/manifest.dhall b/manifest.dhall
index b26ec45a..7dd8fa30 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -367,7 +367,6 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "lens" "5.2"
     , callHackage "lens-aeson" "1.2.1"
     , callHackage "lens-family-th" "0.5.2.1"
-    , callHackage "libsodium" "1.0.18.2"
     , callHackage "libyaml" "0.1.2"
     , callHackage "lifted-async" "0.10.2.1"
     , callHackage "lifted-base" "0.2.3.12"
diff --git a/overlay.nix b/overlay.nix
index 42507b24..f56c1d9e 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -471,8 +471,6 @@ final: prev: with pkgs.haskell.lib; {
 
   lens-family-th = prev.callPackage (./pkgs/lens-family-th.nix) { };
 
-  libsodium = prev.callPackage (./pkgs/libsodium.nix) { };
-
   libyaml = prev.callPackage (./pkgs/libyaml.nix) { };
 
   lifted-async = prev.callPackage (./pkgs/lifted-async.nix) { };
diff --git a/pkgs/libsodium.nix b/pkgs/libsodium.nix
deleted file mode 100644
index 6ea1dc54..00000000
--- a/pkgs/libsodium.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-{ mkDerivation
-, base
-, c2hs
-, hedgehog
-, lib
-, libsodium
-, tasty
-, tasty-hedgehog
-, tasty-hunit
-}:
-mkDerivation {
-  pname = "libsodium";
-  version = "1.0.18.2";
-  sha256 = "9cc7620f019993b04019df6a2563831beee2eb93b45431fad728c63be7312108";
-  isLibrary = true;
-  isExecutable = false;
-  enableSeparateDataOutput = false;
-  libraryHaskellDepends = [ base ];
-  libraryPkgconfigDepends = [ libsodium ];
-  libraryToolDepends = [ c2hs ];
-  testHaskellDepends = [
-    base
-    hedgehog
-    tasty
-    tasty-hedgehog
-    tasty-hunit
-  ];
-  testPkgconfigDepends = [ libsodium ];
-  testToolDepends = [ c2hs ];
-  enableLibraryProfiling = false;
-  enableExecutableProfiling = false;
-  doHaddock = false;
-  jailbreak = true;
-  doCheck = false;
-  doBenchmark = false;
-  hyperlinkSource = false;
-  homepage = "https://github.com/k0001/hs-libsodium";
-  description = "Low-level bindings to the libsodium C library";
-  license = lib.licenses.isc;
-  broken = false;
-}
-- 
GitLab