From 4da9e32ab20df4175aa905c136a7c0cb73deee3d Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 7 Nov 2022 18:28:29 +0000
Subject: [PATCH] options: init at 1.2.1.1

---
 manifest.dhall   |  1 +
 overlay.nix      |  2 ++
 pkgs/options.nix | 37 +++++++++++++++++++++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 100644 pkgs/options.nix

diff --git a/manifest.dhall b/manifest.dhall
index 0475f66c..64c8e93e 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -538,6 +538,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "optics-extra" "0.4.2.1"
     , callHackage "optics-th" "0.4.1"
     , callHackage "optics" "0.4.2"
+    , callHackage "options" "1.2.1.1"
     , callHackage "optparse-applicative" "0.17.0.0"
     , callHackage "ordered-containers" "0.2.3"
     , callHackage "pandoc-lua-marshal" "0.1.7"
diff --git a/overlay.nix b/overlay.nix
index 30b69af2..929f7456 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -817,6 +817,8 @@ self: with pkgs.haskell.lib; {
 
   optics-th = self.callPackage (./pkgs/optics-th.nix) { };
 
+  options = self.callPackage (./pkgs/options.nix) { };
+
   optparse-applicative = self.callPackage (./pkgs/optparse-applicative.nix) { };
 
   ordered-containers = self.callPackage (./pkgs/ordered-containers.nix) { };
diff --git a/pkgs/options.nix b/pkgs/options.nix
new file mode 100644
index 00000000..7048aa4e
--- /dev/null
+++ b/pkgs/options.nix
@@ -0,0 +1,37 @@
+{ mkDerivation
+, base
+, chell
+, chell-quickcheck
+, containers
+, lib
+, monads-tf
+, transformers
+}:
+mkDerivation {
+  pname = "options";
+  version = "1.2.1.1";
+  sha256 = "283eea9ae2c539830c6c65f5c03fb00626cfd1274da0526c285c146fc3065a62";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [ base containers monads-tf transformers ];
+  testHaskellDepends = [
+    base
+    chell
+    chell-quickcheck
+    containers
+    monads-tf
+    transformers
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://john-millikin.com/software/haskell-options/";
+  description = "A powerful and easy-to-use command-line option parser";
+  license = lib.licenses.mit;
+  broken = false;
+}
-- 
GitLab