git-annex/git-annex.cabal

252 lines
7 KiB
Text
Raw Normal View History

Name: git-annex
2014-12-19 20:53:36 +00:00
Version: 5.20141219
Cabal-Version: >= 1.8
2013-06-03 19:38:48 +00:00
License: GPL-3
Maintainer: Joey Hess <joey@kitenet.net>
Author: Joey Hess
Stability: Stable
2014-01-16 15:36:54 +00:00
Copyright: 2010-2014 Joey Hess
2012-09-24 19:20:28 +00:00
License-File: COPYRIGHT
Extra-Source-Files: CHANGELOG
Homepage: http://git-annex.branchable.com/
Build-type: Custom
Category: Utility
Synopsis: manage files with git, without checking their contents into git
Description:
git-annex allows managing files with git, without checking the file
contents into git. While that may seem paradoxical, it is useful when
dealing with files larger than git can currently easily handle, whether due
2012-02-15 23:43:15 +00:00
to limitations in memory, time, or disk space.
.
It can store large files in many places, from local hard drives, to a
large number of cloud storage services, including S3, WebDAV,
and rsync, with a dozen cloud storage providers usable via plugins.
Files can be stored encrypted with gpg, so that the cloud storage
provider cannot see your data. git-annex keeps track of where each file
is stored, so it knows how many copies are available, and has many
facilities to ensure your data is preserved.
.
git-annex can also be used to keep a folder in sync between computers,
noticing when files are changed, and automatically committing them
to git and transferring them to other computers. The git-annex webapp
makes it easy to set up and use git-annex this way.
Flag S3
Description: Enable S3 support
Flag WebDAV
Description: Enable WebDAV support
2012-06-17 21:15:56 +00:00
Flag Inotify
Description: Enable inotify support
Flag Dbus
Description: Enable dbus support
Flag Assistant
Description: Enable git-annex assistant and watch command
Flag Webapp
Description: Enable git-annex webapp
Flag Webapp-secure
Description: Secure webapp
2012-09-07 23:44:20 +00:00
Flag Pairing
Description: Enable pairing
2012-09-07 18:54:00 +00:00
Flag XMPP
Description: Enable notifications using XMPP
Flag DNS
Description: Enable the haskell DNS library for DNS lookup
2013-02-27 05:41:01 +00:00
Flag Production
Description: Enable production build (slower build; faster binary)
Flag Android
Description: Cross building for Android
Default: False
Flag AndroidSplice
Description: Building to get TH splices for Android
Default: False
2013-02-27 05:41:01 +00:00
Flag TestSuite
Description: Embed the test suite into git-annex
Flag TDFA
Description: Use regex-tdfa for wildcards
Flag Feed
Description: Enable podcast feed support
2013-09-09 06:16:22 +00:00
Flag Quvi
Description: Enable use of quvi to download videos
Flag Tahoe
Description: Enable the tahoe special remote
Flag CryptoHash
Description: Enable use of cryptohash for checksumming
Flag DesktopNotify
Description: Enable desktop environment notifications
Flag TorrentParser
Description: Use haskell torrent library to parse torrent files
Flag EKG
Description: Enable use of EKG to monitor git-annex as it runs (at http://localhost:4242/)
Default: False
Flag network-uri
Description: Get Network.URI from the network-uri package
Default: True
Executable git-annex
Main-Is: git-annex.hs
Build-Depends: MissingH, hslogger, directory, filepath,
containers, utf8-string, mtl (>= 2),
bytestring, old-locale, time, dataenc, SHA, process, json,
base (>= 4.5 && < 4.9), monad-control, exceptions (>= 0.6), transformers,
2014-12-01 21:04:26 +00:00
IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance,
2014-02-25 02:00:25 +00:00
SafeSemaphore, uuid, random, dlist, unix-compat, async, stm (>= 2.3),
data-default, case-insensitive, http-conduit, http-types
2013-02-27 05:41:01 +00:00
CC-Options: -Wall
GHC-Options: -Wall
2013-04-14 16:49:09 +00:00
Extensions: PackageImports
-- Some things don't work with the non-threaded RTS.
GHC-Options: -threaded
2013-02-27 05:41:01 +00:00
if flag(network-uri)
Build-Depends: network-uri (>= 2.6), network (>= 2.6)
else
Build-Depends: network (< 2.6), network (>= 2.0)
2013-02-27 05:41:01 +00:00
if flag(Production)
GHC-Options: -O2
2013-12-10 05:18:04 +00:00
if (os(windows))
Build-Depends: Win32, Win32-extras, unix-compat (>= 0.4.1.3), setenv
C-Sources: Utility/winprocess.c
2013-12-10 05:18:04 +00:00
else
Build-Depends: unix
-- Need to list these because they're generated from .hsc files.
Other-Modules: Utility.Touch Utility.Mounts
Include-Dirs: Utility
C-Sources: Utility/libdiskfree.c Utility/libmounts.c
CPP-Options: -DWITH_CLIBS
if flag(TestSuite)
Build-Depends: tasty (>= 0.7), tasty-hunit, tasty-quickcheck, tasty-rerun,
optparse-applicative (>= 0.9.1), crypto-api
CPP-Options: -DWITH_TESTSUITE
if flag(TDFA)
Build-Depends: regex-tdfa
CPP-Options: -DWITH_TDFA
else
Build-Depends: regex-compat
if flag(CryptoHash)
Build-Depends: cryptohash (>= 0.10.0)
CPP-Options: -DWITH_CRYPTOHASH
if flag(S3)
Build-Depends: conduit, resourcet, conduit-extra, aws (>= 0.9.2), http-client
CPP-Options: -DWITH_S3
if flag(WebDAV)
Build-Depends: DAV (>= 1.0), http-client
2012-11-18 17:28:18 +00:00
CPP-Options: -DWITH_WEBDAV
if flag(Assistant) && ! os(solaris)
CPP-Options: -DWITH_ASSISTANT
if flag(Assistant)
if os(linux) && flag(Inotify)
Build-Depends: hinotify
CPP-Options: -DWITH_INOTIFY
else
if os(darwin)
Build-Depends: hfsevents
CPP-Options: -DWITH_FSEVENTS
else
if os(windows)
Build-Depends: Win32-notify
CPP-Options: -DWITH_WIN32NOTIFY
else
if (! os(solaris) && ! os(linux))
if flag(Android)
Build-Depends: hinotify
CPP-Options: -DWITH_INOTIFY
else
CPP-Options: -DWITH_KQUEUE
C-Sources: Utility/libkqueue.c
if (os(linux))
if flag(Dbus)
Build-Depends: dbus (>= 0.10.3)
CPP-Options: -DWITH_DBUS
if flag(DesktopNotify)
if flag(Dbus)
Build-Depends: dbus (>= 0.10.3), fdo-notify (>= 0.3)
CPP-Options: -DWITH_DESKTOP_NOTIFY -DWITH_DBUS_NOTIFICATIONS
if flag(Android)
Build-Depends: data-endian
CPP-Options: -D__ANDROID__ -DANDROID_SPLICES -D__NO_TH__
2013-11-25 17:16:04 +00:00
if flag(AndroidSplice)
CPP-Options: -DANDROID_SPLICES
if flag(Webapp)
Build-Depends:
yesod, yesod-default, yesod-static, yesod-form, yesod-core,
wai, wai-extra, warp, warp-tls,
blaze-builder, crypto-api, hamlet, clientsession,
2014-12-01 21:04:26 +00:00
template-haskell, aeson, path-pieces,
shakespeare
CPP-Options: -DWITH_WEBAPP
if flag(Webapp) && flag (Webapp-secure)
2014-03-26 19:21:19 +00:00
Build-Depends: warp-tls (>= 1.4), securemem, byteable
CPP-Options: -DWITH_WEBAPP_SECURE
if flag(Pairing)
2012-09-07 23:44:20 +00:00
Build-Depends: network-multicast, network-info
CPP-Options: -DWITH_PAIRING
2012-09-07 18:54:00 +00:00
if flag(XMPP) && (! os(windows))
2012-10-31 15:50:43 +00:00
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types
CPP-Options: -DWITH_XMPP
if flag(DNS)
Build-Depends: dns
CPP-Options: -DWITH_DNS
if flag(Feed)
Build-Depends: feed
CPP-Options: -DWITH_FEED
2013-09-09 06:16:22 +00:00
if flag(Quvi)
Build-Depends: aeson
CPP-Options: -DWITH_QUVI
if flag(Tahoe)
Build-Depends: aeson
CPP-Options: -DWITH_TAHOE
if flag(TorrentParser)
Build-Depends: torrent (>= 10000.0.0)
CPP-Options: -DWITH_TORRENTPARSER
if flag(EKG)
Build-Depends: ekg
GHC-Options: -with-rtsopts=-T
CPP-Options: -DWITH_EKG
source-repository head
type: git
location: git://git-annex.branchable.com/