diff options
| author | Yan Abu Arab <yanabuarab@gmail.com> | 2025-12-20 02:20:36 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-23 18:16:05 +0200 |
| commit | 6a67fe3830356fb74a42cd72b0187c836172584b (patch) | |
| tree | 83f2c94beea68e4ee685f190ccfb1c776d941e59 | |
| parent | 2aa5651579bef702956b6d365342e8daac471550 (diff) | |
gnu: Add ruby-ostruct.
* gnu/packages/ruby-xyz.scm (ruby-ostruct): New variable.
Change-Id: Id3aeac1448ea8eea2dc2d18f1f9948695b45a128
Signed-off-by: Steve George <steve@futurile.net>
| -rw-r--r-- | gnu/packages/ruby-xyz.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm index 4d9e6096a4d..e5f4ff44b30 100644 --- a/gnu/packages/ruby-xyz.scm +++ b/gnu/packages/ruby-xyz.scm | |||
| @@ -427,6 +427,30 @@ modules can be included into each other modules and saving all chain, including | |||
| 427 | (home-page "https://github.com/AlexWayfer/module_methods") | 427 | (home-page "https://github.com/AlexWayfer/module_methods") |
| 428 | (license license:expat))) | 428 | (license license:expat))) |
| 429 | 429 | ||
| 430 | (define-public ruby-ostruct | ||
| 431 | (package | ||
| 432 | (name "ruby-ostruct") | ||
| 433 | (version "0.6.3") | ||
| 434 | (source | ||
| 435 | (origin | ||
| 436 | (method url-fetch) | ||
| 437 | (uri (rubygems-uri "ostruct" version)) | ||
| 438 | (sha256 | ||
| 439 | (base32 "04nrir9wdpc4izqwqbysxyly8y7hsfr4fsv69rw91lfi9d5fv8lm")))) | ||
| 440 | (arguments | ||
| 441 | (list | ||
| 442 | ;; no tests | ||
| 443 | #:tests? #f)) | ||
| 444 | (build-system ruby-build-system) | ||
| 445 | (synopsis "Class to build custom data structures, similar to a Hash") | ||
| 446 | (description | ||
| 447 | "An OpenStruct is a data structure, similar to a Hash, that | ||
| 448 | allows the definition of arbitrary attributes with their accompanying values. | ||
| 449 | This is accomplished by using Ruby's metaprogramming to define methods on the | ||
| 450 | class itself.") | ||
| 451 | (home-page "https://github.com/ruby/ostruct") | ||
| 452 | (license (list license:bsd-2)))) | ||
| 453 | |||
| 430 | (define-public ruby-rsync | 454 | (define-public ruby-rsync |
| 431 | (package | 455 | (package |
| 432 | (name "ruby-rsync") | 456 | (name "ruby-rsync") |
