diff --git a/manifest.dhall b/manifest.dhall index 6728e8a61e8b1bd305de6d7285f7be45aad0a7e0..c4db7358f17b3237ec38871934b23c99c4398c3e 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -548,6 +548,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "safe-coloured-text" "0.2.0.1" , callHackage "safe-exceptions" "0.1.7.3" , callHackage "saltine" "0.2.0.1" + , callHackage "sandwich" "0.1.1.2" , callHackage "scotty" "0.12" , callHackage "scientific" "0.3.7.0" , callHackage "sdl2" "2.5.3.3" diff --git a/overlay.nix b/overlay.nix index b535f38f726f379c6e2e4f3f21751abfaff1085e..f85e3efff2b479d619e71932bfbf5424dac53f3c 100644 --- a/overlay.nix +++ b/overlay.nix @@ -821,6 +821,8 @@ self: with pkgs.haskell.lib; { saltine = self.callPackage (./pkgs/saltine.nix) { }; + sandwich = self.callPackage (./pkgs/sandwich.nix) { }; + scientific = self.callPackage (./pkgs/scientific.nix) { }; scotty = self.callPackage (./pkgs/scotty.nix) { }; diff --git a/pkgs/sandwich.nix b/pkgs/sandwich.nix new file mode 100644 index 0000000000000000000000000000000000000000..02628cf2eea200bf5c6d1b033bd1d7d7523bf2cc --- /dev/null +++ b/pkgs/sandwich.nix @@ -0,0 +1,168 @@ +{ mkDerivation +, aeson +, ansi-terminal +, async +, base +, brick +, bytestring +, colour +, containers +, directory +, exceptions +, filepath +, free +, haskell-src-exts +, lib +, lifted-async +, microlens +, microlens-th +, monad-control +, monad-logger +, mtl +, optparse-applicative +, pretty-show +, process +, safe +, safe-exceptions +, stm +, string-interpolate +, template-haskell +, text +, time +, transformers +, transformers-base +, unix +, unliftio-core +, vector +, vty +}: +mkDerivation { + pname = "sandwich"; + version = "0.1.1.2"; + sha256 = "b8b1dd82e8cc776ce35bba22d4285fe2ad50fb512f7555703f00f7b782608aba"; + isLibrary = true; + isExecutable = true; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + aeson + ansi-terminal + async + base + brick + bytestring + colour + containers + directory + exceptions + filepath + free + haskell-src-exts + lifted-async + microlens + microlens-th + monad-control + monad-logger + mtl + optparse-applicative + pretty-show + process + safe + safe-exceptions + stm + string-interpolate + template-haskell + text + time + transformers + transformers-base + unix + unliftio-core + vector + vty + ]; + executableHaskellDepends = [ + aeson + ansi-terminal + async + base + brick + bytestring + colour + containers + directory + exceptions + filepath + free + haskell-src-exts + lifted-async + microlens + microlens-th + monad-control + monad-logger + mtl + optparse-applicative + pretty-show + process + safe + safe-exceptions + stm + string-interpolate + template-haskell + text + time + transformers + transformers-base + unix + unliftio-core + vector + vty + ]; + testHaskellDepends = [ + aeson + ansi-terminal + async + base + brick + bytestring + colour + containers + directory + exceptions + filepath + free + haskell-src-exts + lifted-async + microlens + microlens-th + monad-control + monad-logger + mtl + optparse-applicative + pretty-show + process + safe + safe-exceptions + stm + string-interpolate + template-haskell + text + time + transformers + transformers-base + unix + unliftio-core + vector + vty + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://codedownio.github.io/sandwich"; + description = "Yet another test framework for Haskell"; + license = lib.licenses.bsd3; + broken = false; +}