summaryrefslogtreecommitdiffstats
path: root/machinelearning.scm
diff options
context:
space:
mode:
Diffstat (limited to 'machinelearning.scm')
-rw-r--r--machinelearning.scm47
1 files changed, 30 insertions, 17 deletions
diff --git a/machinelearning.scm b/machinelearning.scm
index aaae01b..e0d1f23 100644
--- a/machinelearning.scm
+++ b/machinelearning.scm
@@ -52,23 +52,6 @@
#:use-module (guix utils)
)
-(define-public poetry-plugin-export
- (package
- (name "poetry-plugin-export")
- (version "1.7.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "poetry_plugin_export" version))
- (sha256
- (base32 "0bp2640l7v9digjccj0wz086s1xa4hdbrcvdpa84544a46vcyqng"))))
- (build-system pyproject-build-system)
- (propagated-inputs (list python-poetry-core-1.9.0))
- (home-page "https://python-poetry.org/")
- (synopsis "Poetry plugin to export the dependencies to various formats")
- (description "Poetry plugin to export the dependencies to various formats")
- (license license:expat)))
-
(define-public python-poetry-core-1.9.0
(package
(inherit python-poetry-core)
@@ -647,3 +630,33 @@
(synopsis "")
(description #f)
(license #f)))
+
+(define-public ollama-dl
+ (package
+ (name "ollama-dl")
+ (version "1c5aa10ebc018dac9547410491b6a9d1559014bf")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/akx/ollama-dl")
+ (recursive? #f)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0pkvdky1yw0yy3fi4g7dg95ghf5cw2v36h30jbgkshhqp8qi75d0"))))
+ (inputs (list python-httpx python-rich))
+ (native-inputs (list python-setuptools python-wheel))
+ (build-system pyproject-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check) ;#TODO: see why this is broke
+ (delete 'sanity-check) ;TODO: Fix broken sanity-check
+ )))
+ (home-page "https://github.com/akx/ollama-dl")
+ (synopsis "Downloads models from the Ollama library.")
+ (description "Download models from the Ollama library, without Ollama")
+ (license license:expat)))