Problems installing Yesod

I want to install yesodin order to learn a little about the network and play a little with Haskell in my free time, but when I do this:

> cabal install yesod
Resolving dependencies...
cabal: cannot configure cprng-aes-0.2.2. It requires crypto-api >=0.8
For the dependency on crypto-api >=0.8 there are these packages:
crypto-api-0.8. However none of them are available.
crypto-api-0.8 was excluded because skein-0.1.0.1 requires crypto-api ==0.6.*
crypto-api-0.8 was excluded because crypto-api-0.6.4 was selected instead
crypto-api-0.8 was excluded because clientsession-0.7.3.1 requires crypto-api
>=0.6.4 && <0.7

but I think I have the right packages installed.

cabal list cprng-aes skein crypto-api clientsession
* clientsession
    Synopsis: Securely store session data in a client-side cookie.
    Default available version: 0.7.3.1
    Installed versions: 0.7.3.1
    Homepage: http://github.com/snoyberg/clientsession/tree/master
    License:  BSD3

* cprng-aes
    Synopsis: Crypto Pseudo Random Number Generator using AES in counter mode.
    Default available version: 0.2.2
    Installed versions: 0.2.2
    Homepage: http://github.com/vincenthz/hs-cprng-aes
    License:  BSD3

* crypto-api
    Synopsis: A generic interface for cryptographic operations
    Default available version: 0.8
    Installed versions: 0.6.4, 0.8
    Homepage: http://trac.haskell.org/crypto-api/wiki
    License:  BSD3

* crypto-api-tests
    Synopsis: A test framework and KATs for cryptographic operations.
    Default available version: 0.1
    Installed versions: [ Not installed ]
    Homepage: http://trac.haskell.org/crypto-api/wiki
    License:  BSD3

* hack-middleware-clientsession
    Synopsis: Middleware for easily keeping session data in client cookies.
    Default available version: 0.0.1
    Installed versions: [ Not installed ]
    Homepage: http://github.com/snoyberg/hack-middleware-clientsession/tree/master
    License:  BSD3

* skein
    Synopsis: Skein, a family of cryptographic hash functions. Includes
              Skein-MAC as well.
    Default available version: 0.1.0.1
    Installed versions: 0.1.0.1
    License:  BSD3

I know little about cabal install, but it seems that both crypto-api >=0.8, and <7that seem impossible , are required .

+5
source share
1 answer

Supporting Crypto-API here.

PROBLEM

, . cprng-aes crypto-api >= 0.8. 0.6.*. , , skein ( ), .

. - :

cabal install yesod 'crypto-api == 0.6.4' 'cprng == 0.2.1'

, . , :

cabal install yesod crypto-api-0.6.4 cprng-0.2.1

, cabal , . , , , , . cprng-aes crypto-api >= 0.5, , cabal. , CPP {MAX,MIN}_VERSION, cabal.

: . , , Yesod , , . , , :

 cabal update ; cabal install yesod

, , . , . , " , " PVP. OTOH, someones, PVP, . ?

+8
source

All Articles