(use-modules (guix transformations) (gnu packages machine-learning) (gnu packages python) (gnu packages python-science) (gnu packages python-xyz) (guix build-system python)) (define transform (options->transformation `((with-source . "python-numpy=https://github.com/numpy/numpy/releases/download/v1.19.0/numpy-1.19.0.tar.gz") (with-source . ,(string-append "python-pandas=" (pypi-uri "pandas" "1.0.5"))) (with-source . ,(string-append "python-scikit-learn=" (pypi-uri "scikit-learn" "0.23.1"))) (without-tests . "python-numpy") (without-tests . "python-pandas") (without-tests . "python-scikit-learn")))) (packages->manifest (list python (transform python-numpy) (transform python-pandas) (transform python-scikit-learn)))