Giter Club home page Giter Club logo

cryptohash-sha256's People

Contributors

andreasabel avatar bodigrim avatar davean avatar felixonmars avatar hvr avatar phadej avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cryptohash-sha256's Issues

Ancient Bytestring?

Not sure if this is a real issue, but cryptohash-sha256 is bound to an ancient version of ByteString.

Are there any good reasons not to port it to something modern? If not, are there any difficulties in porting it to something modern?

Failure to install on Windows

Running stack install cryptohash-sha256 --resolver=nightly-2020-09-29 -j1 I get:

C:\Neil>stack install cryptohash-sha256 --resolver=nightly-2020-09-29 -j1
cryptohash-sha256> configure
cryptohash-sha256> Configuring cryptohash-sha256-0.11.101.0...
cryptohash-sha256> Warning: Packages using 'cabal-version: >= 1.10' must specify the
cryptohash-sha256> 'default-language' field for each component (e.g. Haskell98 or Haskell2010).
cryptohash-sha256> If a component uses different languages in different modules then list the
cryptohash-sha256> other ones in the 'other-languages' field.
cryptohash-sha256> build
cryptohash-sha256> Preprocessing library for cryptohash-sha256-0.11.101.0..
cryptohash-sha256> Building library for cryptohash-sha256-0.11.101.0..
cryptohash-sha256> [1 of 2] Compiling Crypto.Hash.SHA256.FFI
cryptohash-sha256> ghc.exe: could not execute: C:/GitLabRunner/builds/2WeHDSFP/0/ghc/ghc/inplace/mingw/bin/ld.exe

--  While building package cryptohash-sha256-0.11.101.0 using:
      C:\sr\setup-exe-cache\x86_64-windows\Cabal-simple_Z6RU0evB_3.2.0.0_ghc-8.10.2.exe --builddir=.stack-work\dist\a3a5fe88 build --ghc-options " -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1

I don't have GitLabRunner on my machine, so I guess its coming from Stack, Stackage or the package in question (and couldn't find it for the package in question).

Support for GHC 9.6

Hi, could you please bump the upper bound for base to allow building with ghc-9.6?

Thanks in advance.

cryptohash-sha256-0.11.101.0: "can't find source for sha256sum in ."

Citing from https://hydra.nixos.org/build/75026627:

[...]
Using runghc version 8.2.2 found on system at:
/nix/store/cjp2kan8r0ay1ysldndmqxsxdf6xmca0-ghc-8.2.2/bin/runghc
Using strip version 2.30 found on system at:
/nix/store/92d2ifxcni4n3zx9s8wnkcjlvnx5ajlc-binutils-2.30/bin/strip
Using tar found on system at:
/nix/store/4bjcimg3pfjgn2s2769qg8pajpybls8h-gnutar-1.30/bin/tar
No uhc found
building
Preprocessing executable 'sha256sum' for cryptohash-sha256-0.11.101.0..
Setup: can't find source for sha256sum in .

Linking error on OpenBSD: __builtin_bswap32 not available

When linking against cryptohash-sha256-0.11.100.0 (e.g. when building cabal-install) on OpenBSD, the following error occurs:

/home/maxim/.cabal/lib/x86_64-openbsd-ghc-7.10.3/cryptohash-sha256-0.11.100.0-E5uk2F82S4eJ4LnfTKWM8r/libHScryptohash-sha256-0.11.100.0-E5uk2F82S4eJ4LnfTKWM8r.a(sha256.o): In function `hs_cryptohash_sha256_update':
sha256.c:(.text+0x49a): undefined reference to `__builtin_bswap32'

Looks like __builtin_bswap32 doesn't exist on OpenBSD (but l32toh might be an alternative): http://man.openbsd.org/OpenBSD-5.9/man3/be16toh.3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.