From 8129ea8f4d61a1cda82b4210d6e42dde2f9b9597 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 28 Jan 2023 21:56:51 +0800 Subject: [PATCH] rosenthal: Add go-github-com-duke-git-lancet-v2. * rosenthal/packages/golang.scm (go-github-com-duke-git-lancet-v2): New variable. --- rosenthal/packages/golang.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/rosenthal/packages/golang.scm b/rosenthal/packages/golang.scm index ae0c380..2f51871 100644 --- a/rosenthal/packages/golang.scm +++ b/rosenthal/packages/golang.scm @@ -29,6 +29,36 @@ (description "This package provides a Go port of DiceBear Avatars.") (license license:expat))) +(define-public go-github-com-duke-git-lancet-v2 + (package + (name "go-github-com-duke-git-lancet-v2") + (version "2.1.13") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/duke-git/lancet") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "19v5hipcdsf2qc3vs0vhyigpjsym27lfxxdhry4ghwz1snf4zai4")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/duke-git/lancet/v2" + ;; Source-only package + #:tests? #f + #:phases + (modify-phases %standard-phases + ;; Source-only package + (delete 'build)))) + (home-page "https://pkg.go.dev/github.com/duke-git/lancet/v2") + (synopsis "Util function library of Go") + (description + "This package provides Lancet, a comprehensive, efficient, and reusable +util function library of Go. Inspired by the java apache common package and +lodash.js.") + (license license:expat))) + (define-public go-github-com-google-gopacket (package (name "go-github-com-google-gopacket")