mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: Add ruby-faker.
* gnu/packages/ruby.scm (ruby-faker): New variable.
This commit is contained in:
parent
8509e977b4
commit
0a6f2b8f31
1 changed files with 32 additions and 0 deletions
|
@ -7669,6 +7669,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")
|
||||
|
|
Loading…
Reference in a new issue