about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-10-02 10:59:30 -0500
committerFrederick Muriuki Muriithi2025-10-06 11:30:09 -0500
commit94ea648a9a038684acfc23b7979196eddf9ec49f (patch)
treee269b484ddad9cfe2a020eb78692d0b1d0d88900
parent4285e3a42e7dfb44fdade702c7adc7efb1169770 (diff)
downloadguix-bioinformatics-94ea648a9a038684acfc23b7979196eddf9ec49f.tar.gz
Replace tensorflow with tensorflow-lite.
The package `tensorflow` no longer exists on mainline guix, and it
seems to have been replaced by `tensorflow-lite`. This commit updates
the packages with `tensorflow` as a dependency to instead depend on
`tensorflow-lite`.
-rw-r--r--gn/packages/genecup.scm2
-rw-r--r--gn/packages/machine-learning.scm8
2 files changed, 5 insertions, 5 deletions
diff --git a/gn/packages/genecup.scm b/gn/packages/genecup.scm
index d761826..88e0879 100644
--- a/gn/packages/genecup.scm
+++ b/gn/packages/genecup.scm
@@ -237,7 +237,7 @@ if __name__ == '__main__':
        ("python-nltk" ,python-nltk)
        ("python-pandas" ,python-pandas)
        ("python-regex" ,python-regex)
-       ("tensorflow" ,tensorflow)))
+       ("tensorflow" ,tensorflow-lite)))
     (native-inputs
      `(("bootstrap" ,web-bootstrap)
        ("cytoscape" ,javascript-cytoscape-3.17)
diff --git a/gn/packages/machine-learning.scm b/gn/packages/machine-learning.scm
index ebb89e2..ac413eb 100644
--- a/gn/packages/machine-learning.scm
+++ b/gn/packages/machine-learning.scm
@@ -15,10 +15,10 @@
 
 (define-public tensorflow-native
   (package
-    (inherit tensorflow)
+    (inherit tensorflow-lite)
     (name "tensorflow-native")
     (arguments
-     (substitute-keyword-arguments (package-arguments tensorflow)
+     (substitute-keyword-arguments (package-arguments tensorflow-lite)
        ((#:substitutable? _ #f) #f)
        ((#:configure-flags flags)
         `(cons
@@ -77,7 +77,7 @@ models for use with the Keras deep learning framework.")
            python-pytest
            python-pytest-cov
            python-pytest-xdist
-           tensorflow))
+           tensorflow-lite))
     (home-page "https://github.com/keras-team/keras-preprocessing/")
     (synopsis "Data preprocessing and augmentation for deep learning models")
     (description
@@ -161,7 +161,7 @@ with image data, text data, and sequence data.")
            python-pyyaml
            python-scipy
            python-six
-           tensorflow
+           tensorflow-lite
            graphviz))
     (native-inputs
      (list python-flaky