liblastfm-0.6.1: liblastfm.cabal
name: liblastfm
version: 0.6.1
synopsis: Lastfm API interface
license: MIT
license-file: LICENSE
author: Matvey Aksenov, Dmitry Malikov
maintainer: Matvey Aksenov <matvey.aksenov@gmail.com>
category: Network APIs
description:
Provides interface to Lastfm REST API, supports XML and JSON formats.
cabal-version: >= 1.10
build-type: Simple
extra-source-files:
README.markdown
CHANGELOG.markdown
example/README.markdown
example/desktop-authentication.hs
example/liblastfm-examples.cabal
example/mobile-authentication.hs
example/multitag-search.hs
example/playcount.hs
example/recommendations.hs
example/sort-friends.hs
example/web-authentication.hs
source-repository head
type: git
location: https://github.com/supki/liblastfm
source-repository this
type: git
location: https://github.com/supki/liblastfm
tag: 0.6.1
flag test-api
description: a real API test
default: False
manual: True
library
default-language:
Haskell2010
build-depends:
aeson
, base >= 4 && < 5
, bytestring
, cereal
, containers >= 0.5
, cryptonite >= 0.7
, http-client >= 0.5
, http-client-tls >= 0.2
, network-uri
, profunctors
, semigroups
, transformers
, text
, xml-conduit >= 1.1
hs-source-dirs:
src
exposed-modules:
Lastfm
Lastfm.Album
Lastfm.Artist
Lastfm.Authentication
Lastfm.Chart
Lastfm.Event
Lastfm.Geo
Lastfm.Group
Lastfm.Internal
Lastfm.Library
Lastfm.Playlist
Lastfm.Radio
Lastfm.Request
Lastfm.Response
Lastfm.Tag
Lastfm.Tasteometer
Lastfm.Track
Lastfm.User
Lastfm.Venue
ghc-options:
-Wall
-funbox-strict-fields
test-suite api
if !flag(test-api)
buildable: False
default-language:
Haskell2010
type:
exitcode-stdio-1.0
build-depends:
aeson
, base >= 4 && < 5
, bytestring
, HUnit
, http-client
, http-client-tls
, lens-aeson >= 1.0.0.1
, lens >= 4.4
, liblastfm
, hspec
, text
, xml-html-conduit-lens >= 0.3
hs-source-dirs:
test/api
main-is:
Spec.hs
other-modules:
SpecHelper
Json.AlbumSpec
Json.ArtistSpec
Json.ChartSpec
Json.EventSpec
Json.GeoSpec
Json.GroupSpec
Json.LibrarySpec
Json.PlaylistSpec
Json.TagSpec
Json.TasteometerSpec
Json.TrackSpec
Json.UserSpec
Json.VenueSpec
Xml.AlbumSpec
Xml.ArtistSpec
Xml.ChartSpec
Xml.EventSpec
Xml.GeoSpec
Xml.GroupSpec
Xml.LibrarySpec
Xml.PlaylistSpec
Xml.TagSpec
Xml.TasteometerSpec
Xml.TrackSpec
Xml.UserSpec
Xml.VenueSpec
ghc-options:
-Wall
-fno-warn-orphans
test-suite spec
default-language:
Haskell2010
type:
exitcode-stdio-1.0
build-depends:
aeson
, base >= 4 && < 5
, bytestring
, cereal
, containers
, cryptonite
, hspec
, hspec-expectations-lens >= 0.3.0.0
, http-client
, http-client-tls
, lens >= 4.4
, lens-aeson >= 1.0.0.1
, network-uri
, profunctors
, text
, transformers
, xml-conduit
, xml-html-conduit-lens >= 0.3
hs-source-dirs:
src
test/spec
main-is:
Spec.hs
other-modules:
Lastfm.ResponseSpec
ghc-options:
-Wall
cpp-options:
-DTEST