diff --git a/WeatherApi/Util.hs b/WeatherApi/Util.hs
deleted file mode 100644
--- a/WeatherApi/Util.hs
+++ /dev/null
@@ -1,5 +0,0 @@
-module WeatherApi.Util where
-
-mapName "data_" = "data"
-mapName "type_" = "type"
-mapName other  = other
diff --git a/WeatherApi/WWOnline.hs b/WeatherApi/WWOnline.hs
--- a/WeatherApi/WWOnline.hs
+++ b/WeatherApi/WWOnline.hs
@@ -8,7 +8,7 @@
 import Data.ByteString.Char8 (pack, unpack)
 import Data.Aeson
 import Data.Aeson.TH
-import Data.Attoparsec hiding (Result(..))
+import Data.Attoparsec.ByteString hiding (Result(..))
 import Data.Maybe
 
 import Control.Applicative
diff --git a/weather-api.cabal b/weather-api.cabal
--- a/weather-api.cabal
+++ b/weather-api.cabal
@@ -1,32 +1,39 @@
-Name:              weather-api
-Version:           0.4.3
-Synopsis:          Weather api implemented in haskell
-Description:
-        This library implement generic api for retrieving weather
-        by http, and has google weather api as example.
-
-Homepage: https://github.com/cvb/hs-weather-api.git
-License:           MIT
-License-file:      LICENSE
-Author:            Peter
-Maintainer:        peter@standalone.su
-Build-type:        Simple
-Category:          API
+-- This file has been generated from package.yaml by hpack version 0.17.0.
+--
+-- see: https://github.com/sol/hpack
 
-Cabal-version:     >= 1.6
-Library
-  Exposed-modules: WeatherApi, WeatherApi.WWOnline
-  Other-modules:
-    WeatherApi.Util
-  Build-depends:   base          == 4.*
-                  ,network       == 2.4.*
-                  ,HTTP          == 4000.2.*
-                  ,utf8-string   == 0.3.7
-                  ,aeson         == 0.6.*
-                  ,bytestring    == 0.10.*
-                  ,attoparsec    == 0.10.*
-                  ,vector        >= 0.9
+name:           weather-api
+version:        0.4.3.2
+synopsis:       Weather API implemented in Haskell
+description:    This library implement generic API for retrieving weather by HTTP, and has Google weather API as example.
+category:       API
+homepage:       https://github.com/cvb/hs-weather-api#readme
+bug-reports:    https://github.com/cvb/hs-weather-api/issues
+author:         Peter
+maintainer:     peter@standalone.su
+license:        MIT
+license-file:   LICENSE
+build-type:     Simple
+cabal-version:  >= 1.10
 
 source-repository head
-  type:     git
-  location: git://github.com/cvb/hs-weather-api.git
+  type: git
+  location: https://github.com/cvb/hs-weather-api
+
+library
+  build-depends:
+      base < 5
+    , HTTP
+    , aeson
+    , attoparsec
+    , bytestring
+    , network
+    , network-uri
+    , utf8-string
+    , vector
+  exposed-modules:
+      WeatherApi
+      WeatherApi.WWOnline
+  other-modules:
+      Paths_weather_api
+  default-language: Haskell2010
