packages feed

socket-unix 0.2.0.0 → 0.2.1.0

raw patch · 3 files changed

+55/−42 lines, 3 filesdep ~asyncdep ~basedep ~bytestringnew-uploaderPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: async, base, bytestring, socket, tasty, tasty-hunit, unix

API changes (from Hackage documentation)

+ System.Socket.Family.Unix: data family SocketAddress f
+ System.Socket.Family.Unix: getUnixPath :: SocketAddress Unix -> Maybe ByteString
+ System.Socket.Family.Unix: socketAddressUnixAbstract :: ByteString -> Maybe (SocketAddress Unix)
+ System.Socket.Family.Unix: socketAddressUnixPath :: ByteString -> Maybe (SocketAddress Unix)

Files

+ CHANGELOG.md view
@@ -0,0 +1,8 @@+# Changelog++## [0.2.1.0] - 2025-03-20+- Updated repository URL to [https://github.com/flip111/haskell-socket-unix](https://github.com/flip111/haskell-socket-unix).+- Package builds with GHC versions 8.4.4 (lts-12.26) to 9.8.4 (lts-23.15)++## [0.2.0.0] and earlier+No changelog available for now
README.md view
@@ -1,9 +1,15 @@-[![Available on Hackage][badge-hackage]][hackage]-[![License MIT][badge-license]][license]-[![Build Status][badge-travis]][travis]+[![Available on Hackage](https://img.shields.io/hackage/v/socket-unix.svg?dummy)](https://hackage.haskell.org/package/socket-unix)+[![License MIT](https://img.shields.io/badge/license-MIT-blue.svg?dummy)](https://github.com/flip111/haskell-socket-unix/blob/master/LICENSE)+[![Build Status](https://github.com/flip111/haskell-socket-unix/actions/workflows/ci.yml/badge.svg)](https://github.com/flip111/haskell-socket-unix/actions)+[![Stackage LTS](https://stackage.org/package/socket-unix/badge/lts)](https://stackage.org/package/socket-unix)+[![GitHub release](https://img.shields.io/github/release/flip111/haskell-socket-unix.svg)](https://github.com/flip111/haskell-socket-unix/releases)+ # socket-unix A Unix domain socket API for the [socket](https://github.com/lpeterse/haskell-socket) library. +This is a fork maintained at [GitHub](https://github.com/flip111/haskell-socket-unix).  +Please refer to this repository for the latest updates, issue tracking, and contributions.+ ## Usage Creating the Unix domain socket: ```haskell@@ -20,15 +26,9 @@              Just addr -> pure addr              Nothing -> putStrLn "invalid pathname for socket" ```+ ### Symlinks Binding to a socket with a filename creates a socket in the filesystem, but does not unlink it after `close` called. You should handle deleting links yourself.+ ## Portability Linux and OS X are supported.---[badge-travis]: https://img.shields.io/travis/VyacheslavHashov/haskell-socket-unix.svg-[travis]: https://travis-ci.org/VyacheslavHashov/haskell-socket-unix-[badge-hackage]: https://img.shields.io/hackage/v/socket-unix.svg?dummy-[hackage]: https://hackage.haskell.org/package/socket-unix-[badge-license]: https://img.shields.io/badge/license-MIT-blue.svg?dummy-[license]: https://github.com/vyacheslavhashov/haskell-socket-unix/blob/master/LICENSE
socket-unix.cabal view
@@ -1,19 +1,24 @@+cabal-version:       2.2+ name:                socket-unix-version:             0.2.0.0+version:             0.2.1.0 synopsis:            Unix domain sockets description:         A Unix domain socket extension for the socket library-homepage:            https://github.com/vyacheslavhashov/haskell-socket-unix#readme-license:             MIT +homepage:            https://github.com/flip111/haskell-socket-unix#readme+license:             MIT license-file:        LICENSE-author:              Vyacheslav Hashov-maintainer:          vyacheslavhashov@gmail.com+author:              flip111, Vyacheslav Hashov+maintainer:          flip101@gmail.com, vyacheslavhashov@gmail.com copyright:           2017 Vyacheslav Hashov category:            System, Network stability:           Experimental build-type:          Simple-extra-source-files:  README.md-cabal-version:       >=1.10+extra-source-files:  README.md CHANGELOG.md +source-repository head+  type:     git+  location: https://github.com/flip111/haskell-socket-unix+ library   hs-source-dirs:      src   if os(linux)@@ -23,11 +28,13 @@   exposed-modules:     System.Socket.Family.Unix   other-modules:       System.Socket.Family.Unix.Internal                        System.Socket.Family.Unix.Platform-  build-depends:       base         >= 4.7      && < 5-                     , socket       >= 0.8.0.0  && < 0.9.0.0-                     , bytestring   >= 0.10.0.0 && < 0.11+  build-depends:+      base >= 4.11 && < 5+    , socket == 0.8.3.0+    , bytestring >= 0.10 && < 0.13 -  ghc-options:         -Wall -O2+  ghc-options:+    -Wall   default-language:    Haskell2010  test-suite default@@ -40,14 +47,15 @@   main-is:             test.hs   other-modules:       Internal                        Platform-  build-depends:       base         >= 4.7      && < 5-                     , socket       >= 0.8.0.0  && < 0.9.0.0-                     , socket-unix-                     , tasty        >= 0.11     && < 0.12-                     , tasty-hunit  >= 0.9      && < 0.10-                     , bytestring   >= 0.10.0.0 && < 0.11-                     , unix         >= 2.7      && < 3.0-                     , async        >= 2.0      && < 2.3+  build-depends:+      base >= 4.11 && < 5+    , socket == 0.8.3.0+    , socket-unix+    , tasty >= 1.1 && < 1.6+    , tasty-hunit >= 0.10 && < 0.11+    , bytestring >= 0.10 && < 0.13+    , unix >= 2.7 && < 2.9+    , async >= 2.2 && < 2.3   default-language:    Haskell2010  test-suite threaded@@ -60,17 +68,14 @@   main-is:             test.hs   other-modules:       Internal                        Platform-  build-depends:       base         >= 4.7      && < 5-                     , socket       >= 0.8.0.0  && < 0.9.0.0-                     , socket-unix-                     , tasty        >= 0.11     && < 0.12-                     , tasty-hunit  >= 0.9      && < 0.10-                     , bytestring   >= 0.10.0.0 && < 0.11-                     , unix         >= 2.7      && < 3.0-                     , async        >= 2.0      && < 2.3+  build-depends:+      base >= 4.11 && < 5+    , socket == 0.8.3.0+    , socket-unix+    , tasty >= 1.1 && < 1.6+    , tasty-hunit >= 0.10 && < 0.11+    , bytestring >= 0.10 && < 0.13+    , unix >= 2.7 && < 2.9+    , async >= 2.2 && < 2.3   ghc-options:         -threaded   default-language:    Haskell2010--source-repository head-  type:     git-  location: https://github.com/vyacheslavhashov/haskell-socket-unix