<commit_before>homepage: https://github.com/haskell-nix/hnix#readme
changelog-type: ''
hash: 602431f0adb59766e021b77f1466ec21500a7936da6d0d666bbaea0896ea19ca
test-bench-deps:
  exceptions: -any
  serialise: -any
  cryptohash-sha1: -any
  bytestring: -any
  data-fix: -any
  tasty-th: -any
  unix: -any
  hashing: -any
  split: -any
  base: '>=4.11 && <5'
  time: -any
  tasty-hedgehog: -any
  Diff: -any
  unordered-containers: '>=0.2.9 && <0.3'
  text: -any
  cryptohash-md5: -any
  megaparsec: '>=7.0 && <8.1'
  filepath: -any
  criterion: -any
  process: -any
  hedgehog: -any
  containers: -any
  hnix: -any
  cryptohash-sha256: -any
  interpolate: -any
  generic-random: -any
  tasty-quickcheck: -any
  mtl: -any
  tasty-hunit: -any
  cryptohash-sha512: -any
  pretty-show: -any
  base16-bytestring: -any
  prettyprinter: -any
  transformers: -any
  optparse-applicative: -any
  tasty: -any
  deepseq: '>=1.4.3 && <1.5'
  Glob: -any
  template-haskell: -any
  directory: -any
maintainer: <EMAIL>
synopsis: Haskell implementation of the Nix language
changelog: ''
basic-deps:
  http-client: '>=0.5.14 && <0.6 || >=0.6.4 && <0.8'
  exceptions: '>=0.10.0 && <0.11'
  free: ==5.1.*
  serialise: '>=0.2.1 && <0.3'
  cryptohash-sha1: '>=0.11.100 && <0.12'
  semialign: '>=1 && <1.2'
  bytestring: '>=0.10.8 && <0.11'
  these: '>=1.0.1 && <1.2'
  lens-family: '>=1.2.2'
  logict: '>=0.6.0 && <0.7 || >=0.7.0.2 && <0.8'
  data-fix: '>=0.2.0 && <0.3'
  unix: '>=2.7.2 && <2.8'
  haskeline: '>=0.7.4.2 && <0.8'
  hashing: '>=0.1.0 && <0.2'
  split: '>=0.2.3 && <0.3'
  base: '>=4.11 && <5'
  time: '>=1.8.0 && <1.9 || >=1.9.3 && <1.10'
  comonad: '>=5.0.4 && <5.1'
  parser-combinators: '>=1.0.1 && <1.3'
  deriving-compat: '>=0.3 && <0.6'
  semialign-indexed: '>=1 && <1.2'
  unordered-containers: '>=0.2.9 && <0.3'
  text: '>=1.2.3 && <1.3'
  cryptohash-md5: '>=0.11.100 && <0.12'
  megaparsec: '>=7.0 && <8.1'
  syb: '>=0.7 && <0.8'
  monad-control: '>=1.0.2 && <1.1'
  filepath: '>=1.4.2 && <1.5'
  process: '>=1.6.3 && <1.7'
  ref-tf: '>=0.4.0 && <0.5'
  lens-family-th: '>=0.5.0 && <0.6'
  semigroups: '>=0.18 && <0.19 || >=0.19.1 && <0.20'
  array: '>=0.4 && <0.6'
  lens-family-core: '>=1.2.2'
  repline: -any
  xml: '>=1.3.14 && <1.4'
  containers: '>=0.5.11.0 && <0.7'
  some: '>=1.0.1 && <1.1'
  hnix: -any
  binary: '>=0.8.5 && <0.9'
  cryptohash-sha256: '>=0.11.101 && <0.12'
  interpolate: '>=0.2.0 && <0.3'
  regex-tdfa: '>=1.2.3 && <1.4'
  http-client-tls: '>=0.3.5 && <0.4'
  contravariant: '>=1.5 && <1.6'
  mtl: '>=2.2.2 && <2.3'
  hashable: '>=1.2.5 && <1.4'
  transformers-base: '>=0.4.5 && <0.5'
  cryptohash-sha512: '>=0.11.100 && <0.12'
  pretty-show: '>=1.9.5 && <1.11'
  base16-bytestring: '>=0.1.1 && <0.2'
  prettyprinter: '>=1.2.1 && <1.7'
  transformers: '>=0.5.5 && <0.6'
  optparse-applicative: '>=0.14.3 && <0.15 || >=0.15.0.0 && <0.16'
  hnix-store-core: '>=0.1.0 && <0.3'
  deepseq: '>=1.4.3 && <1.5'
  scientific: '>=0.3.6 && <0.4'
  monadlist: '>=0.0.2 && <0.1'
  http-types: '>=0.12.2 && <0.13'
  aeson: '>=1.4.2 && <1.6'
  template-haskell: -any
  vector: '>=0.12.0 && <0.13'
  directory: '>=1.3.1 && <1.4'
all-versions:
- 0.2.0
- 0.2.1
- 0.3.2
- 0.3.3
- 0.3.4
- 0.4.0
- 0.5.0
- 0.5.1
- 0.5.2
- 0.6.0
- 0.6.1
- 0.7.0
- 0.7.1
- 0.8.0
author: <NAME>
latest: 0.8.0
description-type: markdown
description: |
  # hnix

  [![Build Status](https://api.travis-ci.org/haskell-nix/hnix.svg)](https://travis-ci.org/haskell-nix/hnix)
  [![Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/haskell-nix/Lobby)
  [![Hackage](https://img.shields.io/hackage/v/hnix?color=purple&label=Latest%20release)](https://hackage.haskell.org/package/hnix)
  [![Hackage Matrix Builder](https://img.shields.io/badge/Hackage%20Matrix-Builder-green)](https://matrix.hackage.haskell.org/package/hnix)
  [![Dependencies](https://img.shields.io/hackage-deps/v/hnix?label=Dependencies)](https://packdeps.haskellers.com/feed?needle=hnix)

  Haskell parser, evaluator and type checker for the Nix language.

  ## Prerequisites

  Nix is installed and in your `$PATH`. This is so that `nix-store` can be used
  for interacting with store paths, until `hnix-store` is ready.

  ## Getting Started

  ```
  $ git clone --recursive https://github.com/haskell-nix/hnix.git
  ...
  $ cd hnix
  $ nix-shell
  $ cabal v2-configure --enable-tests
  $ cabal v2-build
  $ cabal v2-test
  # To run all of the tests, which takes up to a minute:
  $ env ALL_TESTS=yes cabal v2-test
  # To run only specific tests (see `tests/Main.hs` for a list)<commit_msg>Update from Hackage at 2020-06-15T23:16:33Z<commit_after>homepage: https://github.com/haskell-nix/hnix#readme
changelog-type: markdown
hash: eae7c64d1620547a1aadee97fec6864c269f194831dd6bf6e2a1ef9825f94e0f
test-bench-deps:
  exceptions: -any
  serialise: -any
  bytestring: -any
  data-fix: -any
  tasty-th: -any
  unix: -any
  split: -any
  base: '>=4.11 && <5'
  time: -any
  tasty-hedgehog: -any
  Diff: -any
  unordered-containers: '>=0.2.9 && <0.3'
  text: -any
  megaparsec: '>=7.0 && <8.1'
  filepath: -any
  criterion: -any
  process: -any
  hedgehog: -any
  containers: -any
  hnix: -any
  interpolate: -any
  generic-random: -any
  tasty-quickcheck: -any
  mtl: -any
  tasty-hunit: -any
  pretty-show: -any
  base16-bytestring: -any
  prettyprinter: -any
  transformers: -any
  optparse-applicative: -any
  tasty: -any
  deepseq: '>=1.4.3 && <1.5'
  Glob: -any
  template-haskell: -any
  directory: -any
maintainer: <EMAIL>
synopsis: Haskell implementation of the Nix language
changelog: |
  # Changelog

  ## [0.9.0](https://github.com/haskell-nix/hnix/compare/0.8.0...0.9.0) (2020-06-15)

  * Changelog started. Previous release was `0.8.0`. In new release:

  * Major breaking:
    * Removed instances due to migration to `haskeline >= 0.8 && < 0.9`:
      * `instance MonadException m => MonadException(StateT(HashMap FilePath NExprLoc) m)`
      * `instance MonadException m => MonadException(Fix1T StandardTF m)`

  * Minor:
    * Added support for `GHC 8.4.4, 8.8.3`

  ---

  `HNix` uses [PVP Versioning][1].

  [1]: https://pvp.haskell.org
basic-deps:
  http-client: '>=0.5.14 && <0.6 || >=0.6.4 && <0.8'
  exceptions: '>=0.10.0 && <0.11'
  free: ==5.1.*
  serialise: '>=0.2.1 && <0.3'
  semialign: '>=1 && <1.2'
  bytestring: '>=0.10.8 && <0.11'
  these: '>=1.0.1 && <1.2'
  lens-family: '>=1.2.2 && <2.2'
  logict: '>=0.6.0 && <0.7 || >=0.7.0.2 && <0.8'
  data-fix: '>=0.2.0 && <0.3'
  unix: '>=2.7.2 && <2.8'
  haskeline: '>=0.8.0.0 && <0.9'
  hashing: '>=0.1.0 && <0.2'
  split: '>=0.2.3 && <0.3'
  base: '>=4.11 && <5'
  time: '>=1.8.0 && <1.9 || >=1.9.3 && <1.10'
  comonad: '>=5.0.4 && <5.1'
  parser-combinators: '>=1.0.1 && <1.3'
  deriving-compat: '>=0.3 && <0.6'
  semialign-indexed: '>=1 && <1.2'
  unordered-containers: '>=0.2.9 && <0.3'
  text: '>=1.2.3 && <1.3'
  megaparsec: '>=7.0 && <8.1'
  syb: '>=0.7 && <0.8'
  monad-control: '>=1.0.2 && <1.1'
  filepath: '>=1.4.2 && <1.5'
  process: '>=1.6.3 && <1.7'
  ref-tf: '>=0.4.0 && <0.5'
  lens-family-th: '>=0.5.0 && <0.6'
  semigroups: '>=0.18 && <0.19 || >=0.19.1 && <0.20'
  array: '>=0.4 && <0.6'
  lens-family-core: '>=1.2.2 && <2.2'
  repline: -any
  xml: '>=1.3.14 && <1.4'
  containers: '>=0.5.11.0 && <0.7'
  some: '>=1.0.1 && <1.1'
  hnix: -any
  binary: '>=0.8.5 && <0.9'
  interpolate: '>=0.2.0 && <0.3'
  regex-tdfa: '>=1.2.3 && <1.4'
  http-client-tls: '>=0.3.5 && <0.4'
  contravariant: '>=1.5 && <1.6'
  mtl: '>=2.2.2 && <2.3'
  hashable: '>=1.2.5 && <1.4'
  transformers-base: '>=0.4.5 && <0.5'
  pretty-show: '>=1.9.5 && <1.11'
  base16-bytestring: '>=0.1.1 && <0.2'
  prettyprinter: '>=1.2.1 && <1.7'
  transformers: '>=0.5.5 && <0.6'
  optparse-applicative: '>=0.14.3 && <0.15 || >=0.15.0.0 && <0.16'
  hnix-store-core: '>=0.1.0 && <0.3'
  deepseq: '>=1.4.3 && <1.5'
  scientific: '>=0.3.6 && <0.4'
  monadlist: '>=0.0.2 && <0.1'
  http-types: '>=0.12.2 && <0.13'
  aeson: '>=1.4.2 && <1.6'
  template-haskell: '>=2.13 && <2.17'
  vector: '>=0.12.0 && <0.13'
  directory: '>=1.3.1 && <1.4'
all-versions:
- 0.2.0
- 0.2.1
- 0.3.2
- 0.3.3
- 0.3.4
- 0.4.0
- 0.5.0
- 0.5.1
- 0.5.2
- 0.6.0
- 0.6.1
- 0.7.0
- 0.7.1
- 0.8.0
- 0.9.0
author: <NAME>
latest: 0.9.0
description-type: markdown
description: |
  # hnix

  [![Build Status](https://api.travis-ci.org/haskell-nix/hnix.svg)](https://travis-ci.org/haskell-nix/hnix)
  [![Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/haskell-nix/Lobby)
  [![Hackage](https://img.shields.io/hackage/v/hnix?color=purple&label=Latest%20release)](https://hackage.haskell.org/package/hnix)
  [![Hackage Matrix Builder](https://img.shields.io/badge/Hackage%20Matrix-Builder-green)](https://matrix.hackage.haskell.org/package/hnix)
  [![Dependencies](https://img.shields.io/hackage-deps/v/hnix?label=Dependencies)](https://packdeps.haskellers.com/feed?needle=hnix)

  Haskell parser, evaluator and type checker for the Nix language.

  ## Prerequisites

  Nix is installed and in your `$PATH`. This is so that `nix-store` can be used
  for interacting with store paths, until `hnix-store` is ready.

  ## Getting Started

  ```
  $ git clone --recursive https://github.com/haskell-nix/hnix.git
  ...
  $ cd hnix
  $ nix-shell
  $ cabal v2-configure --enable-tests
  $ cabal v2-build
  $ cabal v2-test
  # To run all of the tests, which takes up to a minute:
  $ env ALL_TESTS=yes cabal v2-test
  # To run only specific tests (see `tests/Main.hs` for a list)
{'fraction_non_alphanumeric': 0.24437163090582392, 'fraction_numerical': 0.10231476588098509, 'mean_word_length': 2.8338735818476497, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 143, 'https://': 26, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '620834', 'n_tokens_mistral': 4860, 'n_tokens_neox': 4571, 'n_words': 839}