Skip to content

Commit 470d667

Browse files
committed
Spruce up the cabal description.
1 parent c323354 commit 470d667

File tree

1 file changed

+69
-6
lines changed

1 file changed

+69
-6
lines changed

github.cabal

Lines changed: 69 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ Version: 0.1
1313
Synopsis: Access to the Github API, v3.
1414

1515
-- A longer description of the package.
16-
-- Description:
16+
Description: The Github API provides programmatic access to the full
17+
Github Web site, from Issues to Gists to repos down to the underlying git data
18+
like references and trees. This library wraps all of that, exposing a basic but
19+
Haskell-friendly set of functions and data structures.
1720

1821
-- The license under which the package is released.
1922
License: BSD3
@@ -37,17 +40,77 @@ Build-type: Simple
3740

3841
-- Extra files to be distributed with the package, such as examples or
3942
-- a README.
40-
Extra-source-files: README.md, Sample.hs
43+
Extra-source-files: README.md
44+
,samples/Gists/Comments/ShowComment.hs
45+
,samples/Gists/Comments/ShowComments.hs
46+
,samples/Gists/ListGists.hs
47+
,samples/Gists/ShowGist.hs
48+
,samples/GitData/Blobs/GitHashObject.hs
49+
,samples/GitData/Commits/GitShow.hs
50+
,samples/GitData/References/GitLsRemote.hs
51+
,samples/GitData/References/GitLsRemoteTags.hs
52+
,samples/GitData/References/GitLsRemoteWithRef.hs
53+
,samples/GitData/Trees/GitLsTree.hs
54+
,samples/GitData/Trees/GitLsTreeRecursively.hs
55+
,samples/Issues/Comments/ShowComment.hs
56+
,samples/Issues/Comments/ShowComments.hs
57+
,samples/Issues/Events/ShowEvent.hs
58+
,samples/Issues/Events/ShowIssueEvents.hs
59+
,samples/Issues/Events/ShowRepoEvents.hs
60+
,samples/Issues/Labels/ShowIssueLabels.hs
61+
,samples/Issues/Labels/ShowLabel.hs
62+
,samples/Issues/Labels/ShowMilestoneLabels.hs
63+
,samples/Issues/Labels/ShowRepoLabels.hs
64+
,samples/Issues/Milestones/ShowMilestone.hs
65+
,samples/Issues/Milestones/ShowMilestones.hs
66+
,samples/Issues/ShowIssue.hs
67+
,samples/Issues/ShowRepoIssues.hs
68+
,samples/Organizations/Members/ShowMembers.hs
69+
,samples/Organizations/ShowPublicOrganization.hs
70+
,samples/Organizations/ShowPublicOrganizations.hs
71+
,samples/Pulls/Diff.hs
72+
,samples/Pulls/ListPulls.hs
73+
,samples/Pulls/ReviewComments/ListComments.hs
74+
,samples/Pulls/ReviewComments/ShowComment.hs
75+
,samples/Pulls/ShowCommits.hs
76+
,samples/Pulls/ShowPull.hs
77+
,samples/Repos/Collaborators/IsCollaborator.hs
78+
,samples/Repos/Collaborators/ListCollaborators.hs
79+
,samples/Repos/Commits/CommitComment.hs
80+
,samples/Repos/Commits/CommitComments.hs
81+
,samples/Repos/Commits/GitDiff.hs
82+
,samples/Repos/Commits/GitLog.hs
83+
,samples/Repos/Commits/GitShow.hs
84+
,samples/Repos/Commits/RepoComments.hs
85+
,samples/Repos/Forks/ListForks.hs
86+
,samples/Repos/ListBranches.hs
87+
,samples/Repos/ListContributors.hs
88+
,samples/Repos/ListContributorsWithAnonymous.hs
89+
,samples/Repos/ListLanguages.hs
90+
,samples/Repos/ListOrgRepos.hs
91+
,samples/Repos/ListTags.hs
92+
,samples/Repos/ListUserRepos.hs
93+
,samples/Repos/ShowRepo.hs
94+
,samples/Repos/Watching/ListWatched.hs
95+
,samples/Repos/Watching/ListWatchers.hs
96+
,samples/Users/Followers/ListFollowers.hs
97+
,samples/Users/Followers/ListFollowing.hs
98+
,samples/Users/ShowUser.hs
99+
,LICENSE
100+
41101

42102
-- Constraint on the version of Cabal needed to build this package.
43-
Cabal-version: >=1.2
103+
Cabal-version: >=1.6
104+
105+
source-repository head
106+
type: git
107+
location: git://github.com/mike-burns/github.git
44108

45109

46110
Library
47111
-- Modules exported by the library.
48112
Exposed-modules: Github.Data,
49113
Github.Data.Definitions,
50-
Github.Private,
51114

52115
Github.Gists,
53116
Github.Gists.Comments,
@@ -73,7 +136,7 @@ Library
73136

74137

75138
-- Packages needed in order to build this package.
76-
Build-depends: base,
139+
Build-depends: base >= 4.0 && < 5.0,
77140
time,
78141
aeson,
79142
attoparsec,
@@ -90,7 +153,7 @@ Library
90153
vector
91154

92155
-- Modules not exported by this package.
93-
-- Other-modules:
156+
Other-modules: Github.Private
94157

95158
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
96159
-- Build-tools:

0 commit comments

Comments
 (0)