gnu: Add go-github-com-fogleman-gg.
authorEfraim Flashner <efraim@flashner.co.il>
Sun, 15 Mar 2020 21:13:04 +0000 (23:13 +0200)
committerEfraim Flashner <efraim@flashner.co.il>
Sun, 22 Mar 2020 07:12:49 +0000 (09:12 +0200)
* gnu/packages/golang.scm (go-github-com-fogleman-gg): New variable.

gnu/packages/golang.scm

index 5ab4bd5..52e8d7d 100644 (file)
@@ -3524,3 +3524,27 @@ characters with their ASCII approximations.")
       (description "The Freetype font rasterizer in the Go programming language.")
       (license (list license:freetype
                      license:gpl2+)))))
+
+(define-public go-github-com-fogleman-gg
+  (package
+    (name "go-github-com-fogleman-gg")
+    (version "1.3.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/fogleman/gg")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:tests? #f      ; Issue with test flags.
+       #:import-path "github.com/fogleman/gg"))
+    (propagated-inputs
+     `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
+    (home-page "https://github.com/fogleman/gg")
+    (synopsis "2D rendering in Go")
+    (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
+    (license license:expat)))