From 01bf69177d4f8e192f8fc756f49bc2cbb6084614 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 16 Jan 2024 22:36:39 +0100 Subject: [PATCH] import/cran: Add more invalid package names and translations. These were encountered in a mass import of Bioconductor packages. * guix/import/cran.scm (invalid-packages): Add "rtools". (transform-sysname): Add aliases for Python and bioinformatics packages. Change-Id: I97e13cee10c2ee85d4b9296d91afccbdbcec4946 --- guix/import/cran.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/guix/import/cran.scm b/guix/import/cran.scm index 5995e6a5ce..6eddcbfb7b 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -412,6 +412,7 @@ (define invalid-packages "linux" "libR" "none" + "rtools" "unix" "windows" "xcode" @@ -429,6 +430,9 @@ (define (transform-sysname sysname) ("freetype2" "freetype") ("gettext" "gnu-gettext") ("gmake" "gnu-make") + ("h5py" "python-h5py") + ("hmmer3" "hmmer") + ("leidenalg" "python-leidenalg") ("libarchive-devel" "libarchive") ("libarchive_dev" "libarchive") ("libbz2" "bzip2") @@ -445,10 +449,17 @@ (define (transform-sysname sysname) ("libz-dev" "zlib") ("mariadb-devel" "mariadb") ("mysql56_dev" "mariadb") + ("nodejs" "node") + ("numpy" "python-numpy") ("openssl-devel" "openssl") ("openssl@1.1" "openssl-1.1") + ("pandas" "python-pandas") ("pandoc-citeproc" "pandoc") ("python3" "python-3") + ("pytorch" "python-pytorch") + ("scikit-learn" "python-scikit-learn") + ("scipy" "python-scipy") + ("sklearn" "python-scikit-learn") ("sqlite3" "sqlite") ("svn" "subversion") ("tcl/tk" "tcl")