alephcloud / hs-ac-crypto-prim

AC cryptography primitives
Other
0 stars 1 forks source link

Missing C sources in the cabal file #10

Closed larskuhtz closed 9 years ago

larskuhtz commented 9 years ago

When installing from a package tar-ball created with cabal sdist I get:

[31 of 31] Compiling PC.Crypto.Prim.P521 ( PC/Crypto/Prim/P521.hs, dist/dist-sandbox-d033f478/build/PC/Crypto/Prim/P521.p_o )

PC/Crypto/Prim/P521.hs:54:10: Warning:
    No explicit implementation for
      ‘dhFromPublicKey’
    In the instance declaration for
      ‘DiffieHellmanAlgorithm P521SecretKey P521PublicKey’

cbits/cryptonite_chacha.c:32:10:
     fatal error: 'cryptonite_chacha.h' file not found
#include "cryptonite_chacha.h"
         ^
1 error generated.
vincenthz commented 9 years ago

If you want to fix this, I suggest you make a PR. I don't sdist this package