~ruther/guix-local

1b11494467ada4bc9ea24f2cfb3ac37698d29b18 — Nicolas Graves 7 months ago a7451a7
gnu: Add python-tflite-runtime.

Add this dummy package for future pypi imports.

* gnu/packages/machine-learning.scm (python-tflite-runtime): New variable.

Change-Id: Ia9719eb5aabb897c29bef6861f219db664947185
Signed-off-by: Andreas Enge <andreas@enge.fr>
1 files changed, 16 insertions(+), 0 deletions(-)

M gnu/packages/machine-learning.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +16 -0
@@ 3430,6 3430,22 @@ learning models.  This package provides the \"lite\" variant for mobile
devices.")
    (license license:asl2.0)))

(define-public python-tflite-runtime
  (package
    (inherit tensorflow-lite)
    (name "python-tflite-runtime")
    (source #f)
    (build-system trivial-build-system)
    (outputs (list "out"))
    (arguments
     (list
      #:builder
      #~(begin
          (mkdir #$output)
          (symlink (string-append #$tensorflow-lite:python "/lib")
                   (string-append #$output "/lib")))))
    (native-inputs '())))

(define-public dmlc-core
  (package
    (name "dmlc-core")