Undo changes to hnix.cabal

This commit is contained in:
John Wiegley 2018-04-07 15:08:48 -07:00
parent 196c6fc1b8
commit deb592b11d
1 changed files with 160 additions and 126 deletions

View File

@ -1,155 +1,189 @@
Name: hnix
Version: 0.5.0
Synopsis: Haskell implementation of the Nix language
Description:
Haskell implementation of the Nix language.
-- This file has been generated from package.yaml by hpack version 0.27.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 429fc2370bb078161c283b1238eb797ca1c03c46e4c1a2f68ac80937a901bb79
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
name: hnix
version: 0.5.0
synopsis: Haskell implementation of the Nix language
description: Haskell implementation of the Nix language.
category: System, Data, Nix
homepage: https://github.com/jwiegley/hnix#readme
bug-reports: https://github.com/jwiegley/hnix/issues
author: John Wiegley
maintainer: johnw@newartisans.com
license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
Extra-source-files: data/*.nix
extra-source-files:
README.md
Flag Parsec
Description: Use parsec instead of Trifecta
Default: False
source-repository head
type: git
location: https://github.com/jwiegley/hnix
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
flag parsec
description: Use parsec instead of Trifecta
manual: True
default: False
library
exposed-modules:
Nix
Nix.Atoms
Nix.Builtins
Nix.Eval
Nix.Expr
Nix.Expr.Shorthands
Nix.Expr.Types
Nix.Expr.Types.Annotated
Nix.Lint
Nix.Monad
Nix.Monad.Instance
Nix.Parser
Nix.Parser.Library
Nix.Parser.Operators
Nix.Pretty
Nix.Scope
Nix.Stack
Nix.StringOperations
Nix.TH
Nix.Thunk
Nix.Utils
Nix.Value
Nix.XML
other-modules:
Paths_hnix
hs-source-dirs:
src
ghc-options: -Wall
build-depends:
aeson
, ansi-wl-pprint
, array >= 0.4 && < 0.6
, array >=0.4 && <0.6
, base >=4.9 && <5
, base16-bytestring
, bytestring
, containers
, cryptohash
, 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
, data-fix
, deepseq
, exceptions
, insert-ordered-containers >= 0.2.2 && < 0.3
, process
, deriving-compat >=0.3 && <0.5
, directory
, exceptions
, filepath
, scientific
, semigroups >= 0.18 && < 0.19
, split
, template-haskell
, insert-ordered-containers >=0.2.2 && <0.3
, monadlist
, mtl
, parsers >=0.10
, process
, regex-tdfa
, regex-tdfa-text
, these
, unix
, scientific
, semigroups >=0.18 && <0.19
, split
, syb
, template-haskell
, text
, these
, transformers
, unix
, unordered-containers >=0.2.9 && <0.3
, vector
, xml
if flag(parsec)
Cpp-options: -DUSE_PARSEC
Build-depends: parsec
cpp-options: -DUSE_PARSEC
build-depends:
parsec
else
Build-depends: trifecta
ghc-options: -Wall
build-depends:
trifecta
default-language: Haskell2010
Executable hnix
Default-language: Haskell2010
Main-is: Main.hs
Hs-source-dirs: main
Build-depends:
base >= 4.3 && < 5
, hnix
executable hnix
main-is: Main.hs
other-modules:
Paths_hnix
hs-source-dirs:
main
ghc-options: -Wall
build-depends:
ansi-wl-pprint
, base >=4.9 && <5
, 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:
TestCommon
ParserTests
EvalTests
PrettyTests
NixLanguageTests
Build-depends:
base >= 4.3 && < 5
, containers
, text
, data-fix
, exceptions
, hnix
, tasty
, tasty-th
, tasty-hunit
, directory
, Glob
, insert-ordered-containers >=0.2.2 && <0.3
, mtl
, optparse-applicative
, template-haskell
, text
, transformers
, unordered-containers >=0.2.9 && <0.3
default-language: Haskell2010
test-suite hnix-tests
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
EvalTests
NixLanguageTests
ParserTests
PrettyTests
Paths_hnix
hs-source-dirs:
tests
ghc-options: -Wall
build-depends:
Glob
, ansi-wl-pprint
, base >=4.9 && <5
, containers
, data-fix
, exceptions
, filepath
, hnix
, insert-ordered-containers >=0.2.2 && <0.3
, interpolate
, mtl
, process
, split
, transformers
, interpolate
, insert-ordered-containers
, unix
, unordered-containers
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
, tasty
, tasty-hunit
, tasty-th
, template-haskell
, text
, hnix
, criterion
, transformers
, unix
, unordered-containers >=0.2.9 && <0.3
default-language: Haskell2010
source-repository head
type: git
location: git://github.com/jwiegley/hnix.git
benchmark hnix-benchmarks
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
ParserBench
Paths_hnix
hs-source-dirs:
benchmarks
ghc-options: -Wall
build-depends:
ansi-wl-pprint
, base >=4.9 && <5
, containers
, criterion
, data-fix
, exceptions
, hnix
, insert-ordered-containers >=0.2.2 && <0.3
, mtl
, template-haskell
, text
, transformers
, unordered-containers >=0.2.9 && <0.3
default-language: Haskell2010