From c669f71a90dc46c0251eacfdae13d762e55ead59 Mon Sep 17 00:00:00 2001 From: all-cabal-tool Date: Wed, 21 Nov 2018 14:46:02 +0000 Subject: [PATCH] Update from Hackage at 2018-11-21T14:41:46Z --- shakespeare/2.0.20/shakespeare.cabal | 144 +++++++++++++++++++++++++++ shakespeare/2.0.20/shakespeare.json | 1 + 2 files changed, 145 insertions(+) create mode 100644 shakespeare/2.0.20/shakespeare.cabal create mode 100644 shakespeare/2.0.20/shakespeare.json diff --git a/shakespeare/2.0.20/shakespeare.cabal b/shakespeare/2.0.20/shakespeare.cabal new file mode 100644 index 00000000000..d3246a36cfd --- /dev/null +++ b/shakespeare/2.0.20/shakespeare.cabal @@ -0,0 +1,144 @@ +name: shakespeare +version: 2.0.20 +license: MIT +license-file: LICENSE +author: Michael Snoyman +maintainer: Michael Snoyman +synopsis: A toolkit for making compile-time interpolated templates +description: + Shakespeare is a family of type-safe, efficient template languages. Shakespeare templates are expanded at compile-time, ensuring that all interpolated variables are in scope. Variables are interpolated according to their type through a typeclass. + . + Shakespeare templates can be used inline with a quasi-quoter or in an external file. + . + Note there is no dependency on haskell-src-extras. Instead Shakespeare believes logic should stay out of templates and has its own minimal Haskell parser. + . + Packages that use this: xml-hamlet + . + Please see the documentation at for more details. + +category: Web, Yesod +stability: Stable +cabal-version: >= 1.8 +build-type: Simple +homepage: http://www.yesodweb.com/book/shakespearean-templates +extra-source-files: + test/reload.txt + test/texts/*.text + test/juliuses/*.julius + test/juliuses/*.coffee + test-messages/*.msg + test/cassiuses/*.cassius + test/cassiuses/*.lucius + test/hamlets/*.hamlet + test/tmp.hs + ChangeLog.md + +library + build-depends: base >= 4.9 && < 5 + , time >= 1 + , containers + , template-haskell >= 2.7 + , parsec >= 2 && < 4 + , text >= 0.7 + , process >= 1.0 + , ghc-prim + , bytestring + , directory >= 1.2 + , aeson + , blaze-markup + , blaze-html + , exceptions + , transformers + , vector + , unordered-containers + , scientific >= 0.3.0.0 + + exposed-modules: Text.Shakespeare.I18N + Text.Shakespeare.Text + Text.Roy + Text.Julius + Text.Coffee + Text.Hamlet + Text.Hamlet.RT + Text.Hamlet.Runtime + Text.Lucius + Text.Cassius + Text.Shakespeare.Base + Text.Shakespeare + Text.TypeScript + Text.Internal.Css + Text.Internal.CssCommon + other-modules: Text.Hamlet.Parse + Text.MkSizeType + Text.IndentToBrace + + ghc-options: -Wall + + if flag(test_export) + cpp-options: -DTEST_EXPORT + + if os(windows) + CPP-Options: "-DWINDOWS" + + if flag(test_coffee) + cpp-options: -DTEST_COFFEE + + if flag(test_roy) + cpp-options: -DTEST_ROY + + if flag(test_export) + cpp-options: -DTEST_EXPORT + +Flag test_export + default: False + +flag test_coffee + description: render tests through coffeescript render function + -- cabal configure --enable-tests -ftest_coffee && cabal build && dist/build/test/test + default: False + +flag test_roy + description: render tests through roy render function + -- cabal configure --enable-tests -ftest_roy && cabal build && dist/build/test/test + default: False + +test-suite test + hs-source-dirs: test + main-is: Spec.hs + other-modules: Text.Shakespeare.BaseSpec + Text.Shakespeare.I18NSpec + Text.Shakespeare.TextSpec + Text.CssSpec + Text.HamletSpec + Text.JuliusSpec + Quoter + HamletTestTypes + + cpp-options: -DTEST_EXPORT + + type: exitcode-stdio-1.0 + + ghc-options: -Wall + build-depends: base >= 4.9 && < 5 + , shakespeare + , time >= 1 + , containers + , parsec >= 2 && < 4 + , hspec == 2.* + , text >= 0.7 + , process + , template-haskell >= 2.7 + , ghc-prim + , HUnit + , bytestring + , directory + , aeson + , transformers + , blaze-markup + , blaze-html + , exceptions + + +source-repository head + type: git + location: https://github.com/yesodweb/shakespeare.git diff --git a/shakespeare/2.0.20/shakespeare.json b/shakespeare/2.0.20/shakespeare.json new file mode 100644 index 00000000000..ce6068d971d --- /dev/null +++ b/shakespeare/2.0.20/shakespeare.json @@ -0,0 +1 @@ +{"package-hashes":{"MD5":"f2952f95f8c1e23e907ec560cca0081f","Skein512_512":"a59bc6771dc78fe13a3be5fd1aef7dded111b32ba6c9a8e5b17a42625574e26c93551306f5aeb7374f84898ebc7afb68fda3218dd3bd57bb9b11fb7b10892320","SHA1":"0a590b651e2f1882961b7b0489f40abbd7fba3b4","SHA512":"68b40809e007b193af3a1c48e742c6bd22ac0ec9ab97921c8b4ed5ae6fe01a4e8206ad7a37cbf9ec8fb1b1a2edafed5aa58d93d9d2eddffa6d0d01a0ad512a21","SHA256":"f50ebff8e585851a1e3af36885d6a6d1218b19dcde1d7459f02272d6925d9e03"},"package-locations":["https://hackage.haskell.org/package/shakespeare-2.0.20/shakespeare-2.0.20.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/shakespeare-2.0.20.tar.gz"],"package-size":65695} \ No newline at end of file