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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274
|
cabal-version: 2.4
name: github
version: 0.29
x-revision: 5
synopsis: Access to the GitHub API, v3.
category: Network
description:
The GitHub API provides programmatic access to the full
GitHub Web site, from Issues to Gists to repos down to the underlying git data
like references and trees. This library wraps all of that, exposing a basic but
Haskell-friendly set of functions and data structures.
.
For supported endpoints see "GitHub" module.
.
> import qualified GitHub as GH
>
> main :: IO ()
> main = do
> possibleUser <- GH.github' GH.userInfoForR "phadej"
> print possibleUser
.
For more of an overview please see the README: <https://github.com/haskell-github/github/blob/master/README.md>
license: BSD-3-Clause
license-file: LICENSE
author: Mike Burns, John Wiegley, Oleg Grenrus
maintainer: Andreas Abel
homepage: https://github.com/haskell-github/github
build-type: Simple
copyright:
Copyright 2012-2013 Mike Burns, Copyright 2013-2015 John Wiegley, Copyright 2016-2021 Oleg Grenrus
tested-with:
GHC == 9.10.1
GHC == 9.8.2
GHC == 9.6.5
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
extra-doc-files:
README.md
CHANGELOG.md
extra-source-files:
fixtures/**/*.json
source-repository head
type: git
location: https://github.com/haskell-github/github.git
flag openssl
description: "Use http-client-openssl"
manual: True
default: False
library
default-language: Haskell2010
ghc-options:
-Wall
if impl(ghc >= 8.0)
ghc-options:
-Wcompat
-Wno-star-is-type
-- The star-is-type warning cannot be sensiblity addressed while supporting GHC 7.
hs-source-dirs: src
default-extensions:
DataKinds
DeriveDataTypeable
DeriveGeneric
LambdaCase
OverloadedStrings
ScopedTypeVariables
TypeOperators
other-extensions:
CPP
FlexibleContexts
FlexibleInstances
GADTs
KindSignatures
RecordWildCards
StandaloneDeriving
exposed-modules:
GitHub
GitHub.Auth
GitHub.Data
GitHub.Data.Actions.Common
GitHub.Data.Actions.Artifacts
GitHub.Data.Actions.Cache
GitHub.Data.Actions.Secrets
GitHub.Data.Actions.Workflows
GitHub.Data.Actions.WorkflowJobs
GitHub.Data.Actions.WorkflowRuns
GitHub.Data.Activities
GitHub.Data.Comments
GitHub.Data.Content
GitHub.Data.Definitions
GitHub.Data.DeployKeys
GitHub.Data.Deployments
GitHub.Data.Email
GitHub.Data.Enterprise
GitHub.Data.Enterprise.Organizations
GitHub.Data.Events
GitHub.Data.Gists
GitHub.Data.GitData
GitHub.Data.Id
GitHub.Data.Invitation
GitHub.Data.Issues
GitHub.Data.Milestone
GitHub.Data.Name
GitHub.Data.Options
GitHub.Data.PublicSSHKeys
GitHub.Data.PullRequests
GitHub.Data.RateLimit
GitHub.Data.Releases
GitHub.Data.Repos
GitHub.Data.Request
GitHub.Data.Reviews
GitHub.Data.Search
GitHub.Data.Statuses
GitHub.Data.Teams
GitHub.Data.URL
GitHub.Data.Webhooks
GitHub.Data.Webhooks.Validate
GitHub.Endpoints.Actions.Artifacts
GitHub.Endpoints.Actions.Cache
GitHub.Endpoints.Actions.Secrets
GitHub.Endpoints.Actions.Workflows
GitHub.Endpoints.Actions.WorkflowJobs
GitHub.Endpoints.Actions.WorkflowRuns
GitHub.Endpoints.Activity.Events
GitHub.Endpoints.Activity.Notifications
GitHub.Endpoints.Activity.Starring
GitHub.Endpoints.Activity.Watching
GitHub.Endpoints.Enterprise.Organizations
GitHub.Endpoints.Gists
GitHub.Endpoints.Gists.Comments
GitHub.Endpoints.GitData.Blobs
GitHub.Endpoints.GitData.Commits
GitHub.Endpoints.GitData.References
GitHub.Endpoints.GitData.Trees
GitHub.Endpoints.Issues
GitHub.Endpoints.Issues.Comments
GitHub.Endpoints.Issues.Events
GitHub.Endpoints.Issues.Labels
GitHub.Endpoints.Issues.Milestones
GitHub.Endpoints.Organizations
GitHub.Endpoints.Organizations.Members
GitHub.Endpoints.Organizations.OutsideCollaborators
GitHub.Endpoints.Organizations.Teams
GitHub.Endpoints.PullRequests
GitHub.Endpoints.PullRequests.Comments
GitHub.Endpoints.PullRequests.Reviews
GitHub.Endpoints.RateLimit
GitHub.Endpoints.Repos
GitHub.Endpoints.Repos.Collaborators
GitHub.Endpoints.Repos.Comments
GitHub.Endpoints.Repos.Commits
GitHub.Endpoints.Repos.Contents
GitHub.Endpoints.Repos.DeployKeys
GitHub.Endpoints.Repos.Deployments
GitHub.Endpoints.Repos.Forks
GitHub.Endpoints.Repos.Invitations
GitHub.Endpoints.Repos.Releases
GitHub.Endpoints.Repos.Statuses
GitHub.Endpoints.Repos.Webhooks
GitHub.Endpoints.Search
GitHub.Endpoints.Users
GitHub.Endpoints.Users.Emails
GitHub.Endpoints.Users.Followers
GitHub.Endpoints.Users.PublicSSHKeys
GitHub.Enterprise
GitHub.Internal.Prelude
GitHub.Request
other-modules: Paths_github
autogen-modules: Paths_github
-- Packages bundles with GHC, mtl and text are also here
build-depends:
base >=4.7 && <5
, binary >=0.7.1.0 && <0.11
, bytestring >=0.10.4.0 && <0.13
, containers >=0.5.5.1 && <0.8
, deepseq >=1.3.0.2 && <1.6
, exceptions >=0.10.2 && <0.11
, mtl >=2.1.3.1 && <2.2 || >=2.2.1 && <2.4
, text >=1.2.0.6 && <2.2
, time-compat >=1.9.2.2 && <1.10
, transformers >=0.3.0.0 && <0.7
-- other packages
build-depends:
aeson >=1.4.0.0 && <1.6 || >=2.0.1.0 && <2.3
, base-compat >=0.11.1 && <1
, base16-bytestring >=0.1.1.6 && <1.1
, binary-instances >=1 && <1.1
, cryptohash-sha1 >=0.11.100.1 && <0.12
, deepseq-generics >=0.2.0.0 && <0.3
, hashable >=1.2.7.0 && <1.5
, http-client >=0.5.12 && <0.8
, http-link-header >=1.0.3.1 && <1.3
, http-types >=0.12.3 && <0.13
, iso8601-time >=0.1.5 && <0.2
, network-uri >=2.6.1.0 && <2.7
, tagged >=0.8.5 && <0.9
, transformers-compat >=0.6.5 && <0.8
, unordered-containers >=0.2.10.0 && <0.3
, vector >=0.12.0.1 && <0.14
if flag(openssl)
build-depends:
HsOpenSSL >=0.11.4.16 && <0.12
, HsOpenSSL-x509-system >=0.1.0.3 && <0.2
, http-client-openssl >=0.2.2.0 && <0.4
else
build-depends:
http-client-tls >=0.3.5.3 && <0.4
, tls >=1.4.1
if !impl(ghc >=8.0)
build-depends: semigroups >=0.18.5 && <0.20
test-suite github-test
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: spec
main-is: Spec.hs
ghc-options: -Wall -threaded
build-tool-depends: hspec-discover:hspec-discover >=2.7.1 && <2.12
other-extensions: TemplateHaskell
other-modules:
GitHub.Actions.ArtifactsSpec
GitHub.Actions.CacheSpec
GitHub.Actions.SecretsSpec
GitHub.Actions.WorkflowJobSpec
GitHub.Actions.WorkflowRunsSpec
GitHub.Actions.WorkflowSpec
GitHub.ActivitySpec
GitHub.CommitsSpec
GitHub.EventsSpec
GitHub.IssuesSpec
GitHub.OrganizationsSpec
GitHub.PublicSSHKeysSpec
GitHub.PullRequestReviewsSpec
GitHub.PullRequestsSpec
GitHub.RateLimitSpec
GitHub.ReleasesSpec
GitHub.ReposSpec
GitHub.ReviewDecodeSpec
GitHub.SearchSpec
GitHub.UsersSpec
build-depends:
aeson
, base
, base-compat
, bytestring
, file-embed
, github
, hspec >=2.6.1 && <2.12
, tagged
, text
, unordered-containers
, vector
|