2014-07-01 05:37:20 +02:00
|
|
|
Name: hnix
|
2018-04-05 22:23:14 +02:00
|
|
|
Version: 0.5.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:
|
2018-03-30 23:08:38 +02:00
|
|
|
Nix
|
2016-01-25 08:00:27 +01:00
|
|
|
Nix.Atoms
|
2018-04-07 20:38:12 +02:00
|
|
|
Nix.Builtins
|
2014-07-01 06:12:18 +02:00
|
|
|
Nix.Eval
|
2018-04-07 20:38:12 +02:00
|
|
|
Nix.Expr
|
|
|
|
Nix.Expr.Types
|
|
|
|
Nix.Expr.Types.Annotated
|
2018-03-30 21:45:23 +02:00
|
|
|
Nix.Lint
|
2018-03-30 23:08:38 +02:00
|
|
|
Nix.Monad
|
|
|
|
Nix.Monad.Instance
|
2014-07-01 05:37:20 +02:00
|
|
|
Nix.Parser
|
2016-01-23 22:46:30 +01:00
|
|
|
Nix.Parser.Operators
|
2018-04-07 20:38:12 +02:00
|
|
|
Nix.Pretty
|
|
|
|
Nix.Scope
|
|
|
|
Nix.Stack
|
2016-01-23 22:46:30 +01:00
|
|
|
Nix.StringOperations
|
2018-04-03 23:21:33 +02:00
|
|
|
Nix.TH
|
2018-04-07 20:38:12 +02:00
|
|
|
Nix.Thunk
|
|
|
|
Nix.Utils
|
|
|
|
Nix.Value
|
|
|
|
Nix.XML
|
2018-03-31 08:00:06 +02:00
|
|
|
Other-modules:
|
2016-01-25 08:00:27 +01:00
|
|
|
Nix.Expr.Shorthands
|
2018-04-07 20:38:12 +02:00
|
|
|
Nix.Parser.Library
|
2014-07-01 05:37:20 +02:00
|
|
|
Build-depends:
|
2016-09-21 11:31:31 +02:00
|
|
|
base >= 4.9 && < 5
|
2018-04-04 02:36:54 +02:00
|
|
|
, aeson
|
2014-07-01 06:12:18 +02:00
|
|
|
, ansi-wl-pprint
|
2018-04-06 19:46:56 +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-03-27 21:34:56 +02:00
|
|
|
, deriving-compat >= 0.3 && < 0.5
|
2014-07-01 06:12:18 +02:00
|
|
|
, text
|
2018-03-31 08:00:06 +02:00
|
|
|
, bytestring
|
2018-04-01 20:16:47 +02:00
|
|
|
, monadlist
|
2018-03-31 23:43:08 +02:00
|
|
|
, mtl
|
2014-07-01 06:12:18 +02:00
|
|
|
, transformers
|
2014-08-15 16:09:10 +02:00
|
|
|
, parsers >= 0.10
|
2018-04-05 22:23:22 +02:00
|
|
|
, insert-ordered-containers >= 0.2.2
|
2018-04-01 00:46:42 +02:00
|
|
|
, 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-03-31 08:00:06 +02:00
|
|
|
, exceptions
|
2018-04-06 00:09:54 +02:00
|
|
|
, insert-ordered-containers >= 0.2.2 && < 0.3
|
2018-03-30 02:23:01 +02:00
|
|
|
, process
|
2018-03-30 10:50:19 +02:00
|
|
|
, directory
|
|
|
|
, filepath
|
2018-04-04 02:36:54 +02:00
|
|
|
, scientific
|
2016-06-25 12:17:18 +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
|
2017-04-21 03:54:06 +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-03 23:21:33 +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)
|
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-04-06 06:10:06 +02:00
|
|
|
ghc-options: -Wall
|
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
|
|
|
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-04-03 23:21:33 +02:00
|
|
|
, template-haskell
|
2018-03-28 23:45:10 +02:00
|
|
|
, transformers
|
2018-03-30 10:50:19 +02:00
|
|
|
, filepath
|
2018-03-31 07:54:05 +02:00
|
|
|
Ghc-options: -Wall
|
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
|
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
|
2018-03-28 23:45:10 +02:00
|
|
|
, transformers
|
2018-03-29 08:51:55 +02:00
|
|
|
, interpolate
|
2018-04-06 00:09:54 +02:00
|
|
|
, insert-ordered-containers
|
2018-03-31 23:43:08 +02:00
|
|
|
, unordered-containers
|
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
|
|
|
|
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
|