2014-07-01 05:37:20 +02:00
|
|
|
Name: hnix
|
2018-01-22 21:13:30 +01:00
|
|
|
Version: 0.4.0
|
2014-07-01 05:37:20 +02:00
|
|
|
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
|
2014-07-01 06:12:18 +02:00
|
|
|
Cabal-version: >=1.10
|
2014-07-01 05:37:20 +02:00
|
|
|
Homepage: http://github.com/jwiegley/hnix
|
|
|
|
|
2015-07-23 04:03:30 +02:00
|
|
|
Extra-source-files: data/*.nix
|
|
|
|
|
2014-07-01 06:12:18 +02:00
|
|
|
Flag Parsec
|
|
|
|
Description: Use parsec instead of Trifecta
|
|
|
|
Default: False
|
|
|
|
|
2014-07-01 05:37:20 +02:00
|
|
|
Library
|
2014-08-15 16:09:10 +02:00
|
|
|
Default-language: Haskell2010
|
2014-07-01 05:37:20 +02:00
|
|
|
Exposed-modules:
|
2016-01-25 08:00:27 +01:00
|
|
|
Nix.Atoms
|
2014-07-01 06:12:18 +02:00
|
|
|
Nix.Eval
|
2018-02-09 15:23:29 +01:00
|
|
|
Nix.Builtins
|
2014-07-01 05:37:20 +02:00
|
|
|
Nix.Parser
|
2016-01-23 22:20:33 +01:00
|
|
|
Nix.Expr
|
2014-08-19 18:51:13 +02:00
|
|
|
Nix.Pretty
|
2016-01-23 22:46:30 +01:00
|
|
|
Nix.Parser.Operators
|
|
|
|
Nix.StringOperations
|
2014-07-01 06:12:18 +02:00
|
|
|
Other-modules:
|
2014-07-01 06:29:06 +02:00
|
|
|
Nix.Parser.Library
|
2016-01-25 08:00:27 +01:00
|
|
|
Nix.Expr.Types
|
2016-06-25 12:38:31 +02:00
|
|
|
Nix.Expr.Types.Annotated
|
2016-01-25 08:00:27 +01:00
|
|
|
Nix.Expr.Shorthands
|
2018-03-28 07:32:43 +02:00
|
|
|
Nix.Utils
|
2014-08-15 16:09:10 +02:00
|
|
|
Default-extensions:
|
2014-07-01 05:37:20 +02:00
|
|
|
DataKinds
|
|
|
|
DeriveDataTypeable
|
2014-07-01 08:12:28 +02:00
|
|
|
DeriveFunctor
|
2014-07-01 05:37:20 +02:00
|
|
|
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
|
2014-07-01 06:12:18 +02:00
|
|
|
, ansi-wl-pprint
|
|
|
|
, containers
|
2018-03-27 21:34:56 +02:00
|
|
|
, deriving-compat >= 0.3 && < 0.5
|
2014-07-01 06:12:18 +02:00
|
|
|
, text
|
|
|
|
, transformers
|
2014-08-15 16:09:10 +02:00
|
|
|
, parsers >= 0.10
|
|
|
|
, unordered-containers
|
2014-09-27 20:11:17 +02:00
|
|
|
, data-fix
|
2016-01-23 22:20:33 +01:00
|
|
|
, deepseq
|
2016-06-25 12:17:18 +02:00
|
|
|
, semigroups >= 0.18 && < 0.19
|
2017-04-21 03:54:06 +02:00
|
|
|
, regex-tdfa
|
|
|
|
, regex-tdfa-text
|
2018-03-28 03:42:31 +02:00
|
|
|
, these
|
2014-07-01 06:12:18 +02:00
|
|
|
if flag(parsec)
|
2014-08-15 16:09:10 +02:00
|
|
|
Cpp-options: -DUSE_PARSEC
|
|
|
|
Build-depends: parsec
|
2014-07-01 06:12:18 +02:00
|
|
|
else
|
2014-08-15 16:09:10 +02:00
|
|
|
Build-depends: trifecta
|
2018-03-28 03:42:31 +02:00
|
|
|
ghc-options: -Wall -fno-warn-name-shadowing -threaded
|
2014-07-01 06:12:18 +02:00
|
|
|
|
2014-08-15 16:09:10 +02:00
|
|
|
Executable hnix
|
|
|
|
Default-language: Haskell2010
|
2015-06-23 23:53:07 +02:00
|
|
|
Main-is: Main.hs
|
2014-08-19 18:48:55 +02:00
|
|
|
Hs-source-dirs: main
|
2014-08-15 16:09:10 +02:00
|
|
|
Default-extensions:
|
2014-07-01 06:12:18 +02:00
|
|
|
DataKinds
|
|
|
|
DeriveDataTypeable
|
2014-07-01 08:12:28 +02:00
|
|
|
DeriveFunctor
|
2014-07-01 06:12:18 +02:00
|
|
|
DeriveGeneric
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
GADTs
|
|
|
|
KindSignatures
|
|
|
|
LambdaCase
|
|
|
|
MultiWayIf
|
|
|
|
OverloadedStrings
|
|
|
|
PatternGuards
|
|
|
|
RankNTypes
|
|
|
|
TupleSections
|
2014-08-15 16:09:10 +02:00
|
|
|
Build-depends:
|
2014-07-01 06:12:18 +02:00
|
|
|
base >= 4.3 && < 5
|
|
|
|
, hnix
|
2014-07-01 05:37:20 +02:00
|
|
|
, containers
|
2014-08-19 18:48:55 +02:00
|
|
|
, ansi-wl-pprint
|
2014-09-27 20:11:17 +02:00
|
|
|
, data-fix
|
2016-01-23 22:20:33 +01:00
|
|
|
, deepseq
|
2018-03-28 06:59:27 +02:00
|
|
|
, optparse-applicative
|
|
|
|
, text
|
2018-03-28 03:42:31 +02:00
|
|
|
Ghc-options: -Wall -threaded
|
2014-07-01 05:37:20 +02:00
|
|
|
|
2014-08-15 16:09:10 +02:00
|
|
|
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
|
2014-08-27 23:54:31 +02:00
|
|
|
Other-modules:
|
|
|
|
ParserTests
|
2016-10-18 01:59:52 +02:00
|
|
|
EvalTests
|
2017-05-31 13:24:43 +02:00
|
|
|
PrettyTests
|
2018-02-09 15:32:53 +01:00
|
|
|
NixLanguageTests
|
2014-08-15 16:09:10 +02:00
|
|
|
Build-depends:
|
2014-08-03 14:17:43 +02:00
|
|
|
base >= 4.3 && < 5
|
|
|
|
, containers
|
2014-08-05 21:23:28 +02:00
|
|
|
, text
|
2014-09-27 20:11:17 +02:00
|
|
|
, 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
|
|
|
|
2014-08-28 00:02:56 +02:00
|
|
|
Benchmark hnix-benchmarks
|
2014-08-27 23:54:31 +02:00
|
|
|
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
|
2014-08-27 23:54:31 +02:00
|
|
|
Other-modules:
|
|
|
|
ParserBench
|
|
|
|
Build-depends:
|
|
|
|
base >= 4.3 && < 5
|
|
|
|
, containers
|
|
|
|
, text
|
|
|
|
, hnix
|
|
|
|
, criterion
|
|
|
|
|
2014-07-01 05:37:20 +02:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://github.com/jwiegley/hnix.git
|