guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

69/88: gnu: Add go-go-abhg-dev-requiredfield.


From: guix-commits
Subject: 69/88: gnu: Add go-go-abhg-dev-requiredfield.
Date: Fri, 6 Dec 2024 16:17:30 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 10723659523d462f15bbd5b4b9ab2c7f5a7a4ae0
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Tue Dec 3 14:14:55 2024 +0100

    gnu: Add go-go-abhg-dev-requiredfield.
    
    * gnu/packages/golang-check.scm (go-go-abhg-dev-requiredfield): New 
variable.
    
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
    Change-Id: Ic406bde1a994857f3b3fa15f0f9c5fef333f9726
---
 gnu/packages/golang-check.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 91e04575d2..3f1f614d95 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
 ;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
 ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1200,6 +1201,32 @@ functions and even in applications.")
 functions for writing tests in an @code{xUnit} style.")
     (license license:expat)))
 
+(define-public go-go-abhg-dev-requiredfield
+  (package
+    (name "go-go-abhg-dev-requiredfield")
+    (version "0.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/abhinav/requiredfield";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "15dccs71is06wi8xi3y2nnwpcpqbsh4pas4iggdr514aix8ljknf"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "go.abhg.dev/requiredfield"))
+    (propagated-inputs
+     (list go-golang-org-x-tools))
+    (home-page "https://go.abhg.dev/requiredfield";)
+    (synopsis "Linter for required struct fields")
+    (description
+     "This package implements a linter that checks for required fields during
+struct initialization.")
+    (license license:bsd-3)))
+
 (define-public go-go-etcd-io-gofail
   (package
     (name "go-go-etcd-io-gofail")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]