mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
guix import pypi: Fix a typo in a docstring.
* guix/import/pypi.scm (snake-case): Fix documentation.
This commit is contained in:
parent
a5ffa812b8
commit
68b18aae6a
1 changed files with 2 additions and 2 deletions
|
@ -117,8 +117,8 @@ (define (latest-source-release pypi-package)
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue