From e778a54950e8ba7c16e638289cae97e1e1975ea4 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 13 Jun 2015 08:06:12 -0400 Subject: [PATCH] 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 45175df170..ff30c4988a 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -642,3 +642,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)))