From 1d47f7526628c0fbfa6079ebcb3cd8c82c5304ea Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sat, 8 Aug 2020 23:24:33 +0300 Subject: gnu: Add go-github-com-dlclark-regexp2. * gnu/packages/golang.scm (go-github-com-dlclark-regexp2): New variable. --- gnu/packages/golang.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index da5d584ff1..ee501e8d0b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4496,3 +4496,24 @@ template functions.") (description "@code{doublestar} is a Go implementation of path pattern matching and globbing with support for \"doublestar\" patterns.") (license license:expat))) + +(define-public go-github-com-dlclark-regexp2 + (package + (name "go-github-com-dlclark-regexp2") + (version "1.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dlclark/regexp2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/dlclark/regexp2")) + (home-page "https://github.com/dlclark/regexp2/") + (synopsis "Full featured regular expressions for Go") + (description "Regexp2 is a feature-rich RegExp engine for Go.") + (license license:expat))) -- cgit v1.2.3