me
/
guix
Archived
1
0
Fork 0

import/cran: Translate more package dependencies.

Assumes we use package variable names, not package specification names.

* guix/import/cran.scm (invalid-packages): Add more invalid names.
(transform-sysname): Transform more package names.
master
Lars-Dominik Braun 2022-10-22 10:37:50 +02:00 committed by Ricardo Wurmus
parent 1176fccb83
commit 952953be39
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 23 additions and 3 deletions

View File

@ -395,7 +395,9 @@ empty list when the FIELD cannot be found."
"c++11" "c++11"
"c++14" "c++14"
"c++17" "c++17"
"c99"
"getopt::long" "getopt::long"
"gnu"
"posix.1-2001" "posix.1-2001"
"linux" "linux"
"none" "none"
@ -406,15 +408,33 @@ empty list when the FIELD cannot be found."
(define (transform-sysname sysname) (define (transform-sysname sysname)
"Return a Guix package name for the common package name SYSNAME." "Return a Guix package name for the common package name SYSNAME."
(match sysname (match sysname
("java" "openjdk")
("fftw3" "fftw")
("tcl/tk" "tcl")
("booktabs" "texlive-booktabs") ("booktabs" "texlive-booktabs")
("bowtie2" "bowtie")
("cat" "coreutils")
("java" "openjdk")
("exiftool" "perl-image-exiftool")
("fftw3" "fftw")
("freetype2" "freetype") ("freetype2" "freetype")
("gettext" "gnu-gettext")
("gmake" "gnu-make")
("libarchive-devel" "libarchive")
("libarchive_dev" "libarchive")
("libbz2" "bzip2")
("libexpat" "expat")
("liblz4" "lz4")
("liblzma" "xz")
("libzstd" "zstd")
("libxml2-devel" "libxml2")
("libz" "zlib")
("mariadb-devel" "mariadb") ("mariadb-devel" "mariadb")
("mysql56_dev" "mariadb") ("mysql56_dev" "mariadb")
("pandoc-citeproc" "pandoc")
("python3" "python-3")
("sqlite3" "sqlite") ("sqlite3" "sqlite")
("svn" "subversion")
("tcl/tk" "tcl")
("udunits-2" "udunits") ("udunits-2" "udunits")
("whoami" "coreutils")
("x11" "libx11") ("x11" "libx11")
(_ sysname))) (_ sysname)))