diff --git a/manifest.dhall b/manifest.dhall index 0475f66c3906ce7daff51366feafed65aa61e4a6..64c8e93e695b41a14b750cd40af810b22a771442 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 30b69af287fc7a519e30c6fd5261cb7f0ff97d95..929f745624a98f8d4cb0916c6899ba983146fa7c 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 0000000000000000000000000000000000000000..7048aa4eb51a953e689364cb9860412e8998d3fb --- /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; +}