aboutsummaryrefslogtreecommitdiff
path: root/guix/import/gem.scm
Commit message (Expand)AuthorAge
* import: gem: Add updater.•••* guix/import/gem.scm (guix-package->gem-name, gem-package?, latest-release): New procedures. (%gem-updater): New variable. (rubygems-fetch): Wrap body in 'call-with-output-file' and 'with-error-to-port'. * guix/scripts/refresh.scm (%updaters): Add %GEM-UPDATER. * doc/guix.texi (Invoking guix refresh): Mention RubyGems. Ben Woodcroft2016-02-20
* import: gem: Beautify only the description, not the synopsis.•••* guix/import/gem.scm (make-gem-sexp): Add synopsis argument. (gem->guix-package): Pass unbeautified synopsis to make-gem-sexp. * tests/gem.scm: Adapt it. Ben Woodcroft2016-01-20
* import: gem: Beautify description field.•••* guix/import/gem.scm (gem->guix-package): Use 'beautify-description'. Ben Woodcroft2016-01-14
* import: gem: Fix minor bug and add unit test.•••* guix/import/gem.scm (make-gem-sexp): Properly handle an empty list of licenses. When rendering a list of licenses, cons 'list onto the front of the expression. * tests/gem.scm: New file. * Makefile.am (SCM_TESTS): Add it. David Thompson2015-09-01
* import: Add Ruby gem importer.•••* gnu/scripts/import.scm (importers): Add "gem". * gnu/import/gem.scm: New file. * gnu/scripts/import/gem.scm: New file. * Makefile.am (MODULES): Add them. * guix.texi ("invoking guix import"): Document it. David Thompson2015-08-27