diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2015-2017, Michel Boucey.
+Copyright (c) 2015-2021, Michel Boucey.
 
 All rights reserved.
 
diff --git a/app/Main.hs b/app/Main.hs
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -35,7 +35,7 @@
   , prefix = ""
     &= typ " <Prefix>"
     &= help "Set a prefix for random addresses generation"
-  } &= summary ("ip6addr version " <> version <> " (c) Michel Boucey 2011-2018")
+  } &= summary ("ip6addr version " <> version <> " (c) Michel Boucey 2011-2021")
     &= program "ip6addr"
     &= helpArg [name "h"]
     &= details [ "Examples:"
@@ -76,4 +76,5 @@
         else Prelude.putStrLn "See help" >> exitFailure
     maybeUNC t = toUNC <$> maybePureIPv6Addr t
     maybeIP6ARPA t = toIP6ARPA <$> maybeFullIPv6Addr t
+    fromIPv6Addr (IPv6Addr a) = a
 
diff --git a/ip6addr.cabal b/ip6addr.cabal
--- a/ip6addr.cabal
+++ b/ip6addr.cabal
@@ -1,33 +1,37 @@
-cabal-version: >=1.10
-name: ip6addr
-version: 1.0.1
-license: BSD3
-license-file: LICENSE
-copyright: Copyright (c) 2011-2020 - Michel Boucey
-maintainer: michel.boucey@gmail.com
-author: Michel Boucey
-tested-with: ghc ==8.4.3 || ==8.6.5 || ==8.8.1
-homepage: https://github.com/MichelBoucey/ip6addr
-synopsis: Commandline tool to deal with IPv6 address text representations
+cabal-version:      >=1.10
+name:               ip6addr
+version:            1.0.2
+license:            BSD3
+license-file:       LICENSE
+copyright:          Copyright (c) 2011-2021 - Michel Boucey
+maintainer:         michel.boucey@gmail.com
+author:             Michel Boucey
+tested-with:
+    ghc ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.1 || ==8.10.4 || ==9.0.1
+
+homepage:           https://github.com/MichelBoucey/ip6addr
+synopsis:
+    Commandline tool to deal with IPv6 address text representations
+
 description:
     Commandline tool to validate, canonize and generate IPv6 address text representations
-category: Network,Console
-build-type: Simple
-extra-source-files:
-    README.md
 
+category:           Network,Console
+build-type:         Simple
+extra-source-files: README.md
+
 source-repository head
-    type: git
+    type:     git
     location: https://github.com/MichelBoucey/ip6addr.git
 
 executable ip6addr
-    main-is: Main.hs
-    hs-source-dirs: app
+    main-is:          Main.hs
+    hs-source-dirs:   app
     default-language: Haskell2010
     other-extensions: DeriveDataTypeable OverloadedStrings
-    ghc-options: -Wall
+    ghc-options:      -Wall
     build-depends:
         base >=4.8 && <5,
         cmdargs >=0.10.13 && <0.11,
-        IPv6Addr >=1.1.3 && <1.2.0,
+        IPv6Addr >=2.0.0 && <2.1,
         text >=1.2.2 && <1.3
