@@ -74,6 +74,41 @@
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
+(define-public go-github-com-skratchdot-open-golang
+ (let ((commit "eef8423979666925a58eb77f9db583e54320d5a4")
+ (revision "28"))
+ (package
+ (name "go-github-com-skratchdot-open-golang")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/skratchdot/open-golang")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0n6387csjn024db8wldadsiy8ljz7lk7szl6ls28fcbkax7rw86y"))
+ (modules '((guix build utils)))
+ (snippet
+ `(begin
+ (delete-file-recursively "vendor")
+ #t))))
+ (build-system go-build-system)
+ (arguments
+ `(#:tests? #f ; requires networking
+ #:unpack-path "github.com/skratchdot/open-golang"
+ #:import-path "github.com/skratchdot/open-golang/open"))
+ (inputs
+ `(("xdg-open" ,xdg-utils)))
+ (home-page "https://github.com/skratchdot/open-golang")
+ (synopsis "Proxy for XDG-Open")
+ (description "Open-GoLang provides a module to open a file, directory, or
+URI using the OS's default application for that object type. Optionally, you can
+specify an application to use.")
+ (license license:expat))))
+
(define-public go-github-com-skelterjohn-go-wde
(let ((commit "adc3f78cdb457e9db21bfff010c85ed97315d8d7")
(revision "203"))