Closed 3noch closed 7 years ago
It is not in lts-9.*. I can not upgrade, so I am in trouble.
Even if you specify version 2.2.2 in the extra-deps
record, the version ofaeson
does not match and installation can not be done.
Although I looked at the cabal
file, it seems that there is no problem with version specification.
I tried to make a pull request but I was not familiar with nix so I did not know how to do consistency with stack.
I expect it.
Thanks.
@dmjio anything I can do to help out here?
Little status update ..
My first step was to make sure tests still pass. For expediency I reran 'stack init' to get a relatively recent resolver, then tweaked some things to get builds working on NixOS, then ran the tests. I get one failure. So, right now the path to completing this issue is:
I'll push a branch with my build tweaks.
The test failure is:
Failures:
tests/Web/Stripe/Test/Event.hs:15:
1) Event tests Succesfully retrieves events
predicate failed on: Left (StripeError {errorType = ParseFailure, errorMsg = "key \"evidence_due_by\" not present", errorCode = Nothing, errorParam = Nothing, errorHTTP = Nothing})
Randomized with seed 85710200
That seems a bit odd, since it looks like a mismatch with Stripe's API. But the API version should have been fixed, right?
There's the build/test branch. Never mind my force push :|
This would get the library onto nixpkgs as well.