Patchwork [1/2] gnu: Add ruby-hoe-git.

login
register
mail settings
Submitter Ben Woodcroft
Date June 8, 2016, 12:55 p.m.
Message ID <1465390550-4974-2-git-send-email-donttrustben@gmail.com>
Download mbox | patch
Permalink /patch/12877/
State New
Headers show

Comments

Ben Woodcroft - June 8, 2016, 12:55 p.m.
* gnu/packages/ruby.scm (ruby-hoe-git): New variable.
---
 gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
David Thompson - June 8, 2016, 1:09 p.m.
On Wed, Jun 8, 2016 at 8:55 AM, Ben Woodcroft <donttrustben@gmail.com> wrote:
> * gnu/packages/ruby.scm (ruby-hoe-git): 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 527f76b..d2b49ba 100644
> --- a/gnu/packages/ruby.scm
> +++ b/gnu/packages/ruby.scm
> @@ -3939,6 +3939,28 @@ part of the Prawn PDF generator.")
>      ;; for details."
>      (license (list license:gpl2 license:gpl3 license:ruby))))
>
> +(define-public ruby-hoe-git
> +  (package
> +    (name "ruby-hoe-git")
> +    (version "1.6.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (rubygems-uri "hoe-git" version))
> +       (sha256
> +        (base32
> +         "10jmmbjm0lkglwxbn4rpqghgg1ipjxrswm117n50adhmy8yij650"))))
> +    (build-system ruby-build-system)
> +    (native-inputs
> +     `(("ruby-hoe" ,ruby-hoe)))

Why is this a native input?

Also, I would have expected git to be an input.  How does this gem
interact with git?

> +    (synopsis "Hoe plugins for tighter Git integration")
> +    (description
> +     "This package provides a set of Hoe plugins for tighter Git integration.
> +It provides tasks to automate release tagging and pushing and changelog
> +generation.")
> +    (home-page "http://github.com/jbarnette/hoe-git")
> +    (license license:expat)))
> +
>  (define-public ruby-sequel
>    (package
>      (name "ruby-sequel")
> --
> 2.7.4
>
>

- Dave

Patch

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 527f76b..d2b49ba 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3939,6 +3939,28 @@  part of the Prawn PDF generator.")
     ;; for details."
     (license (list license:gpl2 license:gpl3 license:ruby))))
 
+(define-public ruby-hoe-git
+  (package
+    (name "ruby-hoe-git")
+    (version "1.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "hoe-git" version))
+       (sha256
+        (base32
+         "10jmmbjm0lkglwxbn4rpqghgg1ipjxrswm117n50adhmy8yij650"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("ruby-hoe" ,ruby-hoe)))
+    (synopsis "Hoe plugins for tighter Git integration")
+    (description
+     "This package provides a set of Hoe plugins for tighter Git integration.
+It provides tasks to automate release tagging and pushing and changelog
+generation.")
+    (home-page "http://github.com/jbarnette/hoe-git")
+    (license license:expat)))
+
 (define-public ruby-sequel
   (package
     (name "ruby-sequel")