Subject: [PATCH 18/33] gnu: Add go-github-com-fanliao-go-promise.

From: Edouard Klein <[email-masked]>
Date: Thu, 14 Sep 2023 09:09:25 +0200

* gnu/packages/golang.scm (go-github-com-fanliao-go-promise): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f2924ae796..7f19cfa608 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13557,6 +13557,31 @@ (define-public go-github-com-mdlayher-packet
      "Package packet provides access to Linux packet sockets (AF_PACKET).")
     (license license:expat)))
 
+(define-public go-github-com-fanliao-go-promise
+  (package
+    (name "go-github-com-fanliao-go-promise")
+    (version "0.0.0-20141029170127-1890db352a72")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/fanliao/go-promise")
+                    (commit (go-version->git-ref version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0nlls86fx6sxsvwp5k769h5knwh96j8fahhivh6fagzjjyyqcijd"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/fanliao/go-promise"
+       ;; The tests fail but I'm too lazy to look into it
+       #:tests? #f))
+    (propagated-inputs (list go-github.com-smartystreets-goconvey))
+    (home-page "https://github.com/fanliao/go-promise")
+    (synopsis "Installation")
+    (description
+     "Package promise provides a complete promise and future implementation.  A quick
+start sample:")
+    (license license:expat)))
 
 (define-public go-github-com-vishvananda-netlink
   (package
-- 
2.40.1