summaryrefslogtreecommitdiff
path: root/github-backup.cabal
blob: 75dec12ce2f465cdf0f399e62b02fe7e9b38dbbb (plain)
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
Name: github-backup
Version: 1.20141031
Cabal-Version: >= 1.6
License: GPL
Maintainer: Joey Hess <joey@kitenet.net>
Author: Joey Hess
Stability: Stable
Copyright: 2012 Joey Hess
License-File: GPL
Build-Type: Custom
Homepage: https://github.com/joeyh/github-backup
Category: Utility
Synopsis: backs up everything github knows about a repository, to the repository
Description:
 github-backup is a simple tool you run in a git repository you cloned from
 Github. It backs up everything Github knows about the repository, including
 other forks, issues, comments, milestones, pull requests, and watchers.

Flag network-uri
  Description: Get Network.URI from the network-uri package
  Default: True

Executable github-backup
  Main-Is: github-backup.hs
  GHC-Options: -Wall
  Build-Depends: MissingH, hslogger, directory, filepath, containers, mtl,
   network, exceptions, transformers, unix-compat, bytestring,
   IfElse, pretty-show, text, process, optparse-applicative,
   github >= 0.7.2,
   base >= 4.5, base < 5

  if (! os(windows))
    Build-Depends: unix
  
  if flag(network-uri)
    Build-Depends: network-uri (>= 2.6), network (>= 2.6)
  else
    Build-Depends: network (< 2.6), network (>= 2.0)

source-repository head
  type: git
  location: git://github.com/joeyh/github-backup.git