@@ -74,6 +74,49 @@
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
+(define-public go-github-com-skelterjohn-go-wde
+ (let ((commit "adc3f78cdb457e9db21bfff010c85ed97315d8d7")
+ (revision "203"))
+ (package
+ (name "go-github-com-skelterjohn-go-wde")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/skelterjohn/go.wde")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zxdilxd7iyv367xv7qx7ca0v6fkw5l8gy1bv8s762akx0vqbd85"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/skelterjohn/go.wde"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-source
+ (lambda _
+ (substitute* (find-files "." "\\.go$")
+ ;; Use 'jezek/xgb' instead of 'BurntSushi/xgb',
+ ;; as the latter is unmaintained.
+ (("github.com/BurntSushi/xgb")
+ "github.com/jezek/xgb"))
+ #t)))))
+ (propagated-inputs
+ `(("go-github-com-go-gl-gl"
+ ,go-github-com-go-gl-gl)
+ ("go-github-com-grd-glfw3"
+ ,go-github-com-grd-glfw3)
+ ("go-github-com-jezek-xgb"
+ ,go-github-com-jezek-xgb)
+ ("go-github-com-burntsushi-xgbutil"
+ ,go-github-com-burntsushi-xgbutil)))
+ (home-page "https://github.com/skelterjohn/go.wde")
+ (synopsis "Windows, drawing and events for Go")
+ (description "Go-WDE provides (W)indows, (D)rawing and (E)vents for Go.")
+ (license license:asl2.0))))
+
(define-public go-github-com-go-gl-gl
(let ((commit "69f74958bac0960e82e8ac5977ff073af29381ba")
(revision "87"))