unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Yovan Naumovski via Guix-patches via <guix-patches@gnu.org>
To: 63452@debbugs.gnu.org
Cc: Yovan Naumovski <yovan@gorski.stream>
Subject: [bug#63452] [PATCH 4/5] gnu: Add ruby-faker.
Date: Thu, 11 May 2023 23:17:31 +0300	[thread overview]
Message-ID: <20230511201731.8600-1-yovan@gorski.stream> (raw)
In-Reply-To: <20230511201429.8353-1-yovan@gorski.stream>

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7b16d632ad..26a4fea0d7 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7342,6 +7342,38 @@ (define-public ruby-immutable-struct
     (home-page "https://stitchfix.github.io/immutable-struct/")
     (license license:expat)))
 
+(define-public ruby-faker
+  (package
+    (name "ruby-faker")
+    (version "3.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/faker-ruby/faker")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1wwdwh5qwaxnd9dl6732mj6b953l5r32r4936pj5680963iagq59"))))
+    (build-system ruby-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-rubocop-from-rakefile
+            (lambda _
+              (substitute* "Rakefile"
+                (("require 'rubocop/rake_task'") "")
+                (("RuboCop::RakeTask\\.new") "")))))))
+    (native-inputs (list ruby-yard ruby-simplecov ruby-timecop))
+    (propagated-inputs (list ruby-i18n))
+    (synopsis "Library for generating fake data")
+    (description "Faker is a port of Data::Faker from Perl. It is used to
+easily generate fake data: names, addresses, phone numbers, etc.")
+    (home-page "https://github.com/faker-ruby/faker")
+    (license license:expat)))
+
 (define-public ruby-terraform
   (package
   (name "ruby-terraform")
-- 
2.39.2





  parent reply	other threads:[~2023-05-11 20:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-11 20:14 [bug#63452] [PATCH 0/5] gnu: ruby-terraform: Update to 1.7.0 Yovan Naumovski via Guix-patches via
2023-05-11 20:15 ` [bug#63452] [PATCH 1/5] gnu: ruby-i18n: Update to 1.13.0 Yovan Naumovski via Guix-patches via
2023-05-11 20:16 ` [bug#63452] [PATCH 2/5] gnu: ruby-lino: Update to 3.1.0 Yovan Naumovski via Guix-patches via
2023-05-11 20:17 ` Yovan Naumovski via Guix-patches via [this message]
2023-05-11 20:17 ` [bug#63452] [PATCH 5/5] gnu: ruby-terraform: Update to 1.7.0 Yovan Naumovski via Guix-patches via
2023-05-11 20:29 ` [bug#63452] [PATCH 3/5] gnu: Add ruby-immutable-struct Yovan Naumovski via Guix-patches via
2023-07-10 13:02 ` bug#63452: [PATCH 0/5] gnu: ruby-terraform: Update to 1.7.0 Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230511201731.8600-1-yovan@gorski.stream \
    --to=guix-patches@gnu.org \
    --cc=63452@debbugs.gnu.org \
    --cc=yovan@gorski.stream \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).