diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-09-08 15:38:21 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-09-09 21:05:18 +0100 |
commit | 319178c16e45979fddda1679dabe66ef07c5205b (patch) | |
tree | 4904b3b61b805d8b9b58eeeae655ffcc54f141cc | |
parent | bb22037ade7bcad037dcf687771d740e99b3121f (diff) | |
download | guix-319178c16e45979fddda1679dabe66ef07c5205b.tar.gz guix-319178c16e45979fddda1679dabe66ef07c5205b.zip |
gnu: Add go-github-com-mikioh-tcpopt.
* gnu/packages/golang-web.scm (go-github-com-mikioh-tcpopt): New variable.
Change-Id: Icf1d08566d2149c80ffca22a84bf819751b5656f
-rw-r--r-- | gnu/packages/golang-web.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 00b8ee6ac8..7de5a21031 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -3151,6 +3151,37 @@ Domain Name Service}. The API follows the less-is-more principle, by presenting a small interface.") (license license:bsd-3))) +(define-public go-github-com-mikioh-tcpopt + (package + (name "go-github-com-mikioh-tcpopt") + (version "0.0.0-20190314235656-172688c1accc") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mikioh/tcpopt") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qdr0vmriy0wf6zg7hpq75g3b4nvp2p4gsc6xqvqg298v42zbrqj")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/mikioh/tcpopt" + #:phases + #~(modify-phases %standard-phases + ;; It inroduce cycle with go-github-com-mikioh-tcp. + (add-after 'unpack 'remove-examples + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (delete-file "example_test.go"))))))) + (home-page "https://github.com/mikioh/tcpopt") + (synopsis "Encoding and decoding of TCP-level socket options in Golang") + (description + "This package implements an encoding and decoding of TCP-level socket +options.") + (license license:bsd-2))) + (define-public go-github-com-multiformats-go-multiaddr (package (name "go-github-com-multiformats-go-multiaddr") |