Merge pull request #32 from mbbx6spp/add-bench-deps

Add criterion dependency for benchmarking
This commit is contained in:
John Wiegley 2016-02-09 10:14:14 -05:00
commit cf3002cf21
2 changed files with 24 additions and 2 deletions

View file

@ -0,0 +1,22 @@
# hnix
Haskell parser for Nix expression language.
## Prerequisites
Nix is installed and in your `$PATH`.
Tested with Nix v1.10.
## Getting Started
```bash
$ git clone git://github.com:jwiegley/hnix.git
...
$ cd hnix
$ nix-shell
...
$ cabal test
...
$ cabal bench
```

View file

@ -1,6 +1,6 @@
{ mkDerivation, ansi-wl-pprint, base, containers, data-fix, parsers
, stdenv, tasty, tasty-hunit, tasty-th, text, transformers
, trifecta, unordered-containers, cabal-install, pkgs
, trifecta, unordered-containers, cabal-install, criterion, pkgs
}:
let
@ -18,7 +18,7 @@ mkDerivation {
isExecutable = true;
buildDepends = [
ansi-wl-pprint base containers data-fix parsers text transformers
trifecta unordered-containers cabal-install
trifecta unordered-containers cabal-install criterion
];
testDepends = [
base containers data-fix tasty tasty-hunit tasty-th text