From e67a79ced89627566b41a87851144faffbdf6bcc Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 9 Nov 2025 21:42:03 +0000 Subject: [PATCH] gnu: Add go-github-com-apparentlymart-go-cidr. * gnu/packages/golang-web.scm (go-github-com-apparentlymart-go-cidr): New variable. Change-Id: I76da6ea6d92397261f6a39b443fb19a5b09549f3 --- gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 5dee4657e474433c9e4a260e92b4211d9a584d8c..396394340504443cb05ca4b4465f608cd2ae627f 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -872,6 +872,34 @@ supporting @acronym{GELF, Graylog Extended Log Format} specified in @url{Graylog Documentation, https://go2docs.graylog.org/current/home.html}.") (license license:expat))) +(define-public go-github-com-apparentlymart-go-cidr + (package + (name "go-github-com-apparentlymart-go-cidr") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/apparentlymart/go-cidr") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "12b8qhazgdqr9p3sw5vma7va5j1fvm454cyd0ccc0wi96df3wk4i")))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "github.com/apparentlymart/go-cidr")) + (home-page "https://github.com/apparentlymart/go-cidr") + (synopsis "CIDR netmasks manipulation library for Golang") + (description + "Package cidr is a collection of assorted utilities for computing network +and host addresses within network ranges. It expects a CIDR-type address +structure where addresses are divided into some number of prefix bits +representing the network and then the remaining suffix bits represent the +host.") + (license license:expat))) + (define-public go-github-com-arceliar-ironwood (package (name "go-github-com-arceliar-ironwood")