summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2015-12-29 15:00:15 +1000
committerBen Woodcroft <donttrustben@gmail.com>2016-01-26 16:22:17 +1000
commitf3e085a8d57070f7507b6a4624221fbec4c8addf (patch)
treed48e8f1482251604caf95b96687e1d3e1b3f2ea0
parent1f1d71e09f1bc66ece977ed2e7be229c38cd0f5f (diff)
downloadguix-f3e085a8d57070f7507b6a4624221fbec4c8addf.tar.gz
gnu: Add ruby-afm.
* gnu/packages/ruby.scm (ruby-afm): New variable.
-rw-r--r--gnu/packages/ruby.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index fdfd9367c2..e1a36aa3db 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3233,3 +3233,24 @@ specific use case.")
      "RubyRC4 is a pure Ruby implementation of the RC4 algorithm.")
     (home-page "https://github.com/caiges/Ruby-RC4")
     (license license:expat)))
+
+(define-public ruby-afm
+  (package
+    (name "ruby-afm")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "afm" version))
+       (sha256
+        (base32
+         "06kj9hgd0z8pj27bxp2diwqh6fv7qhwwm17z64rhdc4sfn76jgn8"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("bundler" ,bundler)))
+    (synopsis "Read Adobe Font Metrics (afm) files")
+    (description
+     "This library provides methods to read @dfn{Adobe Font Metrics} (afm)
+files and use the data therein.")
+    (home-page "http://github.com/halfbyte/afm")
+    (license license:expat)))