diff options
Diffstat (limited to 'gnu/packages/machine-learning.scm')
| -rw-r--r-- | gnu/packages/machine-learning.scm | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 32aa6849d2b..4fb129246b5 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm | |||
| @@ -962,21 +962,26 @@ the following advantages: | |||
| 962 | (name "vowpal-wabbit") | 962 | (name "vowpal-wabbit") |
| 963 | (version "8.5.0") | 963 | (version "8.5.0") |
| 964 | (source (origin | 964 | (source (origin |
| 965 | (method url-fetch) | 965 | (method git-fetch) |
| 966 | (uri (string-append | 966 | (uri (git-reference |
| 967 | "https://github.com/JohnLangford/vowpal_wabbit/archive/" | 967 | (url "https://github.com/JohnLangford/vowpal_wabbit") |
| 968 | version ".tar.gz")) | 968 | (commit version))) |
| 969 | (sha256 | 969 | (sha256 |
| 970 | (base32 | 970 | (base32 |
| 971 | "0clp2kb7rk5sckhllxjr5a651awf4s8dgzg4659yh4hf5cqnf0gr")) | 971 | "04bwzk6ifgnz3fmzid8b7avxf9n5pnx9xcjm61nkjng1vv0bpj8x")) |
| 972 | (file-name (string-append name "-" version ".tar.gz")))) | 972 | (file-name (git-file-name name version)))) |
| 973 | (inputs | 973 | (inputs |
| 974 | `(("boost" ,boost) | 974 | `(("boost" ,boost) |
| 975 | ("zlib" ,zlib))) | 975 | ("zlib" ,zlib))) |
| 976 | (arguments | 976 | (arguments |
| 977 | `(#:configure-flags | 977 | `(#:configure-flags |
| 978 | (list (string-append "--with-boost=" | 978 | (list (string-append "--with-boost=" |
| 979 | (assoc-ref %build-inputs "boost"))))) | 979 | (assoc-ref %build-inputs "boost"))) |
| 980 | #:phases | ||
| 981 | (modify-phases %standard-phases | ||
| 982 | (add-after 'unpack 'make-files-writable | ||
| 983 | (lambda _ | ||
| 984 | (for-each make-file-writable (find-files "." ".*")) #t))))) | ||
| 980 | (build-system gnu-build-system) | 985 | (build-system gnu-build-system) |
| 981 | (home-page "https://github.com/JohnLangford/vowpal_wabbit") | 986 | (home-page "https://github.com/JohnLangford/vowpal_wabbit") |
| 982 | (synopsis "Fast machine learning library for online learning") | 987 | (synopsis "Fast machine learning library for online learning") |
