summary refs log tree commit diff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-04-15 02:11:03 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-04-15 02:11:03 +0300
commit53a8e8fd6c297cb859a74a91372029cc0601758c (patch)
tree908c72e57f35d516e376a487ea17a0ecba7a4cc7 /gnu/packages/machine-learning.scm
parentac5f070631e7a569952759884ba8b2aeb01d5cbb (diff)
downloadguix-53a8e8fd6c297cb859a74a91372029cc0601758c.tar.gz
gnu: python-hmmlearn: Remove cythonized file.
* gnu/packages/machine-learning.scm (python-hmmlearn)[source]: Add
snippet to remove cythonized file.
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index afac56f6f7..7f082ee677 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2016, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016, 2017, 2020 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -3046,7 +3046,11 @@ Note: currently this package does not provide GPU support.")
        (uri (pypi-uri "hmmlearn" version))
        (sha256
         (base32
-         "1my0j3rzp17438idr32ssh0j969a98yjblx5igx5kgiiigr9qa1a"))))
+         "1my0j3rzp17438idr32ssh0j969a98yjblx5igx5kgiiigr9qa1a"))
+       (snippet
+        #~(begin
+            (use-modules ((guix build utils)))
+            (delete-file "lib/hmmlearn/_hmmc.c")))))
     (build-system python-build-system)
     (arguments
      `(#:phases