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
parent
1176fccb83
commit
952953be39
|
@ -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)))
|
||||||
|
|
||||||
|
|
Reference in New Issue