diff mbox series

[bug#48729,v2,45/47] gnu: Add go-github-com-sqweek-dialog.

Message ID 20210603205110.7102-45-rg@raghavgururajan.name
State New
Headers show
Series None | expand

Commit Message

Raghav Gururajan June 3, 2021, 8:51 p.m. UTC
* gnu/packages/golang.scm (go-github-com-sqweek-dialog): New variable.
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d6e54c9d8b..f92e14ad28 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,35 @@ 
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-sqweek-dialog
+  (let ((commit "8a3d98e8211d6ee4351f31eb597043631002144b")
+        (revision "30"))
+    (package
+      (name "go-github-com-sqweek-dialog")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/sqweek/dialog")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1sdb4nddjyx1dkddk7cga71ymv1fd69pzdf4nywvfb33nfqqbvl1"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/sqweek/dialog"))
+      (native-inputs
+       `(("gtk+:bin" ,gtk+ "bin")
+         ("pkg-config" ,pkg-config)))
+      (inputs
+       `(("gtk+" ,gtk+)))
+      (home-page "https://github.com/sqweek/dialog")
+      (synopsis "Dialog API for Go")
+      (description "Dialog is a simple cross-platform dialog API for go-lang.")
+      (license license:isc))))
+
 (define-public go-github-com-skratchdot-open-golang
   (let ((commit "eef8423979666925a58eb77f9db583e54320d5a4")
         (revision "28"))