From 7c12f0ac9224246dac308e837bccb5b2157062ee Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 15 Dec 2015 17:47:59 -0700 Subject: Import git-repair_1.20151215.orig.tar.xz [dgit import orig git-repair_1.20151215.orig.tar.xz] --- git-repair.cabal | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 git-repair.cabal (limited to 'git-repair.cabal') diff --git a/git-repair.cabal b/git-repair.cabal new file mode 100644 index 0000000..d4583ea --- /dev/null +++ b/git-repair.cabal @@ -0,0 +1,49 @@ +Name: git-repair +Version: 1.20151215 +Cabal-Version: >= 1.8 +License: GPL +Maintainer: Joey Hess +Author: Joey Hess +Stability: Stable +Copyright: 2013 Joey Hess +License-File: GPL +Extra-Source-Files: CHANGELOG +Build-Type: Custom +Homepage: http://git-repair.branchable.com/ +Category: Utility +Synopsis: repairs a damanged git repisitory +Description: + git-repair can repair various forms of damage to git repositories. + . + It is a complement to git fsck, which finds problems, but does not fix + them. + . + As well as avoiding the need to rm -rf a damaged repository and re-clone, + using git-repair can help rescue commits you've made to the damaged + repository and not yet pushed out. + +Flag network-uri + Description: Get Network.URI from the network-uri package + Default: True + +Executable git-repair + Main-Is: git-repair.hs + GHC-Options: -threaded -Wall -fno-warn-tabs + Build-Depends: MissingH, hslogger, directory, filepath, containers, mtl, + unix-compat, bytestring, exceptions (>= 0.6), transformers, + base >= 4.5, base < 5, IfElse, text, process, time, QuickCheck, + utf8-string, async, optparse-applicative (>= 0.10.0) + + if flag(network-uri) + Build-Depends: network-uri (>= 2.6), network (>= 2.6) + else + Build-Depends: network (< 2.6), network (>= 2.0) + + if (os(windows)) + Build-Depends: setenv + else + Build-Depends: unix + +source-repository head + type: git + location: git://git-repair.branchable.com/ -- cgit v1.2.3