unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 53017@debbugs.gnu.org
Cc: efraim@flashner.co.il, zimoun <zimon.toutoune@gmail.com>
Subject: [bug#53017] [PATCH 07/17] gnu: Add julia-indexablebitvectors.
Date: Tue,  4 Jan 2022 23:47:45 +0100	[thread overview]
Message-ID: <20220104224755.1142897-7-zimon.toutoune@gmail.com> (raw)
In-Reply-To: <20220104224755.1142897-1-zimon.toutoune@gmail.com>

* gnu/packages/julia-xyz.scm (julia-indexablebitvectors): New variable.
---
 gnu/packages/julia-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 49bf6ae26f..1508a86dd1 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2503,6 +2503,39 @@ (define-public julia-imagetransformations
 rotation, and other spatial transformations of arrays.")
     (license license:expat)))
 
+(define-public julia-indexablebitvectors
+  (package
+    (name "julia-indexablebitvectors")
+    (version "1.0.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/BioJulia/IndexableBitVectors.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1khaycydwa31sxwvrrvvlylpzdb77kkxfmb8cax3i22ix0c2nmlc"))))
+    (build-system julia-build-system)
+    ;; Package without Project.toml
+    (arguments
+     '(#:julia-package-name "IndexableBitVectors"
+       #:julia-package-uuid "1cb3b9ac-1ffd-5777-9e6b-a3d42300664d"))
+    (home-page "https://github.com/BioJulia/IndexableBitVectors.jl")
+    (synopsis "Bit vectors operations with extremely fast speed")
+    (description "This package exports following operations over bit vectors
+with extremely fast speed while keeping extra memory usage small:
+@itemize
+@item @code{getindex(bv::IndexableBitVectors, i::Integer)}: @code{i}-th
+element of @code{bv}
+@item @code{rank(b::Bool, bv::AbstractIndexableBitVector, i::Integer)}: the
+number of occurrences of bit @code{b} in @code{bv[1:i]}
+@item @code{select(b::Bool, bv::AbstractIndexableBitVector, i::Integer)}: the
+index of i-th occurrence of @code{b} in @code{bv}.
+@end itemize
+and other shortcuts or types.")
+    (license license:expat)))
+
 (define-public julia-indexing
   (package
     (name "julia-indexing")
-- 
2.33.1





  parent reply	other threads:[~2022-01-04 22:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-04 22:45 [bug#53017] [PATCH 00/17] Add julia-biosequences and julia-bioalignments zimoun
2022-01-04 22:47 ` [bug#53017] [PATCH 01/17] gnu: julia-xyz: Adjust style zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 02/17] build: julia-build-system: Create 'Project.toml' file when missing zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 03/17] gnu: julia-zygote: Adjust style zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 04/17] gnu: julia-documentertools: " zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 05/17] gnu: julia-documenter: " zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 06/17] gnu: Add julia-biogenerics zimoun
2022-01-04 22:47   ` zimoun [this message]
2022-01-04 22:47   ` [bug#53017] [PATCH 08/17] gnu: Add julia-twiddle zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 09/17] gnu: Add julia-simd zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 10/17] gnu: Add julia-scanbyte zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 11/17] gnu: Add julia-automa zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 12/17] gnu: Add julia-stringencodings zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 13/17] gnu: Add julia-yaml zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 14/17] gnu: Add julia-biosymbols zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 15/17] gnu: Add julia-biosequences zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 16/17] gnu: Add julia-intervaltrees zimoun
2022-01-04 22:47   ` [bug#53017] [PATCH 17/17] gnu: Add julia-bioalignments zimoun
2022-01-10 13:20   ` bug#53017: [PATCH 01/17] gnu: julia-xyz: Adjust style Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220104224755.1142897-7-zimon.toutoune@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=53017@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).