2018-04-07 00:20:21 +02:00
|
|
|
Name: hnix
|
|
|
|
Version: 0.5.0
|
|
|
|
Synopsis: Haskell implementation of the Nix language
|
|
|
|
Description:
|
|
|
|
Haskell implementation of the Nix language.
|
2014-07-01 05:37:20 +02:00
|
|
|
|
2018-04-07 00:20:21 +02:00
|
|
|
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
|
2014-07-01 05:37:20 +02:00
|
|
|
|
2018-04-07 00:20:21 +02:00
|
|
|
Extra-source-files: data/*.nix
|
2015-07-23 04:03:30 +02:00
|
|
|
|
2018-04-07 00:20:21 +02:00
|
|
|
Flag Parsec
|
|
|
|
Description: Use parsec instead of Trifecta
|
|
|
|
Default: False
|
2014-07-01 06:12:18 +02:00
|
|
|
|
2018-04-07 00:20:21 +02:00
|
|
|
Library
|
|
|
|
Default-language: Haskell2010
|
|
|
|
Exposed-modules:
|
|
|
|
Nix
|
|
|
|
Nix.Atoms
|
|
|
|
Nix.Scope
|
|
|
|
Nix.Stack
|
|
|
|
Nix.Eval
|
|
|
|
Nix.XML
|
|
|
|
Nix.Thunk
|
|
|
|
Nix.Lint
|
|
|
|
Nix.Monad
|
|
|
|
Nix.Monad.Instance
|
|
|
|
Nix.Builtins
|
|
|
|
Nix.Parser
|
|
|
|
Nix.Expr
|
|
|
|
Nix.Pretty
|
|
|
|
Nix.Parser.Operators
|
|
|
|
Nix.StringOperations
|
|
|
|
Nix.TH
|
|
|
|
Nix.Expr.Types
|
|
|
|
Nix.Expr.Types.Annotated
|
|
|
|
Other-modules:
|
|
|
|
Nix.Parser.Library
|
|
|
|
Nix.Expr.Shorthands
|
|
|
|
Nix.Utils
|
|
|
|
Build-depends:
|
|
|
|
base >= 4.9 && < 5
|
|
|
|
, aeson
|
2014-07-01 06:12:18 +02:00
|
|
|
, ansi-wl-pprint
|
2018-04-07 00:20:21 +02:00
|
|
|
, array >= 0.4 && < 0.6
|
2018-04-02 03:20:53 +02:00
|
|
|
, base16-bytestring
|
2014-07-01 06:12:18 +02:00
|
|
|
, containers
|
2018-04-02 03:20:53 +02:00
|
|
|
, cryptohash
|
2018-04-07 00:20:21 +02:00
|
|
|
, deriving-compat >= 0.3 && < 0.5
|
|
|
|
, text
|
|
|
|
, bytestring
|
|
|
|
, monadlist
|
|
|
|
, mtl
|
|
|
|
, transformers
|
|
|
|
, parsers >= 0.10
|
|
|
|
, insert-ordered-containers >= 0.2.2
|
|
|
|
, unordered-containers >= 0.2.9 && < 0.3
|
2014-09-27 20:11:17 +02:00
|
|
|
, data-fix
|
2016-01-23 22:20:33 +01:00
|
|
|
, deepseq
|
2018-04-07 23:33:15 +02:00
|
|
|
, exceptions
|
2018-04-07 00:20:21 +02:00
|
|
|
, insert-ordered-containers >= 0.2.2 && < 0.3
|
2018-04-07 21:02:33 +02:00
|
|
|
, process
|
2018-04-07 00:20:21 +02:00
|
|
|
, directory
|
|
|
|
, filepath
|
2018-04-04 02:36:54 +02:00
|
|
|
, scientific
|
2018-04-07 00:20:21 +02:00
|
|
|
, semigroups >= 0.18 && < 0.19
|
2018-04-01 01:53:35 +02:00
|
|
|
, split
|
2018-04-03 23:21:33 +02:00
|
|
|
, template-haskell
|
2018-04-07 00:20:21 +02:00
|
|
|
, regex-tdfa
|
|
|
|
, regex-tdfa-text
|
2018-03-28 03:42:31 +02:00
|
|
|
, these
|
2018-04-02 04:16:55 +02:00
|
|
|
, unix
|
2018-04-07 00:20:21 +02:00
|
|
|
, syb
|
2018-04-04 02:36:54 +02:00
|
|
|
, vector
|
2018-04-05 10:13:13 +02:00
|
|
|
, xml
|
2014-07-01 06:12:18 +02:00
|
|
|
if flag(parsec)
|
2018-04-07 00:20:21 +02:00
|
|
|
Cpp-options: -DUSE_PARSEC
|
|
|
|
Build-depends: parsec
|
2014-07-01 06:12:18 +02:00
|
|
|
else
|
2018-04-07 00:20:21 +02:00
|
|
|
Build-depends: trifecta
|
2018-04-07 21:02:33 +02:00
|
|
|
ghc-options: -Wall
|
2018-04-07 00:20:21 +02:00
|
|
|
|
|
|
|
Executable hnix
|
|
|
|
Default-language: Haskell2010
|
|
|
|
Main-is: Main.hs
|
|
|
|
Hs-source-dirs: main
|
|
|
|
Build-depends:
|
|
|
|
base >= 4.3 && < 5
|
|
|
|
, hnix
|
2014-07-01 05:37:20 +02:00
|
|
|
, containers
|
2018-04-07 00:20:21 +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
|
2018-04-07 21:02:33 +02:00
|
|
|
, text
|
2018-04-07 00:20:21 +02:00
|
|
|
, template-haskell
|
2018-03-28 23:45:10 +02:00
|
|
|
, transformers
|
2018-04-07 00:20:21 +02:00
|
|
|
, filepath
|
|
|
|
Ghc-options: -Wall
|
2014-07-01 05:37:20 +02:00
|
|
|
|
2018-04-07 00:20:21 +02:00
|
|
|
Test-suite hnix-tests
|
|
|
|
Type: exitcode-stdio-1.0
|
|
|
|
Hs-source-dirs: tests
|
|
|
|
Default-language: Haskell2010
|
|
|
|
Main-is: Main.hs
|
|
|
|
Other-modules:
|
|
|
|
TestCommon
|
|
|
|
ParserTests
|
|
|
|
EvalTests
|
|
|
|
PrettyTests
|
|
|
|
NixLanguageTests
|
|
|
|
Build-depends:
|
|
|
|
base >= 4.3 && < 5
|
2014-08-03 14:17:43 +02:00
|
|
|
, containers
|
2018-04-07 00:20:21 +02:00
|
|
|
, text
|
2014-09-27 20:11:17 +02:00
|
|
|
, data-fix
|
2014-08-03 14:17:43 +02:00
|
|
|
, hnix
|
|
|
|
, tasty
|
2018-04-07 21:02:33 +02:00
|
|
|
, tasty-th
|
2018-04-07 00:20:21 +02:00
|
|
|
, tasty-hunit
|
|
|
|
, directory
|
|
|
|
, Glob
|
|
|
|
, filepath
|
|
|
|
, process
|
|
|
|
, split
|
2018-03-28 23:45:10 +02:00
|
|
|
, transformers
|
2018-04-07 00:20:21 +02:00
|
|
|
, interpolate
|
|
|
|
, insert-ordered-containers
|
2018-04-07 21:02:33 +02:00
|
|
|
, unix
|
2018-04-07 00:20:21 +02:00
|
|
|
, unordered-containers
|
2014-08-03 14:17:43 +02:00
|
|
|
|
2018-04-07 00:20:21 +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
|
2014-08-27 23:54:31 +02:00
|
|
|
, containers
|
2018-04-07 21:02:33 +02:00
|
|
|
, text
|
2018-04-07 00:20:21 +02:00
|
|
|
, hnix
|
|
|
|
, criterion
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://github.com/jwiegley/hnix.git
|