(use-modules (guix transformations) (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 "sklearn" "0.23.1")))))) (packages->manifest (list python (transform python-numpy) (transform python-pandas) (transform python-scikit-learn)))