packages feed

citation-resolve-0.3: citation-resolve.cabal

-- Initial citation-resolve.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                citation-resolve
version:             0.3
synopsis:            convert document IDs such as DOI, ISBN, arXiv ID to bibliographic reference.
description:         
  This modules provides a way to convert document identifiers, such
  as DOIs, ISBNs, arXiv IDs to bibliographic references.
  
  .

  Each type of identifiers will be converted via internet services
  to a bibliographic record of type 'Text.CSL.Reference' , which in
  turn can be rendered in various format using @citeproc-hs@ package
  <hackage.haskell.org/package/citeproc-hs> .
  
  .

  Moreover, the server responses are cached in a local database,
  making the server load as little as possible.



homepage:            https://github.com/nushio3/citation-resolve
license:             BSD3
license-file:        LICENSE
author:              Takayuki Muranushi
maintainer:          muranushi@gmail.com
-- copyright:           
category:            Text
build-type:          Custom
cabal-version:       >=1.8

Data-Files:          bibtex.csl, isbn2bibtex.xsl, default.db

library
  exposed-modules:  
    Text.CSL.Input.Identifier
    Text.CSL.Input.Identifier.Internal

  other-modules:   
    Paths_citation_resolve

  Hs-Source-Dirs: src

  build-depends:     
      base >=4.5 &&  <5
    , aeson >= 0.6.1
    , bytestring >= 0.9.2.1
    , citeproc-hs >= 0.3.7
    , containers >= 0.5
    , curl >= 1.3.8
    , data-default
    , directory >= 1.2    
    , download-curl >= 0.1.4 
    , either >= 3.4.1
    , lens >= 3.9.0.2
    , MissingH >= 1.1
    , mtl >= 2.1.2
--  , hxt >= 9.3.1       -- TODO: treat xsl more properly 
--  , hxt-xslt >= 9.1.1  -- using these libraries.
    , process >= 1.1
    , safe
    , text >= 0.11
    , transformers >= 0.3
    , yaml >= 0.8.4

Test-Suite doctests
  Type: exitcode-stdio-1.0
  HS-Source-Dirs: test
  Ghc-Options: -Wall -threaded 
  Main-Is: doctests.hs
  
  Build-Depends:
      base
    , directory >= 1.1
    , filepath >= 1.2
    , MissingH >= 1.1
    , doctest >= 0.9.3

Test-Suite spec
  Type: exitcode-stdio-1.0
  Hs-Source-Dirs: test
  Ghc-Options: -Wall
  Main-Is: Spec.hs
  Other-Modules: 
                    
  Build-Depends: 
      base >=4.5 && < 5
    , binary-search
    , hspec >= 1.3
    , QuickCheck >= 2.5

Source-Repository head
  Type:                 git
  Location:             https://github.com/nushio3/citation-resolve