2014-04-18 21:18:26 +04:00
Name: cryptol
2016-01-26 23:08:52 +03:00
Version: 2.4.0
2014-04-18 02:34:25 +04:00
Synopsis: Cryptol: The Language of Cryptography
2015-03-10 01:16:53 +03:00
Description: Cryptol is a domain-specific language for specifying cryptographic algorithms. A Cryptol implementation of an algorithm resembles its mathematical specification more closely than an implementation in a general purpose language. For more, see <http://www.cryptol.net/>.
2014-04-18 02:34:25 +04:00
License: BSD3
2015-06-26 23:45:26 +03:00
License-file: LICENSE
2014-04-18 02:34:25 +04:00
Author: Galois, Inc.
Maintainer: cryptol@galois.com
2015-03-10 01:16:53 +03:00
Homepage: http://www.cryptol.net/
Bug-reports: https://github.com/GaloisInc/cryptol/issues
2016-01-19 22:31:37 +03:00
Copyright: 2013-2016 Galois Inc.
2014-04-18 02:34:25 +04:00
Category: Language
2015-03-16 23:18:28 +03:00
Build-type: Simple
2015-06-26 23:45:26 +03:00
Cabal-version: >= 1.18
2016-05-20 22:04:53 +03:00
extra-source-files: bench/data/*.cry
2014-04-18 02:34:25 +04:00
2017-02-17 03:46:38 +03:00
data-files: *.cry Cryptol/*.cry *.z3
2015-01-22 02:03:16 +03:00
data-dir: lib
2014-04-18 02:34:25 +04:00
2015-03-10 01:16:53 +03:00
source-repository head
type: git
location: https://github.com/GaloisInc/cryptol.git
source-repository this
type: git
location: https://github.com/GaloisInc/cryptol.git
2016-01-26 23:08:52 +03:00
tag: 2.4.0
2014-04-18 02:34:25 +04:00
flag static
default: False
description: Create a statically-linked binary
2015-03-04 03:22:14 +03:00
flag relocatable
default: True
description: Don't use the Cabal-provided data directory for looking up Cryptol libraries. This is useful when the data directory can't be known ahead of time, like for a relocatable distribution.
2015-07-08 04:13:34 +03:00
flag server
2015-07-21 21:52:17 +03:00
default: False
2015-07-08 04:13:34 +03:00
description: Build with the ZeroMQ/JSON cryptol-server executable
2014-04-18 02:34:25 +04:00
library
2014-09-15 01:37:37 +04:00
Default-language:
Haskell98
2016-06-07 23:40:15 +03:00
Build-depends: base >= 4.8 && < 5,
2015-12-04 02:36:43 +03:00
base-compat >= 0.6,
2015-12-26 08:39:01 +03:00
bytestring >= 0.10,
2015-12-04 02:36:43 +03:00
array >= 0.4,
async >= 2.0,
containers >= 0.5,
deepseq >= 1.3,
2016-06-07 23:40:15 +03:00
directory >= 1.2.2.0,
2015-12-04 02:36:43 +03:00
filepath >= 1.3,
gitrev >= 1.0,
GraphSCC >= 1.0.4,
heredoc >= 0.2,
monad-control >= 1.0,
monadLib >= 3.7.2,
old-time >= 1.1,
presburger >= 1.3,
pretty >= 1.1,
process >= 1.2,
QuickCheck >= 2.7,
random >= 1.0.1,
2017-01-31 21:04:34 +03:00
sbv >= 5.15,
2015-12-04 02:36:43 +03:00
smtLib >= 1.0.7,
2017-02-17 03:46:38 +03:00
simple-smt >= 0.7.0,
2015-12-04 02:36:43 +03:00
syb >= 0.4,
text >= 1.1,
2015-03-16 23:18:28 +03:00
template-haskell,
2015-12-04 02:36:43 +03:00
tf-random >= 0.5,
transformers >= 0.3,
transformers-base >= 0.4,
utf8-string >= 0.3
2014-04-18 02:34:25 +04:00
Build-tools: alex, happy
2015-01-24 01:22:18 +03:00
hs-source-dirs: src
2014-04-18 02:34:25 +04:00
Exposed-modules: Cryptol.Prims.Syntax,
Cryptol.Prims.Eval,
Cryptol.Parser,
Cryptol.Parser.Lexer,
Cryptol.Parser.AST,
Cryptol.Parser.Position,
Cryptol.Parser.Names,
2015-09-25 00:47:52 +03:00
Cryptol.Parser.Name,
2014-04-18 02:34:25 +04:00
Cryptol.Parser.NoPat,
Cryptol.Parser.NoInclude,
Cryptol.Parser.Utils,
Cryptol.Parser.Unlit,
2015-09-25 00:47:52 +03:00
Cryptol.Utils.Ident,
2014-04-18 02:34:25 +04:00
Cryptol.Utils.PP,
Cryptol.Utils.Panic,
Cryptol.Utils.Debug,
2014-12-05 22:46:09 +03:00
Cryptol.Utils.Misc,
2017-02-09 02:08:50 +03:00
Cryptol.Utils.Patterns,
2014-04-18 02:34:25 +04:00
Cryptol.Version,
Cryptol.ModuleSystem,
Cryptol.ModuleSystem.Base,
Cryptol.ModuleSystem.Env,
Cryptol.ModuleSystem.Interface,
Cryptol.ModuleSystem.Monad,
2015-05-21 23:42:54 +03:00
Cryptol.ModuleSystem.Name,
2014-04-18 02:34:25 +04:00
Cryptol.ModuleSystem.NamingEnv,
Cryptol.ModuleSystem.Renamer,
Cryptol.TypeCheck,
2017-01-31 05:14:10 +03:00
Cryptol.TypeCheck.Type,
2017-02-09 02:08:50 +03:00
Cryptol.TypeCheck.TypePat,
Cryptol.TypeCheck.SimpType,
2014-04-18 02:34:25 +04:00
Cryptol.TypeCheck.AST,
Cryptol.TypeCheck.Monad,
Cryptol.TypeCheck.Infer,
Cryptol.TypeCheck.InferTypes,
Cryptol.TypeCheck.Kind,
Cryptol.TypeCheck.Subst,
Cryptol.TypeCheck.Instantiate,
Cryptol.TypeCheck.Unify,
Cryptol.TypeCheck.Depends,
Cryptol.TypeCheck.PP,
Cryptol.TypeCheck.Solve,
2017-01-31 05:14:10 +03:00
Cryptol.TypeCheck.SimpleSolver,
2014-04-18 02:34:25 +04:00
Cryptol.TypeCheck.TypeMap,
2014-05-10 03:27:07 +04:00
Cryptol.TypeCheck.TypeOf,
2015-05-20 00:25:56 +03:00
Cryptol.TypeCheck.Sanity,
2014-04-18 02:34:25 +04:00
2017-02-01 01:12:53 +03:00
Cryptol.TypeCheck.Solver.Types,
2017-02-17 03:46:38 +03:00
Cryptol.TypeCheck.Solver.SMT,
2014-04-18 02:34:25 +04:00
Cryptol.TypeCheck.Solver.InfNat,
Cryptol.TypeCheck.Solver.Class,
Cryptol.TypeCheck.Solver.Selector,
Cryptol.TypeCheck.Solver.Utils,
2017-01-31 05:14:10 +03:00
Cryptol.TypeCheck.Solver.Numeric,
2017-02-09 02:08:50 +03:00
Cryptol.TypeCheck.Solver.Improve,
2014-12-02 03:28:29 +03:00
Cryptol.TypeCheck.Solver.CrySAT,
Cryptol.TypeCheck.Solver.Numeric.AST,
2014-12-05 22:32:11 +03:00
Cryptol.TypeCheck.Solver.Numeric.ImportExport,
2014-12-02 03:28:29 +03:00
Cryptol.TypeCheck.Solver.Numeric.Defined,
2015-08-15 03:38:41 +03:00
Cryptol.TypeCheck.Solver.Numeric.Fin,
Cryptol.TypeCheck.Solver.Numeric.Interval,
2014-12-02 03:28:29 +03:00
Cryptol.TypeCheck.Solver.Numeric.Simplify,
2015-05-08 23:40:35 +03:00
Cryptol.TypeCheck.Solver.Numeric.SimplifyExpr,
2014-12-02 03:28:29 +03:00
Cryptol.TypeCheck.Solver.Numeric.NonLin,
Cryptol.TypeCheck.Solver.Numeric.SMT,
2014-04-18 02:34:25 +04:00
Cryptol.Transform.MonoValues,
Cryptol.Transform.Specialize,
Cryptol.Eval,
2014-11-04 23:11:24 +03:00
Cryptol.Eval.Arch,
2014-04-18 02:34:25 +04:00
Cryptol.Eval.Env,
2016-05-13 04:44:06 +03:00
Cryptol.Eval.Monad,
2017-02-03 20:02:25 +03:00
Cryptol.Eval.Reference,
2014-04-18 02:34:25 +04:00
Cryptol.Eval.Type,
Cryptol.Eval.Value,
2015-12-23 05:17:20 +03:00
Cryptol.Testing.Concrete,
2014-04-18 02:34:25 +04:00
Cryptol.Testing.Random,
2015-03-03 02:46:21 +03:00
Cryptol.Symbolic,
Cryptol.Symbolic.Prims,
Cryptol.Symbolic.Value,
2014-04-18 02:34:25 +04:00
2015-03-03 02:46:21 +03:00
Cryptol.REPL.Command,
Cryptol.REPL.Monad,
Cryptol.REPL.Trie
2014-04-18 02:34:25 +04:00
2014-08-06 20:49:19 +04:00
Other-modules: Cryptol.Parser.LexerUtils,
Cryptol.Parser.ParserUtils,
2015-03-06 02:14:09 +03:00
Cryptol.Prelude,
2014-04-18 21:28:46 +04:00
Paths_cryptol,
2014-04-18 02:34:25 +04:00
GitRev
2015-02-20 21:51:28 +03:00
GHC-options: -Wall -O2 -fsimpl-tick-factor=140
2016-06-28 00:56:55 +03:00
if impl(ghc >= 8.0.1)
ghc-options: -Wno-redundant-constraints
ghc-prof-options: -fprof-auto
2014-04-18 02:34:25 +04:00
2015-03-04 03:22:14 +03:00
if flag(relocatable)
cpp-options: -DRELOCATABLE
2014-04-18 02:34:25 +04:00
executable cryptol
2014-09-15 01:37:37 +04:00
Default-language:
Haskell98
2014-04-18 02:34:25 +04:00
Main-is: Main.hs
hs-source-dirs: cryptol
Other-modules: OptParser,
REPL.Haskeline,
2015-01-28 22:28:52 +03:00
REPL.Logo,
2014-04-18 21:28:46 +04:00
Paths_cryptol
2015-02-06 04:05:11 +03:00
build-depends: ansi-terminal
, base
2015-10-09 02:54:08 +03:00
, base-compat
2015-02-06 04:05:11 +03:00
, containers
, cryptol
, deepseq
, directory
, filepath
, haskeline
, monadLib
2015-12-04 02:36:43 +03:00
, monad-control
2015-02-06 04:05:11 +03:00
, process
, random
, sbv
, tf-random
, transformers
2016-07-20 23:48:33 +03:00
GHC-options: -Wall -O2 -threaded -rtsopts "-with-rtsopts=-N1 -A64m"
2016-06-28 00:56:55 +03:00
if impl(ghc >= 8.0.1)
ghc-options: -Wno-redundant-constraints
ghc-prof-options: -auto-all -rtsopts
2014-04-18 02:34:25 +04:00
if os(linux) && flag(static)
ld-options: -static -pthread
2015-07-08 04:13:34 +03:00
executable cryptol-server
main-is: Main.hs
hs-source-dirs: cryptol-server
other-modules: Cryptol.Aeson
2015-07-22 19:22:15 +03:00
default-language: Haskell2010
default-extensions: OverloadedStrings
2016-07-20 23:48:33 +03:00
GHC-options: -Wall -O2 -threaded -rtsopts "-with-rtsopts=-N1 -A64m"
2016-06-28 00:56:55 +03:00
if impl(ghc >= 8.0.1)
ghc-options: -Wno-redundant-constraints
ghc-prof-options: -auto-all -rtsopts
2015-07-22 19:22:15 +03:00
if os(linux) && flag(static)
ld-options: -static -pthread
if flag(server)
2015-12-05 02:40:48 +03:00
build-depends: aeson >= 0.10
, aeson-pretty >= 0.7
, base
, base-compat
, bytestring >= 0.10
, containers
, cryptol
, filepath
, monad-control
2016-01-18 22:44:11 +03:00
, optparse-applicative >= 0.12
2015-12-05 02:40:48 +03:00
, text
, transformers
, unix
, unordered-containers >= 0.2
, zeromq4-haskell >= 0.6
2015-07-08 04:13:34 +03:00
else
buildable: False
2015-08-10 21:24:36 +03:00
benchmark cryptol-bench
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
default-language: Haskell2010
2016-07-20 23:48:33 +03:00
GHC-options: -Wall -O2 -threaded -rtsopts "-with-rtsopts=-N1 -A64m"
2016-06-28 00:56:55 +03:00
if impl(ghc >= 8.0.1)
ghc-options: -Wno-redundant-constraints
ghc-prof-options: -auto-all -rtsopts
2015-08-10 21:24:36 +03:00
if os(linux) && flag(static)
ld-options: -static -pthread
build-depends: base
, criterion
, cryptol
2015-08-10 23:52:01 +03:00
, deepseq
2017-03-21 22:31:04 +03:00
, directory
, filepath
2016-05-31 09:07:05 +03:00
, sbv
2015-08-10 21:24:36 +03:00
, text