hnix/hnix.cabal

123 lines
2.4 KiB
Plaintext
Raw Normal View History

Name: hnix
2015-07-20 22:59:19 +02:00
Version: 0.2.1
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
Flag Parsec
Description: Use parsec instead of Trifecta
Default: False
2015-07-20 22:59:19 +02:00
Extra-source-files: data/*
Library
Default-language: Haskell2010
Exposed-modules:
Nix.Eval
Nix.Parser
Nix.Types
Nix.Pretty
Other-modules:
Nix.Parser.Library
Default-extensions:
DataKinds
DeriveDataTypeable
DeriveFunctor
DeriveGeneric
FlexibleContexts
FlexibleInstances
GADTs
KindSignatures
LambdaCase
MultiWayIf
OverloadedStrings
PatternGuards
RankNTypes
TupleSections
Build-depends:
base >= 4.6 && < 5
, ansi-wl-pprint
, containers
, text
, transformers
, parsers >= 0.10
, unordered-containers
, data-fix
if flag(parsec)
Cpp-options: -DUSE_PARSEC
Build-depends: parsec
else
Build-depends: trifecta
ghc-options: -Wall
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
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
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
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