Merge pull request #32 from mbbx6spp/add-bench-deps
Add criterion dependency for benchmarking
This commit is contained in:
commit
cf3002cf21
22
README.md
22
README.md
|
@ -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
|
||||
```
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue