summaryrefslogtreecommitdiff
path: root/git-repair.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'git-repair.cabal')
-rw-r--r--git-repair.cabal9
1 files changed, 8 insertions, 1 deletions
diff --git a/git-repair.cabal b/git-repair.cabal
index 22edee1..2cdce40 100644
--- a/git-repair.cabal
+++ b/git-repair.cabal
@@ -17,17 +17,24 @@ Description:
It is a complement to git fsck, which finds problems, but does not fix
them.
+Flag CryptoHash
+ Description: Enable use of cryptohash for checksumming
+
Executable git-repair
Main-Is: git-repair.hs
GHC-Options: -Wall -threaded
Build-Depends: MissingH, hslogger, directory, filepath, containers, mtl,
network, extensible-exceptions, unix-compat, bytestring,
base >= 4.5, base < 5, IfElse, text, process, time, QuickCheck,
- utf8-string, async, optparse-applicative
+ utf8-string, async, optparse-applicative, SHA
if (! os(windows))
Build-Depends: unix
+ if flag(CryptoHash)
+ Build-Depends: cryptohash (>= 0.10.0)
+ CPP-Options: -DWITH_CRYPTOHASH
+
source-repository head
type: git
location: git://git-repair.branchable.com/