summaryrefslogtreecommitdiff
path: root/guix/import/snix.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-03-12 11:04:00 +0100
committerLudovic Courtès <ludo@gnu.org>2020-03-12 11:52:37 +0100
commit7657e61d6b33fe758fd69355ed53efbd5310743c (patch)
tree548d01dbd7c126a2970660032995f7f390c86d4d /guix/import/snix.scm
parenta20cfe71e9cd9450e9cfbe9e4bc478a0c726a2af (diff)
import: pypi: Rewrite to use 'define-json-mapping'.
* guix/import/pypi.scm (non-empty-string-or-false): New procedure. (<pypi-project>, <project-info>, <distribution>): New record types. (pypi-fetch): Call 'json->pypi-project'. (latest-source-release, latest-wheel-release): Use the new record accessors instead of 'assoc-ref*'. (pypi->guix-package, latest-release): Likewise. * tests/pypi.scm (test-json): Add mandatory fields.
Diffstat (limited to 'guix/import/snix.scm')
0 files changed, 0 insertions, 0 deletions