hnix/hnix.cabal

149 lines
3.0 KiB
Plaintext
Raw Normal View History

Name: hnix
2018-01-22 21:13:30 +01:00
Version: 0.4.0
Synopsis: Haskell implementation of the Nix language
Description:
Haskell implementation of the Nix language.
License: BSD3
License-file: LICENSE
Author: John Wiegley
Maintainer: johnw@newartisans.com
Category: Data, Nix
Build-type: Simple
Cabal-version: >=1.10
Homepage: http://github.com/jwiegley/hnix
2015-07-23 04:03:30 +02:00
Extra-source-files: data/*.nix
Flag Parsec
Description: Use parsec instead of Trifecta
Default: False
Library
Default-language: Haskell2010
Exposed-modules:
Nix.Atoms
Nix.Eval
2018-02-09 15:23:29 +01:00
Nix.Builtins
Nix.Parser
Nix.Expr
Nix.Pretty
2016-01-23 22:46:30 +01:00
Nix.Parser.Operators
Nix.StringOperations
Other-modules:
Nix.Parser.Library
Nix.Expr.Types
Nix.Expr.Types.Annotated
Nix.Expr.Shorthands
Nix.Utils
Default-extensions:
DataKinds
DeriveDataTypeable
DeriveFunctor
DeriveGeneric
FlexibleContexts
FlexibleInstances
GADTs
KindSignatures
LambdaCase
MultiWayIf
OverloadedStrings
PatternGuards
RankNTypes
TupleSections
Build-depends:
2016-09-21 11:31:31 +02:00
base >= 4.9 && < 5
, ansi-wl-pprint
, containers
2018-03-27 21:34:56 +02:00
, deriving-compat >= 0.3 && < 0.5
, text
, transformers
, parsers >= 0.10
, unordered-containers
, data-fix
, deepseq
2016-06-25 12:17:18 +02:00
, semigroups >= 0.18 && < 0.19
, regex-tdfa
, regex-tdfa-text
2018-03-28 03:42:31 +02:00
, these
if flag(parsec)
Cpp-options: -DUSE_PARSEC
Build-depends: parsec
else
Build-depends: trifecta
2018-03-28 03:42:31 +02:00
ghc-options: -Wall -fno-warn-name-shadowing -threaded
Executable hnix
Default-language: Haskell2010
Main-is: Main.hs
Hs-source-dirs: main
Default-extensions:
DataKinds
DeriveDataTypeable
DeriveFunctor
DeriveGeneric
FlexibleContexts
FlexibleInstances
GADTs
KindSignatures
LambdaCase
MultiWayIf
OverloadedStrings
PatternGuards
RankNTypes
TupleSections
Build-depends:
base >= 4.3 && < 5
, hnix
, containers
, ansi-wl-pprint
, data-fix
, deepseq
, optparse-applicative
, text
2018-03-28 03:42:31 +02:00
Ghc-options: -Wall -threaded
Test-suite hnix-tests
Type: exitcode-stdio-1.0
Hs-source-dirs: tests
Default-language: Haskell2010
Main-is: Main.hs
2018-03-28 03:42:31 +02:00
Ghc-options: -threaded
Other-modules:
ParserTests
2016-10-18 01:59:52 +02:00
EvalTests
PrettyTests
2018-02-09 15:32:53 +01:00
NixLanguageTests
Build-depends:
2014-08-03 14:17:43 +02:00
base >= 4.3 && < 5
, containers
, text
, data-fix
2014-08-03 14:17:43 +02:00
, hnix
, tasty
, tasty-th
, tasty-hunit
2018-02-09 15:32:53 +01:00
, directory
, Glob
, filepath
, split
2014-08-03 14:17:43 +02:00
Benchmark hnix-benchmarks
Type: exitcode-stdio-1.0
Hs-source-dirs: benchmarks
Default-language: Haskell2010
Main-is: Main.hs
2018-03-28 03:42:31 +02:00
Ghc-options: -threaded
Other-modules:
ParserBench
Build-depends:
base >= 4.3 && < 5
, containers
, text
, hnix
, criterion
source-repository head
type: git
location: git://github.com/jwiegley/hnix.git