-
Notifications
You must be signed in to change notification settings - Fork 0
/
kesha.cabal
103 lines (86 loc) · 2.06 KB
/
kesha.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
cabal-version: >= 1.10
name: kesha
version: 0.1.0.1
synopsis: Haskell implementation of nix-hash
description: Compute the cryptographic hash of a path, à la <https://nixos.org/ Nix>.
homepage: https://github.com/jmackie/kesha
bug-reports: https://github.com/jmackie/kesha/issues
license: MIT
license-file: LICENSE
author: Jordan Mackie
maintainer: [email protected]
copyright: (c) 2020 Jordan Mackie
category: System
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
tested-with:
GHC == 8.2.2,
GHC == 8.4.4,
GHC == 8.6.5,
GHC == 8.8.3,
GHC == 8.10.1
source-repository head
type: git
location: git://github.com/jmackie/kesha.git
flag ci
description: Enable settings for CI
default: False
library
default-language: Haskell2010
hs-source-dirs: src
exposed-modules:
Kesha
Kesha.NAR
build-depends:
-- https://wiki.haskell.org/Base_package
base >= 4.10.1 && < 4.15,
-- core libraries
binary >= 0.8.6 && < 0.9,
bytestring >= 0.10.8 && < 0.11,
containers >= 0.6.0 && < 0.7,
filepath >= 1.4.2 && < 1.5,
text >= 1.2.3 && < 1.3,
-- 1.3.1.0 introduced `getSymbolicLinkTarget`
directory >= 1.3.1 && < 1.4,
cryptohash-md5 >= 0.11.100 && < 0.12,
cryptohash-sha1 >= 0.11.100 && < 0.12,
cryptohash-sha256 >= 0.11.101 && < 0.12
ghc-options:
-Weverything
-fno-warn-missing-import-lists
-fno-warn-missed-specialisations
-fno-warn-all-missed-specialisations
-fno-warn-unsafe
-fno-warn-safe
if flag(ci)
ghc-options: -Werror
test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
build-depends:
kesha,
base,
bytestring,
containers,
directory,
filepath,
-- test-specific dependencies
process,
hspec,
QuickCheck,
temporary
ghc-options:
-threaded
-rtsopts
-Weverything
-fno-warn-missing-import-lists
-fno-warn-missed-specialisations
-fno-warn-all-missed-specialisations
-fno-warn-unsafe
-fno-warn-safe
if flag(ci)
ghc-options: -Werror