Commits

Sebastián Magrí  committed ad98c80

Fix and improve cabal file

  • Participants
  • Parent commits ae969e1

Comments (0)

Files changed (2)

+import Distribution.Simple
+main = defaultMain
-name: hscd
-version: 0.0.1
-category: Network
-license: BSD3
-license-file: LICENSE
-author: Sebastián Ramírez Magrí
-maintainer: Sebastián Ramírez Magrí <sebasmagri@gmail.com>
-stability: experimental
-build-type: Simple
-cabal-version: >= 1.8
-synopsis: A client and library for SoundCloud.com written in Haskell
-description: A client and library for SoundCloud.com written in Haskell
+name:           hscd
+version:        0.0.1
+category:       Network
+license:        BSD3
+license-file:   LICENSE
+copyright:      (c) 2012 Sebastián Ramírez Magrí
+author:         Sebastián Ramírez Magrí
+maintainer:     Sebastián Ramírez Magrí <sebasmagri@gmail.com>
+stability:      experimental
+tested-with:    GHC == 7.4.1
+cabal-version:  >= 1.8
+build-type:     Simple
+homepage:       https://bitbucket.org/sebasmagri/hscd
+bug-reports:    https://bitbucket.org/sebasmagri/hscd/issues
+synopsis:       Command line client and library for SoundCloud.com
+description:
+    A command line client and library to access SoundCloud.com.
+    .
+    Supports fetching tracks and getting information about tracks,
+    users, sets, groups and SoundCloud apps.
+extra-source-files:
+    README.rst
+    LICENSE
+
+source-repository head
+    type:     mercurial
+    location: https://bitbucket.org/sebasmagri/hscd
+
+library
+    build-depends: aeson == 0.4.0.0
+                 , base == 4.*
+                 , bytestring
+                 , ghc-prim
+                 , HTTP
+    hs-source-dirs: src/
+    exposed-modules:
+        Network.SoundCloud
+        Network.SoundCloud.App
+        Network.SoundCloud.Comment
+        Network.SoundCloud.Const
+        Network.SoundCloud.Group
+        Network.SoundCloud.MiniUser
+        Network.SoundCloud.Set
+        Network.SoundCloud.Track
+        Network.SoundCloud.User
+        Network.SoundCloud.Util
+    ghc-options: -W -Wall
+
+
 executable hscd
-           build-depends: aeson
-                        , base
-                        , bytestring
-                        , ghc-prim
-                        , HTTP
-           main-is: hscd.hs
-           hs-source-dirs: src/
-           ghc-options: -W -Wall
+    build-depends: aeson == 0.4.0.0
+                 , base == 4.*
+                 , bytestring
+                 , ghc-prim
+                 , HTTP
+    main-is: hscd.hs
+    hs-source-dirs: src/
+    ghc-options: -W -Wall