hnix/hnix.cabal

584 lines
20 KiB
Plaintext
Raw Normal View History

2018-04-08 00:08:48 +02:00
name: hnix
cabal, CHANGELOG: 0.10.1 release, unifying the changelog * "Misc" use was disputed, moving back to use of the "Additional" category. * Using a (link) pattern for URLs, reasons being: * Including the markup into the outlines or hyperlinks considered a bad practice and should be used carefully. * The human cause: The reason for the changelog is so people read through it and get the info. Hyperlinks make text colored. Studies of readability have shown that people perceive the information of a brightly colored text much more poorly than the text of regular coloring. And delivering the meaning is what changelog text is for, so the informative text should be regularly colored. * The technical cause - the Hackage does not parse the markup inside the hyperlinks: https://hackage.haskell.org/package/hnix-0.10.0/changelog Probably because of the reason *1, but Hackage reason alone is enough. * Since people perceive and think about the read information mostly linearly and in the FIFO manner, `(link)` is put before information text, so links are placed in the same space and look more uniform upon reading. And upon reading the "link" context gets pushed first from the FIFO mind buffer and the further understanding the text the person is not distracted by sudden reading (taking-in) of the colored word "link" in the end of the semantically challenging text that is required to be understood. * Dependency requirements of last major versions made literal. * Link to `(diff)` made more obvious. While professionals tend to look for the link to the full diff, diff under version number is ambiguous to where the version number link leads, it can be for example: a GitHub release (where different forms of packages are provided), diff, commit listing (as it was before the current change), official forum post, official news... etc. * Made `(diff)` link to point directly towards the diff.
2020-09-13 14:54:33 +02:00
version: 0.10.1
2018-04-08 00:08:48 +02:00
synopsis: Haskell implementation of the Nix language
description: Haskell implementation of the Nix language.
category: System, Data, Nix
homepage: https://github.com/haskell-nix/hnix#readme
bug-reports: https://github.com/haskell-nix/hnix/issues
2018-04-08 00:08:48 +02:00
author: John Wiegley
maintainer: johnw@newartisans.com
license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
2018-04-08 00:08:48 +02:00
extra-source-files:
data/nix/corepkgs/buildenv.nix
data/nix/corepkgs/derivation.nix
data/nix/tests/lang/binary-data
data/nix/tests/lang/data
data/nix/tests/lang/dir1/a.nix
data/nix/tests/lang/dir2/a.nix
data/nix/tests/lang/dir2/b.nix
data/nix/tests/lang/dir3/a.nix
data/nix/tests/lang/dir3/b.nix
data/nix/tests/lang/dir3/c.nix
data/nix/tests/lang/dir4/a.nix
data/nix/tests/lang/dir4/c.nix
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-fail-abort.nix
data/nix/tests/lang/eval-fail-antiquoted-path.nix
data/nix/tests/lang/eval-fail-assert.nix
data/nix/tests/lang/eval-fail-bad-antiquote-1.nix
data/nix/tests/lang/eval-fail-bad-antiquote-2.nix
data/nix/tests/lang/eval-fail-bad-antiquote-3.nix
data/nix/tests/lang/eval-fail-blackhole.nix
data/nix/tests/lang/eval-fail-deepseq.nix
data/nix/tests/lang/eval-fail-hashfile-missing.nix
data/nix/tests/lang/eval-fail-missing-arg.nix
data/nix/tests/lang/eval-fail-path-slash.nix
data/nix/tests/lang/eval-fail-remove.nix
data/nix/tests/lang/eval-fail-scope-5.nix
data/nix/tests/lang/eval-fail-seq.nix
data/nix/tests/lang/eval-fail-substring.nix
data/nix/tests/lang/eval-fail-to-path.nix
data/nix/tests/lang/eval-fail-undeclared-arg.nix
data/nix/tests/lang/eval-okay-any-all.exp
data/nix/tests/lang/eval-okay-any-all.nix
data/nix/tests/lang/eval-okay-arithmetic.exp
data/nix/tests/lang/eval-okay-arithmetic.nix
data/nix/tests/lang/eval-okay-attrnames.exp
data/nix/tests/lang/eval-okay-attrnames.nix
data/nix/tests/lang/eval-okay-attrs2.exp
data/nix/tests/lang/eval-okay-attrs2.nix
data/nix/tests/lang/eval-okay-attrs3.exp
data/nix/tests/lang/eval-okay-attrs3.nix
data/nix/tests/lang/eval-okay-attrs4.exp
data/nix/tests/lang/eval-okay-attrs4.nix
data/nix/tests/lang/eval-okay-attrs5.exp
data/nix/tests/lang/eval-okay-attrs5.nix
data/nix/tests/lang/eval-okay-attrs.exp
data/nix/tests/lang/eval-okay-attrs.nix
data/nix/tests/lang/eval-okay-autoargs.exp
data/nix/tests/lang/eval-okay-autoargs.flags
data/nix/tests/lang/eval-okay-autoargs.nix
data/nix/tests/lang/eval-okay-backslash-newline-1.exp
data/nix/tests/lang/eval-okay-backslash-newline-1.nix
data/nix/tests/lang/eval-okay-backslash-newline-2.exp
data/nix/tests/lang/eval-okay-backslash-newline-2.nix
data/nix/tests/lang/eval-okay-builtins-add.exp
data/nix/tests/lang/eval-okay-builtins-add.nix
data/nix/tests/lang/eval-okay-builtins.exp
data/nix/tests/lang/eval-okay-builtins.nix
data/nix/tests/lang/eval-okay-callable-attrs.exp
data/nix/tests/lang/eval-okay-callable-attrs.nix
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-catattrs.exp
data/nix/tests/lang/eval-okay-catattrs.nix
data/nix/tests/lang/eval-okay-closure.exp.xml
data/nix/tests/lang/eval-okay-closure.nix
data/nix/tests/lang/eval-okay-comments.exp
data/nix/tests/lang/eval-okay-comments.nix
data/nix/tests/lang/eval-okay-concat.exp
data/nix/tests/lang/eval-okay-concatmap.exp
data/nix/tests/lang/eval-okay-concatmap.nix
data/nix/tests/lang/eval-okay-concat.nix
data/nix/tests/lang/eval-okay-concatstringssep.exp
data/nix/tests/lang/eval-okay-concatstringssep.nix
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-context.exp
data/nix/tests/lang/eval-okay-context-introspection.exp
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-context-introspection.nix
data/nix/tests/lang/eval-okay-context.nix
data/nix/tests/lang/eval-okay-curpos.exp
data/nix/tests/lang/eval-okay-curpos.nix
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-deepseq.exp
data/nix/tests/lang/eval-okay-deepseq.nix
data/nix/tests/lang/eval-okay-delayed-with.exp
data/nix/tests/lang/eval-okay-delayed-with-inherit.exp
data/nix/tests/lang/eval-okay-delayed-with-inherit.nix
data/nix/tests/lang/eval-okay-delayed-with.nix
data/nix/tests/lang/eval-okay-dynamic-attrs-2.exp
data/nix/tests/lang/eval-okay-dynamic-attrs-2.nix
data/nix/tests/lang/eval-okay-dynamic-attrs-bare.exp
data/nix/tests/lang/eval-okay-dynamic-attrs-bare.nix
data/nix/tests/lang/eval-okay-dynamic-attrs.exp
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-dynamic-attrs.nix
data/nix/tests/lang/eval-okay-elem.exp
data/nix/tests/lang/eval-okay-elem.nix
data/nix/tests/lang/eval-okay-empty-args.exp
data/nix/tests/lang/eval-okay-empty-args.nix
data/nix/tests/lang/eval-okay-eq-derivations.exp
data/nix/tests/lang/eval-okay-eq-derivations.nix
data/nix/tests/lang/eval-okay-eq.exp.disabled
data/nix/tests/lang/eval-okay-eq.nix
data/nix/tests/lang/eval-okay-filter.exp
data/nix/tests/lang/eval-okay-filter.nix
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-flatten.exp
data/nix/tests/lang/eval-okay-flatten.nix
data/nix/tests/lang/eval-okay-float.exp
data/nix/tests/lang/eval-okay-float.nix
data/nix/tests/lang/eval-okay-fromjson.exp
data/nix/tests/lang/eval-okay-fromjson.nix
data/nix/tests/lang/eval-okay-fromTOML.exp
data/nix/tests/lang/eval-okay-fromTOML.nix
data/nix/tests/lang/eval-okay-functionargs.exp.xml
data/nix/tests/lang/eval-okay-functionargs.nix
data/nix/tests/lang/eval-okay-getattrpos.exp
data/nix/tests/lang/eval-okay-getattrpos.nix
data/nix/tests/lang/eval-okay-getattrpos-undefined.exp
data/nix/tests/lang/eval-okay-getattrpos-undefined.nix
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-getenv.exp
data/nix/tests/lang/eval-okay-getenv.nix
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-hash.exp
data/nix/tests/lang/eval-okay-hashfile.exp
data/nix/tests/lang/eval-okay-hashfile.nix
data/nix/tests/lang/eval-okay-hashstring.exp
data/nix/tests/lang/eval-okay-hashstring.nix
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-if.exp
data/nix/tests/lang/eval-okay-if.nix
data/nix/tests/lang/eval-okay-import.exp
data/nix/tests/lang/eval-okay-import.nix
data/nix/tests/lang/eval-okay-ind-string.exp
data/nix/tests/lang/eval-okay-ind-string.nix
data/nix/tests/lang/eval-okay-let.exp
data/nix/tests/lang/eval-okay-let.nix
data/nix/tests/lang/eval-okay-list.exp
data/nix/tests/lang/eval-okay-list.nix
data/nix/tests/lang/eval-okay-listtoattrs.exp
data/nix/tests/lang/eval-okay-listtoattrs.nix
data/nix/tests/lang/eval-okay-logic.exp
data/nix/tests/lang/eval-okay-logic.nix
data/nix/tests/lang/eval-okay-mapattrs.exp
data/nix/tests/lang/eval-okay-mapattrs.nix
data/nix/tests/lang/eval-okay-map.exp
data/nix/tests/lang/eval-okay-map.nix
data/nix/tests/lang/eval-okay-nested-with.exp
data/nix/tests/lang/eval-okay-nested-with.nix
data/nix/tests/lang/eval-okay-new-let.exp
data/nix/tests/lang/eval-okay-new-let.nix
data/nix/tests/lang/eval-okay-null-dynamic-attrs.exp
data/nix/tests/lang/eval-okay-null-dynamic-attrs.nix
data/nix/tests/lang/eval-okay-overrides.exp
data/nix/tests/lang/eval-okay-overrides.nix
data/nix/tests/lang/eval-okay-partition.exp
data/nix/tests/lang/eval-okay-partition.nix
data/nix/tests/lang/eval-okay-pathexists.exp
data/nix/tests/lang/eval-okay-pathexists.nix
data/nix/tests/lang/eval-okay-path.nix
data/nix/tests/lang/eval-okay-patterns.exp
data/nix/tests/lang/eval-okay-patterns.nix
data/nix/tests/lang/eval-okay-readDir.exp
data/nix/tests/lang/eval-okay-readDir.nix
data/nix/tests/lang/eval-okay-readfile.exp
data/nix/tests/lang/eval-okay-readfile.nix
data/nix/tests/lang/eval-okay-redefine-builtin.exp
data/nix/tests/lang/eval-okay-redefine-builtin.nix
data/nix/tests/lang/eval-okay-regex-match.exp
data/nix/tests/lang/eval-okay-regex-match.nix
data/nix/tests/lang/eval-okay-regex-split.exp
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-regex-split.nix
data/nix/tests/lang/eval-okay-remove.exp
data/nix/tests/lang/eval-okay-remove.nix
data/nix/tests/lang/eval-okay-replacestrings.exp
data/nix/tests/lang/eval-okay-replacestrings.nix
data/nix/tests/lang/eval-okay-scope-1.exp
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-scope-1.nix
data/nix/tests/lang/eval-okay-scope-2.exp
data/nix/tests/lang/eval-okay-scope-2.nix
data/nix/tests/lang/eval-okay-scope-3.exp
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-scope-3.nix
data/nix/tests/lang/eval-okay-scope-4.exp
data/nix/tests/lang/eval-okay-scope-4.nix
data/nix/tests/lang/eval-okay-scope-6.exp
data/nix/tests/lang/eval-okay-scope-6.nix
data/nix/tests/lang/eval-okay-scope-7.exp
data/nix/tests/lang/eval-okay-scope-7.nix
data/nix/tests/lang/eval-okay-search-path.exp
data/nix/tests/lang/eval-okay-search-path.flags
data/nix/tests/lang/eval-okay-search-path.nix
data/nix/tests/lang/eval-okay-seq.exp
2020-03-03 22:01:36 +01:00
data/nix/tests/lang/eval-okay-seq.nix
data/nix/tests/lang/eval-okay-sort.exp
data/nix/tests/lang/eval-okay-sort.nix
data/nix/tests/lang/eval-okay-splitversion.exp
data/nix/tests/lang/eval-okay-splitversion.nix
data/nix/tests/lang/eval-okay-string.exp
data/nix/tests/lang/eval-okay-string.nix
data/nix/tests/lang/eval-okay-strings-as-attrs-names.exp
data/nix/tests/lang/eval-okay-strings-as-attrs-names.nix
data/nix/tests/lang/eval-okay-substring.exp
data/nix/tests/lang/eval-okay-substring.nix
data/nix/tests/lang/eval-okay-tail-call-1.exp-disabled
data/nix/tests/lang/eval-okay-tail-call-1.nix
data/nix/tests/lang/eval-okay-tojson.exp
data/nix/tests/lang/eval-okay-tojson.nix
data/nix/tests/lang/eval-okay-toxml2.exp
data/nix/tests/lang/eval-okay-toxml2.nix
data/nix/tests/lang/eval-okay-toxml.exp
data/nix/tests/lang/eval-okay-toxml.nix
data/nix/tests/lang/eval-okay-tryeval.exp
data/nix/tests/lang/eval-okay-tryeval.nix
data/nix/tests/lang/eval-okay-types.exp
data/nix/tests/lang/eval-okay-types.nix
data/nix/tests/lang/eval-okay-versions.exp
data/nix/tests/lang/eval-okay-versions.nix
data/nix/tests/lang/eval-okay-with.exp
data/nix/tests/lang/eval-okay-with.nix
data/nix/tests/lang/eval-okay-xml.exp.xml
data/nix/tests/lang/eval-okay-xml.nix
data/nix/tests/lang/imported2.nix
data/nix/tests/lang/imported.nix
data/nix/tests/lang/lib.nix
data/nix/tests/lang/parse-fail-dup-attrs-1.nix
data/nix/tests/lang/parse-fail-dup-attrs-2.nix
data/nix/tests/lang/parse-fail-dup-attrs-3.nix
data/nix/tests/lang/parse-fail-dup-attrs-4.nix
data/nix/tests/lang/parse-fail-dup-attrs-7.nix
data/nix/tests/lang/parse-fail-dup-formals.nix
data/nix/tests/lang/parse-fail-mixed-nested-attrs1.nix
data/nix/tests/lang/parse-fail-mixed-nested-attrs2.nix
data/nix/tests/lang/parse-fail-patterns-1.nix
data/nix/tests/lang/parse-fail-regression-20060610.nix
data/nix/tests/lang/parse-fail-uft8.nix
data/nix/tests/lang/parse-fail-undef-var-2.nix
data/nix/tests/lang/parse-fail-undef-var.nix
data/nix/tests/lang/parse-okay-1.nix
data/nix/tests/lang/parse-okay-crlf.nix
data/nix/tests/lang/parse-okay-dup-attrs-5.nix
data/nix/tests/lang/parse-okay-dup-attrs-6.nix
data/nix/tests/lang/parse-okay-mixed-nested-attrs-1.nix
data/nix/tests/lang/parse-okay-mixed-nested-attrs-2.nix
data/nix/tests/lang/parse-okay-mixed-nested-attrs-3.nix
data/nix/tests/lang/parse-okay-regression-20041027.nix
data/nix/tests/lang/parse-okay-regression-751.nix
data/nix/tests/lang/parse-okay-subversion.nix
data/nix/tests/lang/parse-okay-url.nix
data/nix/tests/lang/readDir/bar
data/nix/tests/lang/readDir/foo/git-hates-directories
2020-03-03 22:01:36 +01:00
data/nix/tests/local.mk
2018-05-09 19:59:08 +02:00
data/nixpkgs-all-packages.nix
2020-03-03 22:01:36 +01:00
data/let-comments.nix
data/let-comments-multiline.nix
2018-05-09 19:59:08 +02:00
data/simple-pretty.nix
data/simple.nix
2020-03-03 22:01:36 +01:00
data/nixpkgs-all-packages-pretty.nix
data/let.nix
LICENSE
2018-04-08 00:08:48 +02:00
README.md
CHANGELOG.md
tests/eval-compare/builtins.appendContext.nix
tests/eval-compare/builtins.eq-bottom-00.nix
tests/eval-compare/builtins.fetchurl-01.nix
tests/eval-compare/builtins.fromJSON-01.nix
tests/eval-compare/builtins.getContext.nix
tests/eval-compare/builtins.lessThan-01.nix
tests/eval-compare/builtins.mapAttrs-01.nix
tests/eval-compare/builtins.pathExists.nix
tests/eval-compare/builtins.replaceStrings-01.nix
tests/eval-compare/builtins.split-01.nix
tests/eval-compare/builtins.split-02.nix
tests/eval-compare/builtins.split-03.nix
tests/eval-compare/builtins.split-04.nix
tests/eval-compare/builtins.string.store.nix
tests/eval-compare/builtins.toJSON.nix
tests/eval-compare/current-system.nix
tests/eval-compare/ellipsis.nix
tests/eval-compare/ind-string-01.nix
tests/eval-compare/ind-string-02.nix
tests/eval-compare/ind-string-03.nix
tests/eval-compare/ind-string-04.nix
tests/eval-compare/ind-string-05.nix
tests/eval-compare/ind-string-06.nix
tests/eval-compare/ind-string-07.nix
tests/eval-compare/ind-string-08.nix
tests/eval-compare/ind-string-09.nix
tests/eval-compare/ind-string-10.nix
tests/eval-compare/ind-string-11.nix
tests/eval-compare/ind-string-12.nix
tests/eval-compare/ind-string-13.nix
tests/eval-compare/ind-string-14.nix
tests/eval-compare/ind-string-15.nix
tests/eval-compare/ind-string-16.nix
tests/eval-compare/ind-string-17.nix
tests/eval-compare/paths-01.nix
tests/eval-compare/placeholder.nix
tests/files/attrs.nix
tests/files/callLibs.nix
tests/files/eighty.nix
tests/files/file.nix
tests/files/file2.nix
tests/files/findFile.nix
tests/files/force.nix
tests/files/goodbye.nix
tests/files/hello.nix
tests/files/hello2.nix
tests/files/if-then.nix
tests/files/lint.nix
tests/files/loop.nix
tests/files/test.nix
tests/files/with.nix
2015-07-23 04:03:30 +02:00
2018-04-08 00:08:48 +02:00
source-repository head
type: git
location: https://github.com/haskell-nix/hnix
2018-04-08 00:08:48 +02:00
flag optimize
description: Enable all optimization flags
manual: True
default: False
flag profiling
description: Enable profiling
manual: True
default: False
2018-04-08 00:08:48 +02:00
library
exposed-modules:
Nix
Nix.Atoms
Nix.Builtins
Nix.Cache
2019-03-12 15:21:24 +01:00
Nix.Cited
Nix.Cited.Basic
Nix.Context
Nix.Convert
Nix.Effects
2019-03-22 23:16:01 +01:00
Nix.Effects.Basic
2018-04-08 00:08:48 +02:00
Nix.Eval
2018-04-09 09:52:10 +02:00
Nix.Exec
2018-04-08 00:08:48 +02:00
Nix.Expr
Nix.Expr.Shorthands
2019-03-22 23:16:01 +01:00
Nix.Expr.Strings
2018-04-08 00:08:48 +02:00
Nix.Expr.Types
Nix.Expr.Types.Annotated
Nix.Frames
Nix.Fresh
2019-03-18 03:04:38 +01:00
Nix.Fresh.Basic
2018-12-09 19:57:58 +01:00
Nix.Json
2018-04-08 00:08:48 +02:00
Nix.Lint
Nix.Normal
Nix.Options
2018-04-08 00:08:48 +02:00
Nix.Parser
Nix.Pretty
Nix.Reduce
Nix.Render
Nix.Render.Frame
2018-04-08 00:08:48 +02:00
Nix.Scope
2019-03-22 23:16:01 +01:00
Nix.Standard
Nix.String
2019-03-22 23:16:01 +01:00
Nix.String.Coerce
2018-04-08 00:08:48 +02:00
Nix.TH
Nix.Thunk
Nix.Thunk.Basic
Nix.Type.Assumption
Nix.Type.Env
Nix.Type.Infer
Nix.Type.Type
2018-04-08 00:08:48 +02:00
Nix.Utils
Nix.Utils.Fix1
2018-04-08 00:08:48 +02:00
Nix.Value
Nix.Value.Equal
Nix.Value.Monad
Nix.Var
2018-04-08 00:08:48 +02:00
Nix.XML
other-modules:
Paths_hnix
hs-source-dirs:
src
2019-03-18 23:27:12 +01:00
ghc-options: -Wall -fprint-potential-instances
2018-04-08 00:08:48 +02:00
build-depends:
aeson >= 1.4.2 && < 1.6
2020-07-15 22:10:04 +02:00
, array >= 0.4 && < 0.6
, base >= 4.11 && < 5
, binary >= 0.8.5 && < 0.9
, bytestring >= 0.10.8 && < 0.11
, comonad >= 5.0.4 && < 5.1
, containers >= 0.5.11.0 && < 0.7
, data-fix >= 0.3.0 && < 0.4
2020-07-15 22:10:04 +02:00
, deepseq >= 1.4.3 && <1.5
, deriving-compat >= 0.3 && < 0.6
, directory >= 1.3.1 && < 1.4
, exceptions >= 0.10.0 && < 0.11
, filepath >= 1.4.2 && < 1.5
, free >= 5.1 && < 5.2
, gitrev >= 1.1.0 && < 1.4
2020-07-15 22:10:04 +02:00
, hashable >= 1.2.5 && < 1.4
, hashing >= 0.1.0 && < 0.2
2020-03-12 15:14:06 +01:00
, hnix-store-core >= 0.1.0 && < 0.3
, http-client >= 0.5.14 && < 0.6 || >= 0.6.4 && < 0.8
, http-client-tls >= 0.3.5 && < 0.4
2019-03-20 02:52:55 +01:00
, http-types >= 0.12.2 && < 0.13
2020-07-15 22:10:04 +02:00
, lens-family >= 1.2.2 && < 2.2
, lens-family-core >= 1.2.2 && < 2.2
, lens-family-th >= 0.5.0 && < 0.6
, logict >= 0.6.0 && < 0.7 || >= 0.7.0.2 && < 0.8
, megaparsec >= 7.0 && < 9.1
, monad-control >= 1.0.2 && < 1.1
, monadlist >= 0.0.2 && < 0.1
, mtl >= 2.2.2 && < 2.3
, neat-interpolation >= 0.4 && < 0.6
, optparse-applicative >= 0.14.3 && < 0.17
, parser-combinators >= 1.0.1 && < 1.3
, prettyprinter >= 1.7.0 && < 1.8
, process >= 1.6.3 && < 1.7
, ref-tf >= 0.4.0 && < 0.5
, regex-tdfa >= 1.2.3 && < 1.4
, scientific >= 0.3.6 && < 0.4
, semialign >= 1 && < 1.2
, semialign-indexed >= 1 && < 1.2
, some >= 1.0.1 && < 1.1
, split >= 0.2.3 && < 0.3
, syb >= 0.7 && < 0.8
, template-haskell >= 2.13 && < 2.17
, text >= 1.2.3 && < 1.3
, these >= 1.0.1 && < 1.2
, time >= 1.8.0 && < 1.9 || >= 1.9.3 && < 1.10
, transformers >= 0.5.5 && < 0.6
, transformers-base >= 0.4.5 && < 0.5
, unix >= 2.7.2 && < 2.8
2020-07-15 22:10:04 +02:00
, unordered-containers >= 0.2.9 && < 0.3
, vector >= 0.12.0 && < 0.13
, xml >= 1.3.14 && < 1.4
if flag(optimize)
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
if !impl(ghcjs)
2019-10-22 00:27:44 +02:00
exposed-modules:
Nix.Options.Parser
build-depends:
base16-bytestring >= 0.1.1 && < 0.2
, pretty-show >= 1.9.5 && < 1.11
, serialise >= 0.2.1 && < 0.3
2019-10-21 23:58:07 +02:00
-- if !flag(profiling)
2019-01-08 19:22:39 +01:00
-- build-depends:
-- ghc-datasize
2018-04-08 00:08:48 +02:00
default-language: Haskell2010
2018-04-08 00:08:48 +02:00
executable hnix
main-is: Main.hs
other-modules:
Repl
2018-04-08 00:08:48 +02:00
Paths_hnix
hs-source-dirs:
main
ghc-options: -Wall -rtsopts
2018-04-08 00:08:48 +02:00
build-depends:
aeson
, base
2019-10-22 00:27:44 +02:00
, base16-bytestring
, bytestring
2019-03-16 01:20:10 +01:00
, comonad
, containers
, data-fix
, deepseq
2018-04-08 00:08:48 +02:00
, exceptions
, filepath
, free
, haskeline >= 0.8.0.0 && < 0.9
2018-04-08 00:08:48 +02:00
, hnix
, mtl
, optparse-applicative
, pretty-show
2018-11-17 05:51:18 +01:00
, prettyprinter
2019-03-16 06:54:29 +01:00
, ref-tf
, repline >= 0.4.0.0 && < 0.5
2019-10-22 00:27:44 +02:00
, serialise
, template-haskell
2018-04-08 00:08:48 +02:00
, text
2018-05-03 06:32:00 +02:00
, time
, transformers
, unordered-containers
if flag(optimize)
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
if impl(ghc < 8.10)
-- GHC < 8.10 comes with haskeline < 0.8, which we don't support.
-- To simplify CI, we just disable the component.
buildable: False
if impl(ghcjs)
buildable: False
2018-04-08 00:08:48 +02:00
default-language: Haskell2010
2018-04-08 00:08:48 +02:00
test-suite hnix-tests
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
EvalTests
NixLanguageTests
ParserTests
PrettyParseTests
2018-04-08 00:08:48 +02:00
PrettyTests
2018-06-25 12:55:05 +02:00
ReduceExprTests
2018-04-08 00:13:58 +02:00
TestCommon
2018-04-08 00:08:48 +02:00
Paths_hnix
hs-source-dirs:
tests
2018-04-29 03:21:24 +02:00
ghc-options: -Wall -threaded
2018-04-08 00:08:48 +02:00
build-depends:
Diff
, Glob
2020-07-15 23:35:41 +02:00
, base
2019-10-22 00:27:44 +02:00
, base16-bytestring
, bytestring
2014-08-03 14:17:43 +02:00
, containers
, data-fix
2020-07-15 23:35:41 +02:00
, deepseq
2018-04-10 21:38:14 +02:00
, directory
2018-04-08 00:08:48 +02:00
, exceptions
, filepath
, hedgehog
2018-04-08 00:08:48 +02:00
, hnix
2020-07-15 23:35:41 +02:00
, megaparsec
2018-04-08 00:08:48 +02:00
, mtl
, neat-interpolation
, optparse-applicative
, pretty-show
2018-11-17 05:51:18 +01:00
, prettyprinter
, process
, split
2018-04-08 00:08:48 +02:00
, tasty
, tasty-hedgehog
2018-04-08 00:08:48 +02:00
, tasty-hunit
, tasty-th
2019-10-22 00:27:44 +02:00
, serialise
2018-04-08 00:08:48 +02:00
, template-haskell
, text
2018-05-03 06:32:00 +02:00
, time
, transformers
, unix
2020-07-15 23:35:41 +02:00
, unordered-containers
if flag(optimize)
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
if impl(ghcjs)
buildable: False
2018-04-08 00:08:48 +02:00
default-language: Haskell2010
2014-08-03 14:17:43 +02:00
2018-04-08 00:08:48 +02:00
benchmark hnix-benchmarks
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
ParserBench
Paths_hnix
hs-source-dirs:
benchmarks
2018-04-29 03:21:24 +02:00
ghc-options: -Wall
2018-04-08 00:08:48 +02:00
build-depends:
2020-07-15 23:35:41 +02:00
base
2019-10-22 00:27:44 +02:00
, base16-bytestring
, bytestring
, containers
, criterion
2018-04-08 00:08:48 +02:00
, data-fix
2020-07-15 23:35:41 +02:00
, deepseq
2018-04-08 00:08:48 +02:00
, exceptions
, filepath
2018-04-08 00:08:48 +02:00
, hnix
, mtl
, optparse-applicative
2019-10-22 00:27:44 +02:00
, serialise
2018-04-08 00:08:48 +02:00
, template-haskell
, text
2018-05-03 06:32:00 +02:00
, time
2018-04-08 00:08:48 +02:00
, transformers
2020-07-15 23:35:41 +02:00
, unordered-containers
if flag(optimize)
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
if impl(ghcjs)
buildable: False
2018-04-08 00:08:48 +02:00
default-language: Haskell2010