[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/45: gnu: Add ruby-wapiti.
From: |
guix-commits |
Subject: |
24/45: gnu: Add ruby-wapiti. |
Date: |
Thu, 4 Aug 2022 06:07:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 6dcc652d758af8b5e9e30f6b8203c0e0770cbeeb
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Mon Jul 25 08:16:16 2022 -0400
gnu: Add ruby-wapiti.
* gnu/packages/ruby.scm (ruby-wapiti): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/ruby.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c1e3dca807..9a75118946 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -28,6 +28,7 @@
;;; Copyright © 2021 EuAndreh <eu@euandre.org>
;;; Copyright © 2020 Tomás Ortín Fernández <tomasortin@mailbox.org>
;;; Copyright © 2021 Giovanni Biscuolo <g@xelera.eu>
+;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -12984,3 +12985,48 @@ using Nokogiri.")
(description "Blather is a XMPP DSL for Ruby written on top of EventMachine
and Nokogiri.")
(license license:expat)))
+
+(define-public ruby-wapiti
+ (package
+ (name "ruby-wapiti")
+ (version "2.0.0")
+ ;; the gem archive lacks tests
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/inukshuk/wapiti-ruby")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1kawqw45j7mqk5zmwbn67x1vxiapdgm2ypqqz2bs9l5s7nglzr5b"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ (list ruby-builder
+ ruby-rexml))
+ (native-inputs
+ (list ruby-byebug
+ ruby-pry
+ ruby-rake-compiler
+ ruby-rspec
+ ruby-simplecov))
+ (arguments
+ (list
+ #:test-target "spec"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'replace-git-ls-files 'replace-another-git-ls-files
+ (lambda args
+ (substitute* "wapiti.gemspec"
+ (("`git ls-files spec`")
+ "`find spec -type f | sort`"))))
+ (add-before 'build 'compile
+ (lambda args
+ (invoke "rake" "compile"))))))
+ (home-page "https://github.com/inukshuk/wapiti-ruby")
+ (synopsis "Wicked fast Conditional Random Fields for Ruby")
+ (description
+ "The Wapiti-Ruby gem provides a wicked fast linear-chain @acronym{CRF,
+Conditional Random Fields} API for sequence segmentation and labelling. It is
+based on the codebase of @url{https://wapiti.limsi.fr, Wapiti}.")
+ (license license:bsd-2)))
- branch master updated (933d3cf7f7 -> 3bd2b1b544), guix-commits, 2022/08/04
- 11/45: gnu: Add libomp-11., guix-commits, 2022/08/04
- 19/45: gnu: Add libomp-7., guix-commits, 2022/08/04
- 05/45: gnu: Add aocommon., guix-commits, 2022/08/04
- 24/45: gnu: Add ruby-wapiti.,
guix-commits <=
- 16/45: gnu: clang-toolchain-9: Use libomp-9., guix-commits, 2022/08/04
- 41/45: gnu: ruby-anystyle: Initialize dictionary files., guix-commits, 2022/08/04
- 34/45: gnu: Add ruby-citeproc., guix-commits, 2022/08/04
- 07/45: gnu: libomp-14: Reference llvm-14 version string., guix-commits, 2022/08/04
- 12/45: gnu: clang-toolchain-11: Use libomp-11., guix-commits, 2022/08/04
- 26/45: gnu: Add itex2mml., guix-commits, 2022/08/04
- 43/45: gnu: anystyle: Use GDBM by default., guix-commits, 2022/08/04
- 06/45: gnu: Add aoflagger., guix-commits, 2022/08/04
- 25/45: gnu: Add ruby-namae., guix-commits, 2022/08/04
- 13/45: gnu: Add libomp-10., guix-commits, 2022/08/04