hnix/hnix.cabal

154 lines
3.0 KiB
Plaintext
Raw Normal View History

Name: hnix
2018-04-05 22:23:14 +02:00
Version: 0.5.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
Nix.Atoms
Nix.Builtins
Nix.Eval
Nix.Expr
Nix.Expr.Types
Nix.Expr.Types.Annotated
Nix.Lint
Nix.Monad
Nix.Monad.Instance
Nix.Parser
2016-01-23 22:46:30 +01:00
Nix.Parser.Operators
Nix.Pretty
Nix.Scope
Nix.Stack
2016-01-23 22:46:30 +01:00
Nix.StringOperations
Nix.TH
Nix.Thunk
Nix.Utils
Nix.Value
Nix.XML
Other-modules:
Nix.Expr.Shorthands
Nix.Parser.Library
Build-depends:
2016-09-21 11:31:31 +02:00
base >= 4.9 && < 5
, aeson
, ansi-wl-pprint
, array >= 0.4 && < 0.6
2018-04-02 03:20:53 +02:00
, base16-bytestring
, containers
2018-04-02 03:20:53 +02:00
, cryptohash
2018-03-27 21:34:56 +02:00
, deriving-compat >= 0.3 && < 0.5
, text
, bytestring
2018-04-01 20:16:47 +02:00
, monadlist
, mtl
, transformers
, parsers >= 0.10
, insert-ordered-containers >= 0.2.2
, unordered-containers >= 0.2.9 && < 0.3
, data-fix
, deepseq
, exceptions
, insert-ordered-containers >= 0.2.2 && < 0.3
, process
, directory
, filepath
, scientific
2016-06-25 12:17:18 +02:00
, semigroups >= 0.18 && < 0.19
, split
, template-haskell
, regex-tdfa
, regex-tdfa-text
2018-03-28 03:42:31 +02:00
, these
2018-04-02 04:16:55 +02:00
, unix
, syb
, vector
, xml
if flag(parsec)
Cpp-options: -DUSE_PARSEC
Build-depends: parsec
else
Build-depends: trifecta
2018-04-06 06:10:06 +02:00
ghc-options: -Wall
Executable hnix
Default-language: Haskell2010
Main-is: Main.hs
Hs-source-dirs: main
Build-depends:
base >= 4.3 && < 5
, hnix
, containers
, ansi-wl-pprint
, data-fix
, deepseq
, optparse-applicative
, text
, template-haskell
, transformers
, filepath
Ghc-options: -Wall
Test-suite hnix-tests
Type: exitcode-stdio-1.0
Hs-source-dirs: tests
Default-language: Haskell2010
Main-is: Main.hs
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
, transformers
, interpolate
, insert-ordered-containers
, unordered-containers
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
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