~ruther/guix-local

68b18aae6a9bcdb0940fb957f3ab9bbfa0370d83 — Cyril Roelandt 11 years ago a5ffa81
guix import pypi: Fix a typo in a docstring.

* guix/import/pypi.scm (snake-case): Fix documentation.
1 files changed, 2 insertions(+), 2 deletions(-)

M guix/import/pypi.scm
M guix/import/pypi.scm => guix/import/pypi.scm +2 -2
@@ 117,8 117,8 @@ recursively apply the procedure to the sub-list."
               (assoc-ref* pypi-package "info" "version")))))

(define (snake-case str)
  "Return a downcased version of the string STR where dashes are replaced with
underscores."
  "Return a downcased version of the string STR where underscores are replaced
with dashes."
  (string-join (string-split (string-downcase str) #\_) "-"))

(define (guix-hash-url url)