>From 9f7faeee96919ce78991e2c8321a329eab5bda75 Mon Sep 17 00:00:00 2001
From: David Thompson <da...@gnu.org>
Date: Sat, 13 Jun 2015 08:06:12 -0400
Subject: [PATCH 3/3] gnu: Add ruby-multipart-post.

* gnu/packages/ruby.scm (ruby-multipart-post): New variable.
---
 gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index b248eab..09637c3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -625,3 +625,25 @@ and manipulate Git repositories by wrapping system calls to the git binary.")
 options and parsing command line flags.")
     (home-page "https://github.com/leejarvis/slop";)
     (license license:expat)))
+
+(define-public ruby-multipart-post
+  (package
+    (name "ruby-multipart-post")
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/nicksieger/multipart-post/archive/v";
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "03n271i3knfx4j9aingxzz2bajd379dw9nswsllviqc177lq1anm"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("bundler" ,bundler)))
+    (synopsis "Multipart POST library for Ruby")
+    (description "Multipart-Post Adds multipart POST capability to Ruby's
+net/http library.")
+    (home-page "https://github.com/nicksieger/multipart-post";)
+    (license license:expat)))
-- 
2.2.1

-- 
David Thompson
GPG Key: 0FF1D807

Reply via email to