From 55942e1161ec2be1b2ad081f6b732d2bd6cfa0a9 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 28 Nov 2022 13:39:47 +0000
Subject: [PATCH] hw-aeson: init at 0.1.8.0

---
 horizon.dhall     |  1 +
 overlay.nix       |  2 ++
 pkgs/hw-aeson.nix | 56 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)
 create mode 100644 pkgs/hw-aeson.nix

diff --git a/horizon.dhall b/horizon.dhall
index 8e39733..a859536 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -181,6 +181,7 @@ let otherLibraries =
       , H.callHackage "hedgehog-quickcheck" "0.1.1"
       , H.callHackage "heredoc" "0.2.0.0"
       , H.callHackage "hex-text" "0.1.0.7"
+      , H.callHackage "hw-aeson" "0.1.8.0"
       , H.callHackage "hxt" "9.3.1.22"
       , H.callHackage "hxt-charproperties" "9.5.0.0"
       , H.callHackage "hxt-regex-xmlschema" "9.2.0.7"
diff --git a/overlay.nix b/overlay.nix
index 3405834..7160867 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -127,6 +127,8 @@ final: prev: with pkgs.haskell.lib; {
 
   hex-text = final.callPackage (./pkgs/hex-text.nix) { };
 
+  hw-aeson = final.callPackage (./pkgs/hw-aeson.nix) { };
+
   hxt = final.callPackage (./pkgs/hxt.nix) { };
 
   hxt-charproperties = final.callPackage (./pkgs/hxt-charproperties.nix) { };
diff --git a/pkgs/hw-aeson.nix b/pkgs/hw-aeson.nix
new file mode 100644
index 0000000..fe08b28
--- /dev/null
+++ b/pkgs/hw-aeson.nix
@@ -0,0 +1,56 @@
+{ mkDerivation
+, aeson
+, base
+, bytestring
+, containers
+, doctest
+, doctest-discover
+, hashable
+, hedgehog
+, hspec
+, hspec-discover
+, lib
+, text
+, text-short
+, unordered-containers
+}:
+mkDerivation {
+  pname = "hw-aeson";
+  version = "0.1.8.0";
+  sha256 = "a20a8e21a2bf49fb33cefd09ab0fd521757280ab15603e837d9b5188df6d07f4";
+  revision = "2";
+  editedCabalFile = "04vjq54xc354scgzgf863px9fadvw4dr6kgli9rp4plw3sh4k3qg";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    aeson
+    base
+    bytestring
+    containers
+    hashable
+    text
+    text-short
+    unordered-containers
+  ];
+  testHaskellDepends = [
+    aeson
+    base
+    doctest
+    doctest-discover
+    hedgehog
+    hspec
+  ];
+  testToolDepends = [ doctest-discover hspec-discover ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/haskell-works/hw-aeson#readme";
+  description = "Convenience functions for Aeson";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab