diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-06-04 22:53:31 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-17 11:00:37 +0200 |
| commit | ae4129c919f5a3dbcf32ef3af348b555699eb437 (patch) | |
| tree | 316bc564945f33d97492e485559acd2c444ac789 /gnu | |
| parent | 9a32184d464a7e2de8dedb1b9f5e8dab471ca57a (diff) | |
gnu: Remove ruby-2.7.
* gnu/packages/ruby.scm (ruby-2.7): Delete variable.
Change-Id: If4fb4df8ad39a3aa3d3e7052e9f60d949c4f5885
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/ruby.scm | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 0cbda342e9e..e6b0f61aee0 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm | |||
| @@ -284,78 +284,6 @@ a focus on simplicity and productivity.") | |||
| 284 | (home-page "https://www.ruby-lang.org") | 284 | (home-page "https://www.ruby-lang.org") |
| 285 | (license license:ruby))) | 285 | (license license:ruby))) |
| 286 | 286 | ||
| 287 | (define-public ruby-2.7 | ||
| 288 | (package | ||
| 289 | (name "ruby") | ||
| 290 | (version "2.7.8") | ||
| 291 | (source | ||
| 292 | (origin | ||
| 293 | (method url-fetch) | ||
| 294 | (uri (string-append "https://cache.ruby-lang.org/pub/ruby/" | ||
| 295 | (version-major+minor version) | ||
| 296 | "/ruby-" version ".tar.gz")) | ||
| 297 | (sha256 | ||
| 298 | (base32 | ||
| 299 | "182vni66djmiqagwzfsd0za7x9k3zag43b88c590aalgphybdnn2")) | ||
| 300 | (modules '((guix build utils))) | ||
| 301 | (snippet `(begin | ||
| 302 | ;; Remove bundled libffi | ||
| 303 | (delete-file-recursively "ext/fiddle/libffi-3.2.1") | ||
| 304 | #t)))) | ||
| 305 | (build-system gnu-build-system) | ||
| 306 | (arguments | ||
| 307 | `(#:test-target "test" | ||
| 308 | #:configure-flags | ||
| 309 | ,(if (%current-target-system) | ||
| 310 | '(list (string-append | ||
| 311 | "LDFLAGS=-Wl,-rpath=" | ||
| 312 | (assoc-ref %outputs "out") "/lib") | ||
| 313 | "--enable-shared") | ||
| 314 | ''("--enable-shared")) ; dynamic linking | ||
| 315 | #:phases | ||
| 316 | (modify-phases %standard-phases | ||
| 317 | (add-before 'configure 'replace-bin-sh-and-remove-libffi | ||
| 318 | (lambda _ | ||
| 319 | (substitute* '("configure.ac" | ||
| 320 | "template/Makefile.in" | ||
| 321 | "lib/rubygems/installer.rb" | ||
| 322 | "ext/pty/pty.c" | ||
| 323 | "io.c" | ||
| 324 | "lib/mkmf.rb" | ||
| 325 | "process.c" | ||
| 326 | "test/rubygems/test_gem_ext_configure_builder.rb" | ||
| 327 | "test/rdoc/test_rdoc_parser.rb" | ||
| 328 | "test/ruby/test_rubyoptions.rb" | ||
| 329 | "test/ruby/test_process.rb" | ||
| 330 | "test/ruby/test_system.rb" | ||
| 331 | "tool/rbinstall.rb") | ||
| 332 | (("/bin/sh") (which "sh"))) | ||
| 333 | #t)) | ||
| 334 | ,@(if (system-hurd?) | ||
| 335 | '((add-after 'unpack 'skip-tests | ||
| 336 | (lambda _ | ||
| 337 | (delete-file "bootstraptest/test_io.rb") | ||
| 338 | (delete-file "test/ruby/test_io.rb")))) | ||
| 339 | '())))) | ||
| 340 | (native-inputs | ||
| 341 | (append (if (%current-target-system) | ||
| 342 | (list this-package) | ||
| 343 | '()) | ||
| 344 | (list autoconf))) | ||
| 345 | (inputs | ||
| 346 | (list readline openssl-1.1 libffi gdbm)) | ||
| 347 | (propagated-inputs | ||
| 348 | (list zlib)) | ||
| 349 | (native-search-paths | ||
| 350 | (list (search-path-specification | ||
| 351 | (variable "GEM_PATH") | ||
| 352 | (files (list (string-append "lib/ruby/vendor_ruby")))))) | ||
| 353 | (synopsis "Programming language interpreter") | ||
| 354 | (description "Ruby is a dynamic object-oriented programming language with | ||
| 355 | a focus on simplicity and productivity.") | ||
| 356 | (home-page "https://www.ruby-lang.org") | ||
| 357 | (license license:ruby))) | ||
| 358 | |||
| 359 | (define-public ruby ruby-3.3) | 287 | (define-public ruby ruby-3.3) |
| 360 | 288 | ||
| 361 | (define-public mruby | 289 | (define-public mruby |
