packages feed

blockhash-0.1.0.0: blockhash.cabal

name:                blockhash
version:             0.1.0.0
synopsis:            Blockhash perceptual image hash algorithm
description:
  This is a perceptual image hash calculation tool based on algorithm descibed
  in Block Mean Value Based Image Perceptual Hashing by Bian Yang, Fan Gu and
  Xiamu Niu.
homepage:            https://github.com/kseo/blockhash#readme
license:             BSD3
license-file:        LICENSE
author:              Kwang Yul Seo
maintainer:          kwangyul.seo@gmail.com
stability:           experimental
tested-with:         GHC == 7.8, GHC == 7.10, GHC == 8.0
copyright:           BSD3
category:            Web
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Data.Blockhash
  build-depends:       base >= 4.7 && < 5
                     , bytestring >= 0.10 && < 0.11
                     , primitive >= 0.6 && < 0.7
                     , vector >= 0.11 && < 0.12
                     , vector-algorithms >= 0.7 && < 0.8
  default-language:    Haskell2010

executable blockhash
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , blockhash
                     , JuicyPixels >= 3.2 && < 3.3
                     , optparse-applicative >= 0.12 && < 0.13
                     , vector >= 0.11 && < 0.12
  default-language:    Haskell2010

test-suite blockhash-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , blockhash
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/kseo/blockhash