diff mbox series

[bug#48729,v2,46/47] gnu: Add go-0xacab-org-leap-go-dialog.

Message ID 20210603205110.7102-46-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-0xacab-org-leap-go-dialog): New variable.
---
 gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f92e14ad28..96bf6e6551 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -74,6 +74,38 @@ 
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-0xacab-org-leap-go-dialog
+  (let ((commit "0ee8438431a0dca8f25ea788d74bfe7e88078b7a")
+        (revision "25"))
+    (package
+      (name "go-0xacab-org-leap-go-dialog")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://0xacab.org/leap/go-dialog")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1dn2dxpg6162f7vyr66vnwhy31wnjj7f14bqdcs7q0wk890kfh21"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "0xacab.org/leap/go-dialog"))
+      (native-inputs
+       `(("gtk+:bin" ,gtk+ "bin")
+         ("pkg-config" ,pkg-config)))
+      (inputs
+       `(("gtk+" ,gtk+)))
+      (propagated-inputs
+       `(("go-github-com-gotk3-gotk3"
+          ,go-github-com-gotk3-gotk3)))
+      (home-page "https://0xacab.org/leap/go-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-sqweek-dialog
   (let ((commit "8a3d98e8211d6ee4351f31eb597043631002144b")
         (revision "30"))