packages feed

sha1-0.1.1.1: sha1.cabal

cabal-version:      2.2
name:               sha1
version:            0.1.1.1
synopsis:           SHA-1 Hash
description:
  This library is a copy of cryptohash-sha1 that works on GC-managed
  byte arrays instead of ByteString. The C code is a copied from
  that library. If you find an issue with the C code, you should
  open an issue on cryptohash-sha1.

homepage:           https://github.com/byteverse/sha1
bug-reports:        https://github.com/byteverse/sha1/issues
license:            BSD-3-Clause
license-file:       LICENSE
author:             Andrew Martin
maintainer:         amartin@layer3com.com
copyright:          2020 Andrew Martin
category:           Data
build-type:         Simple
extra-source-files: cbits/sha1.h
extra-doc-files:    CHANGELOG.md

library
  c-sources:        cbits/sha1.c
  cc-options:       -Wall
  include-dirs:     cbits
  hs-source-dirs:   src
  exposed-modules:  Hash.Sha1
  build-depends:
    , base       >=4.12     && <5
    , bytebuild  >=0.3.4    && <0.4
    , byteslice  >=0.2.11.1 && <0.3
    , primitive  >=0.7      && <0.10
    , run-st     >=0.1.3    && <0.2

  default-language: Haskell2010
  ghc-options:      -O2 -Wall

test-suite test
  default-language: Haskell2010
  hs-source-dirs:   test
  main-is:          Main.hs
  type:             exitcode-stdio-1.0
  build-depends:
    , base
    , bytebuild           >=0.3.4
    , byteslice           >=0.1.4.0
    , natural-arithmetic  >=0.1.1   && <0.2
    , primitive
    , sha1

  ghc-options:      -O2 -Wall

source-repository head
  type:     git
  location: git://github.com/byteverse/sha1.git