seihou-cli-0.5.0.0: src/Seihou/CLI/SchemaVersion.hs
module Seihou.CLI.SchemaVersion
( schemaUrl,
schemaHash,
schemaImportLine,
)
where
import Data.Text (Text)
-- | Raw URL for the seihou-schema package.dhall at a pinned commit
schemaUrl :: Text
schemaUrl = "https://raw.githubusercontent.com/shinzui/seihou-schema/2dffa0592be47835a60784b89a289226ba990aa8/package.dhall"
-- | SHA256 integrity hash for the schema import
schemaHash :: Text
schemaHash = "sha256:01b6f873520459f3958baa34d3f97a49a4263b9a7225a758cddca5ab3a911f61"
-- | Complete Dhall import line for use in generated modules
schemaImportLine :: Text
schemaImportLine =
"let S =\n "
<> schemaUrl
<> "\n "
<> schemaHash