ip6addr 2.0.0 → 2.0.0.1
raw patch · 3 files changed
+42/−11 lines, 3 filesdep ~optparse-applicative
Dependency ranges changed: optparse-applicative
Files
- README.md +26/−4
- app/ip6addr.hs +1/−1
- ip6addr.cabal +15/−6
README.md view
@@ -1,6 +1,6 @@-# ip6addr +# ip6addr  [](https://hackage.haskell.org/package/ip6addr) -## 1. Goal+## 1. Purpose `ip6addr` is a commandline tool that validates and generates IPv6 address text representations, based upon [the library IPv6Addr](https://github.com/MichelBoucey/IPv6Addr) : @@ -11,9 +11,31 @@ * Windows UNC path name * Random generation for test purpose -## 2. Usage+## 2. Install +### 2.1. With Cabal+ ```+cabal install ip6addr+```++### 2.2. With Nix++#### 2.2.1. From sources++```+nix-build+```++#### 2.2.2. From Nix Packages collection++```+nix profile install nixpkgs#haskellPackages.ip6addr+```++## 3. Usage++``` ip6addr v2.0.0 (c) Michel Boucey 2011-2024 Usage: ip6addr [-v|--version]@@ -41,7 +63,7 @@ *N.B.* : In version 2, flags and arguments have changed from version 1, but the main features are identical. -## 3. Examples+## 4. Examples ```bash [user@box ~]$ ip6addr 0:0::FFFF:192.0.2.128
app/ip6addr.hs view
@@ -17,7 +17,7 @@ showVer :: String showVer = "ip6addr v" <> showVersion version- <> " (c) Michel Boucey 2011-2024"+ <> " (c) Michel Boucey 2011-2025" main :: IO () main = do
ip6addr.cabal view
@@ -1,5 +1,5 @@ name: ip6addr-version: 2.0.0+version: 2.0.0.1 synopsis: Commandline tool to deal with IPv6 address text representations description: Commandline tool to validate, canonize and generate IPv6 address text representations license: BSD3@@ -7,13 +7,22 @@ author: Michel Boucey maintainer: michel.boucey@gmail.com homepage: https://github.com/MichelBoucey/ip6addr-Copyright: Copyright (c) 2011-2024 - Michel Boucey-Category: Network,Console+Copyright: Copyright (c) 2011-2025 - Michel Boucey+Category: Network, Cli build-type: Simple cabal-version: >=1.10 extra-source-files: README.md -Tested-With: GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.3 || ==9.8.2+Tested-With:+ GHC ==8.8.4+ || ==8.10.7+ || ==9.0.2+ || ==9.2.8+ || ==9.4.8+ || ==9.6.7+ || ==9.8.4+ || ==9.10.2+ || ==9.12.2 Source-Repository head Type: git@@ -27,8 +36,8 @@ , OverloadedStrings build-depends: base >= 4.8 && < 5 , IPv6Addr >= 2.0.0 && < 2.1- , optparse-applicative >= 0.14 && < 0.19+ , optparse-applicative >= 0.14 && < 1 , text >=1.1 && < 2.2 default-language: Haskell2010- GHC-Options: -Wall+ GHC-Options: -Wall -O2