packages feed

github-backup-1.20160511: github-backup.cabal

Name: github-backup
Version: 1.20160511
Cabal-Version: >= 1.8
Maintainer: Joey Hess <joey@kitenet.net>
Author: Joey Hess
Stability: Stable
Copyright: 2012 Joey Hess
License: GPL-3
License-File: COPYRIGHT
Build-Type: Custom
Extra-Source-Files: CHANGELOG
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.

 Also includes gitriddance, which can be used to close all open issues and
 pull requests.

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 -fno-warn-tabs
  Build-Depends: MissingH, hslogger, directory, filepath, containers, mtl,
   network, exceptions, transformers, unix-compat, bytestring, vector,
   IfElse, pretty-show, text, process, optparse-applicative, utf8-string,
   github >= 0.14.0 && < 0.15.0,
   base >= 4.5, base < 5
  
  if (! os(windows))
    Build-Depends: unix
  else
    Build-Depends: Win32, setenv
  
  if flag(network-uri)
    Build-Depends: network-uri (>= 2.6), network (>= 2.6)
  else
    Build-Depends: network (< 2.6), network (>= 2.0)

Executable gitriddance
  Main-Is: gitriddance.hs
  GHC-Options: -Wall -fno-warn-tabs
  Build-Depends: github >= 0.14.0 && < 0.15.0, base >= 4.5, base < 5, text, filepath,
    MissingH, exceptions, transformers, bytestring, vector, hslogger, process,
    containers, unix-compat, IfElse, directory, mtl, utf8-string
  
  if (! os(windows))
    Build-Depends: unix
  else
    Build-Depends: Win32, setenv
  
  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