From 4684c405d68528b75239ad76ed433b50497d11ba Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Fri, 16 Dec 2022 10:33:04 +0000
Subject: [PATCH] shh: init at 0.7.2.0

---
 horizon.dhall        |  1 +
 initial-packages.nix |  2 ++
 pkgs/shh.nix         | 81 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 84 insertions(+)
 create mode 100644 pkgs/shh.nix

diff --git a/horizon.dhall b/horizon.dhall
index cc65ac85..999b2cb6 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -722,6 +722,7 @@ in  H.HorizonExport.MakePackageSet
           , H.callHackage "shakespeare" "2.0.30"
           , H.callHackage "shake" "0.19.6"
           , H.callHackage "shelly" "1.10.0"
+          , H.callHackage "shh" "0.7.2.0"
           , H.callHackage "should-not-typecheck" "2.1.0"
           , H.callHackage "silently" "1.2.5.3"
           , H.callHackage "simple-reflect" "0.3.3"
diff --git a/initial-packages.nix b/initial-packages.nix
index f2b46183..143c5670 100644
--- a/initial-packages.nix
+++ b/initial-packages.nix
@@ -1145,6 +1145,8 @@ self: with pkgs.haskell.lib; {
 
   shelly = self.callPackage (./pkgs/shelly.nix) { };
 
+  shh = self.callPackage (./pkgs/shh.nix) { };
+
   should-not-typecheck = self.callPackage (./pkgs/should-not-typecheck.nix) { };
 
   silently = self.callPackage (./pkgs/silently.nix) { };
diff --git a/pkgs/shh.nix b/pkgs/shh.nix
new file mode 100644
index 00000000..84adf2b3
--- /dev/null
+++ b/pkgs/shh.nix
@@ -0,0 +1,81 @@
+{ mkDerivation
+, async
+, base
+, bytestring
+, containers
+, deepseq
+, directory
+, doctest
+, filepath
+, lib
+, markdown-unlit
+, mtl
+, process
+, split
+, stringsearch
+, tasty
+, tasty-hunit
+, tasty-quickcheck
+, template-haskell
+, temporary
+, unix
+, utf8-string
+}:
+mkDerivation {
+  pname = "shh";
+  version = "0.7.2.0";
+  sha256 = "9e04100e43696cd6457c7d9e93eae313e5a9176c36b6108f7d70f3d6efdc9265";
+  revision = "1";
+  editedCabalFile = "054bjhpkni3nr6zsilj77gdgb2yw5s1gzm257zz4kigpjjjndr0a";
+  isLibrary = true;
+  isExecutable = true;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    async
+    base
+    bytestring
+    containers
+    deepseq
+    directory
+    filepath
+    mtl
+    process
+    split
+    stringsearch
+    template-haskell
+    unix
+    utf8-string
+  ];
+  executableHaskellDepends = [
+    async
+    base
+    bytestring
+    deepseq
+    directory
+    temporary
+    unix
+  ];
+  testHaskellDepends = [
+    async
+    base
+    bytestring
+    directory
+    doctest
+    filepath
+    tasty
+    tasty-hunit
+    tasty-quickcheck
+    utf8-string
+  ];
+  testToolDepends = [ markdown-unlit ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  description = "Simple shell scripting from Haskell";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab