net/hs-ip 1.7.8nb1 NetBSD
Library for IP and MAC addresses
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- net
- Package size
- 874.8 KiB, 11498.8 KiB installed
Description
The ip package provides types and functions for dealing with IPv4 addresses, CIDR blocks, and MAC addresses. We provide instances for typeclasses found in commonly used packages like aeson, vector, and hashable. We also provide Parsers for working with attoparsec.
Notably, this package does not overload functions by introducing any typeclasses of its own. Neither does it prefix functions with the name of the type that they work on. Instead, functions of the same name are exported by several different modules, and it is expected that end users disambiguate by importing these modules qualified.
The only module intended to be imported unqualified is Net.Types. The types in this package should not conflict with the types in any other commonly used packages.
The following packages are intended to be used with this package:
* yesod-ip: Provides orphan instances needed to work with yesod and persistent. Also, provides a yesod-form helper.
Install
Binary package:
pkgin install hs-ip
From pkgsrc:
cd /usr/pkgsrc/net/hs-ip && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.7.8nb1 |
| NetBSD 10.1 aarch64 | 1.7.8nb1 |
| SmartOS / illumos x86_64 | 1.7.8nb1 |
| macOS 15 arm64 | 1.7.8nb1 |