-
Notifications
You must be signed in to change notification settings - Fork 5
/
phash.cabal
70 lines (63 loc) · 2.22 KB
/
phash.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: phash
version: 0.0.6
synopsis: Haskell bindings to pHash, the open source perceptual hash library
description: See http://www.phash.org/ for more info. Note that you
must have libphash installed on your system to use this
library. Check your system library.
license: GPL-3
license-file: LICENSE
author: Michael Xavier <[email protected]>
maintainer: Michael Xavier <[email protected]>
copyright: Copyright: (c) 2014 Michael Xavier
category: Data
build-type: Simple
cabal-version: >= 1.10
extra-source-files: README.md
test/fixtures/grump_gray.jpg
test/fixtures/grump.jpg
test/fixtures/grump_flip.jpg
test/fixtures/grump_bright.jpg
homepage: http://github.com/michaelxavier/phash
bug-reports: http://github.com/michaelxavier/phash/issues
flag lib-Werror
default: False
manual: True
library
exposed-modules: Data.PHash
exposed-modules: Data.PHash.Image
exposed-modules: Data.PHash.Types
build-depends: base >= 4.6 && < 5
hs-source-dirs: src
default-language: Haskell2010
extra-libraries: pHash
if flag(lib-Werror)
ghc-options: -Werror
ghc-options: -Wall
test-suite spec
type: exitcode-stdio-1.0
main-is: Test.hs
default-language: Haskell2010
hs-source-dirs: src, test
extra-libraries: pHash
build-depends: base >= 4.6 && < 5
build-depends: tasty >= 0.7 && < 1.0
build-depends: tasty-smallcheck >= 0.2 && < 1.0
build-depends: tasty-hunit >= 0.4.1 && < 1.0
build-depends: HUnit >= 1.2.5.2 && < 2.0
build-depends: smallcheck
if flag(lib-Werror)
ghc-options: -Werror
ghc-options: -Wall
test-suite docs
type: exitcode-stdio-1.0
main-is: DocTest.hs
default-language: Haskell2010
hs-source-dirs: src, test
extra-libraries: pHash
ghc-options: -threaded
build-depends: base >= 4.6 && < 5
build-depends: doctest >= 0.9.10 && < 1.0
build-depends: phash
source-repository head
Type: git
Location: https://github.com/michaelxavier/phash