GaloisInc / haskell-tor

A Haskell implementation of the Tor protocol.
BSD 3-Clause "New" or "Revised" License
272 stars 19 forks source link

Stack support. #22

Open acw opened 8 years ago

acw commented 8 years ago

This may be a little larger than expected, given that Stack doesn't support two of the underlying libraries, pure-zlib and pretty-hex.

o1lo01ol1o commented 8 years ago

I'm not sure how helpful this is, but as per https://github.com/GaloisInc/haskell-tor/issues/5 I was able to get haskell-tor to build as an extra dep in another package under stack and ghc-7.10.3 so long as I used the hans flag : `stack build --flag :-hans` and added the following to the stack.yaml:

extra-deps:
- attoparsec-0.13.0.1
- hans-2.6.0.0
- haskell-tor-0.1.2
- pretty-hex-1.0
- pure-zlib-0.4
- tls-1.3.2

I haven't tested any of the functionality yet, so it may still break!