This repository has been archived by the owner on May 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathabbotsbury.cabal
147 lines (137 loc) · 3.79 KB
/
abbotsbury.cabal
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
cabal-version: 2.4
name: abbotsbury
version: 0.6.2.0
synopsis: Minimalistic reference management
description: `abbotsbury` is a small package designed to fetch data
from Crossref and generate citations from them in a
variety of (internally coded) citation styles. It is
primarily designed to work with chemistry data, although
in theory should work with anything off Crossref.
`abbotsbury` also provides a command-line tool, `abbot`,
which essentially acts as a reference manager. It does so
by maintaining a collection of PDFs.
Note that `abbotsbury` does /not/ parse Crossref data in
its entirety: it only retains as much information as it
needs, and throws the rest away. It currently also only
works with journal articles (i.e. no books, conference
proceedings, etc.). Lastly, it does not parse CSL files.
All in all, it is a specialised solution to a specialised
need.
bug-reports: https://github.com/yongrenjie/abbotsbury/issues
license: MIT
license-file: LICENSE.txt
author: Jonathan Yong
maintainer: [email protected]
-- copyright:
-- category:
extra-source-files: README.md, tests/test-data/*.json
common abbot-deps
build-depends:
base >=4.14.1.0 && <4.18
, containers
, text , unicode-transforms , unidecode , vty
, aeson , bytestring
, http-client , http-client-tls , network-uri
, raw-strings-qq
, microlens , microlens-th
, async
default-language:
Haskell2010
default-extensions:
OverloadedStrings
LambdaCase
GeneralisedNewtypeDeriving
InstanceSigs
FlexibleInstances
ScopedTypeVariables
RecordWildCards
DuplicateRecordFields
library
import:
abbot-deps
hs-source-dirs:
src
exposed-modules:
Abbotsbury
Abbotsbury.Cite
Abbotsbury.Cite.Internal
Abbotsbury.Cite.Helpers.Person
Abbotsbury.Crossref
Abbotsbury.Crossref.Internal
Abbotsbury.LatexEscapes
Abbotsbury.Work
other-modules:
Abbotsbury.Cite.Styles.Acs
Abbotsbury.Cite.Styles.Biblatex
Abbotsbury.Cite.Formats.Internal
Abbotsbury.Cite.Formats.Text
Abbotsbury.Cite.Formats.Markdown
Abbotsbury.Cite.Formats.Restructured
Abbotsbury.Cite.Formats.HTML
ghc-options:
-Wall -j4 +RTS -A128m -n2m -RTS
executable abbot
import:
abbot-deps
hs-source-dirs:
app
main-is:
Main.hs
other-modules:
Commands
Commands.Add
Commands.Addpdf
Commands.Cite
Commands.Delete
Commands.Deletepdf
Commands.Edit
Commands.Fetch
Commands.Help
Commands.List
Commands.New
Commands.Open
Commands.Search
Commands.Shared
Commands.Sort
Internal.Copy
Internal.MInputT
Internal.Monad
Internal.Path
Internal.PrettyRef
Internal.Style
Options
Reference
Paths_abbotsbury
build-depends:
abbotsbury
, haskeline , ansi-terminal , colour , terminal-size
, optparse-applicative , ansi-wl-pprint
, megaparsec , replace-megaparsec
, microlens-platform
, directory , filepath >=1.3.0.0 , process , time , temporary
, exceptions , transformers , mtl
, yaml
, utf8-string
, http-types , case-insensitive
ghc-options:
-threaded
test-suite tests
import:
abbot-deps
type:
exitcode-stdio-1.0
hs-source-dirs:
tests
main-is:
Main.hs
other-modules:
Cite
Cite.Helpers.Person
Crossref
TestWorks
build-depends:
abbotsbury
, tasty
, tasty-hunit
, directory , filepath >=1.3.0.0
-- vim:ts=2 sw=2