packages feed

ohloh-hs-0.0.2: ohloh-hs.cabal

name:               ohloh-hs
version:            0.0.2
synopsis:           Interface to the Ohloh API
description:
  ohloh-hs is an interface to the Ohloh API (<http://www.ohloh.net>), which
  provides access to the data of the Ohloh open source directory. It consists
  mainly of simple data types for the items exposed by the API and
  corresponding "Text.XML.HXT.Arrow.Pickle" pickler functions in order to
  convert those types from\/to XML easily.

homepage:           https://github.com/fthomas/ohloh-hs
bug-reports:        https://github.com/fthomas/ohloh-hs/issues
license:            BSD3
license-file:       LICENSE
author:             Frank S. Thomas <frank@timepit.eu>
maintainer:         Frank S. Thomas <frank@timepit.eu>
category:           Web
stability:          experimental
build-type:         Simple
cabal-version:      >= 1.9.2
extra-source-files: README.md TODO tests/read-haskell.xml

source-repository head
  type:             git
  location:         https://github.com/fthomas/ohloh-hs

library
  exposed-modules:  Web.Ohloh
                    Web.Ohloh.Account
                    Web.Ohloh.ActivityFact
                    Web.Ohloh.Analysis
                    Web.Ohloh.Common
                    Web.Ohloh.ContributorFact
                    Web.Ohloh.ContributorLanguageFact
                    Web.Ohloh.Enlistment
                    Web.Ohloh.Factoid
                    Web.Ohloh.Kudo
                    Web.Ohloh.KudoScore
                    Web.Ohloh.Language
                    Web.Ohloh.Lens.IdL
                    Web.Ohloh.Lens.NameL
                    Web.Ohloh.Lens.UpdatedAtL
                    Web.Ohloh.Project
                    Web.Ohloh.Repository
                    Web.Ohloh.Response
                    Web.Ohloh.ResultType
                    Web.Ohloh.SizeFact
                    Web.Ohloh.Stack
                    Web.Ohloh.StackEntry
  build-depends:    base >= 4 && < 5,
                    data-lens,
                    hxt,
                    text-format-simple

executable cmdoh
  main-is:          cmdoh.hs
  hs-source-dirs:   . tools
  ghc-options:      -Wall
                    -fno-warn-missing-signatures
                    -fno-warn-name-shadowing
  build-depends:    base >= 4 && < 5,
                    data-lens,
                    hxt,
                    hxt-curl,
                    cmdargs,
                    pretty-show,
                    text-format-simple

--executable fetch-haskell
--  main-is:          fetch-haskell.hs
--  hs-source-dirs:   . tests
--  ghc-options:      -Wall
--                    -fno-warn-missing-signatures
--                    -fno-warn-name-shadowing
--  build-depends:    base >= 4 && < 5,
--                    data-lens,
--                    hxt,
--                    hxt-curl,
--                    pretty-show,
--                    text-format-simple
--
--executable read-haskell
--  main-is:          read-haskell.hs
--  hs-source-dirs:   . tests
--  ghc-options:      -Wall
--                    -fno-warn-missing-signatures
--                    -fno-warn-name-shadowing
--  build-depends:    base >= 4 && < 5,
--                    data-lens,
--                    hxt,
--                    pretty-show,
--                    text-format-simple
--
--executable update-queries
--  main-is:          update.hs
--  hs-source-dirs:   . tests/queries
--  ghc-options:      -Wall
--                    -fno-warn-missing-signatures
--                    -fno-warn-name-shadowing
--  build-depends:    base >= 4 && < 5,
--                    bytestring,
--                    data-lens,
--                    download-curl,
--                    hxt,
--                    text-format-simple

test-suite tests
  type:             exitcode-stdio-1.0     
  main-is:          Main.hs
  hs-source-dirs:   tests
  ghc-options:      -Wall
                    -fno-warn-name-shadowing
  build-depends:    base >= 4 && < 5,
                    data-lens,
                    hxt,
                    text-format-simple,
                    test-framework,
                    test-framework-quickcheck2,
                    QuickCheck