From 938965e4b5319ca6c1f9dfc30b923236e9921785 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sat, 5 Nov 2022 09:27:06 +0000
Subject: [PATCH] parsers: init at 0.12.11

---
 manifest.dhall   |  1 +
 overlay.nix      |  2 ++
 pkgs/parsers.nix | 59 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 62 insertions(+)
 create mode 100644 pkgs/parsers.nix

diff --git a/manifest.dhall b/manifest.dhall
index 51b7eaad..7d24208f 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -364,6 +364,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "optics-th" "0.4.1"
     , callHackage "optics" "0.4.2"
     , callHackage "optparse-applicative" "0.17.0.0"
+    , callHackage "parsers" "0.12.11"
     , callHackage "pandoc-types" "1.22.2.1"
     , callHackage "pandoc" "2.19.2"
     , callHackage "parallel" "3.2.2.0"
diff --git a/overlay.nix b/overlay.nix
index 06cef18b..c4e4df96 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -457,6 +457,8 @@ final: prev: with pkgs.haskell.lib; {
 
   parallel = prev.callPackage (./pkgs/parallel.nix) { };
 
+  parsers = prev.callPackage (./pkgs/parsers.nix) { };
+
   password = prev.callPackage (./pkgs/password.nix) { };
 
   password-types = prev.callPackage (./pkgs/password-types.nix) { };
diff --git a/pkgs/parsers.nix b/pkgs/parsers.nix
new file mode 100644
index 00000000..650b1d0a
--- /dev/null
+++ b/pkgs/parsers.nix
@@ -0,0 +1,59 @@
+{ mkDerivation
+, attoparsec
+, base
+, base-orphans
+, binary
+, bytestring
+, charset
+, containers
+, lib
+, mtl
+, parsec
+, QuickCheck
+, quickcheck-instances
+, scientific
+, text
+, transformers
+, unordered-containers
+}:
+mkDerivation {
+  pname = "parsers";
+  version = "0.12.11";
+  sha256 = "91ff5067208bb9c618b9d41850c3bcdf76865922813937a7047f040daa3b1319";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    attoparsec
+    base
+    base-orphans
+    binary
+    charset
+    containers
+    mtl
+    parsec
+    scientific
+    text
+    transformers
+    unordered-containers
+  ];
+  testHaskellDepends = [
+    attoparsec
+    base
+    bytestring
+    parsec
+    QuickCheck
+    quickcheck-instances
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://github.com/ekmett/parsers/";
+  description = "Parsing combinators";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab