unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kei Kebreau <kei@openmailbox.org>
To: contact.ng0@cryptolab.net
Cc: guix-devel@gnu.org, ng0 <ng0@we.make.ritual.n0.is>
Subject: Re: [PATCH] gnu: Add reducelcs.
Date: Mon, 30 Jan 2017 07:50:25 -0500	[thread overview]
Message-ID: <87mve8lnji.fsf@openmailbox.org> (raw)
In-Reply-To: <20170130062753.3864-2-contact.ng0@cryptolab.net> (contact's message of "Mon, 30 Jan 2017 06:27:53 +0000")

[-- Attachment #1: Type: text/plain, Size: 3288 bytes --]

contact.ng0@cryptolab.net writes:

> From: ng0 <ng0@we.make.ritual.n0.is>
>
> * gnu/packages/maths.scm (reducelcs): New variable.
> ---
>  gnu/packages/maths.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 45 insertions(+)
>
> diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
> index fbf0f6a54..e939430d5 100644
> --- a/gnu/packages/maths.scm
> +++ b/gnu/packages/maths.scm
> @@ -15,6 +15,7 @@
>  ;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
>  ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
>  ;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
> +;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -37,6 +38,7 @@
>    #:use-module ((guix licenses) #:prefix license:)
>    #:use-module (guix packages)
>    #:use-module (guix download)
> +  #:use-module (guix git-download)
>    #:use-module (guix utils)
>    #:use-module (guix build utils)
>    #:use-module (guix build-system cmake)
> @@ -2840,3 +2842,46 @@ instruction sets.  Thus, an application written with Vc can be compiled for:
>  @end enumerate\n")
>      (home-page "https://github.com/VcDevel/Vc")
>      (license license:bsd-3)))
> +
> +(define-public reducelcs
> +  ;; This is the last commit which is available upstream, no
> +  ;; release happened since 2010.
> +  (let ((commit "474f88deb968061abe8cf11c959e02319b8ae5c0")
> +        (revision "1"))
> +    (package
> +      (name "reducelcs")
> +      (version (string-append "1.0-" revision "." (string-take commit 7)))
> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url "https://github.com/gdv/Reduce-Expand-for-LCS")
> +               (commit commit)))
> +         (file-name (string-append name "-" version "-checkout"))
> +         (sha256
> +          (base32
> +           "1rllzcfwc042c336mhq262a8ha90x6afq30kvk60r7i4761j4yjm"))))
> +      (build-system gnu-build-system)
> +      (inputs
> +       `(("openlibm" ,openlibm)))
> +      (arguments
> +       `(#:tests? #f ; no tests
> +         #:phases
> +         (modify-phases %standard-phases
> +           (delete 'configure) ; No configure script exists.
> +           (replace 'install ; No install phase exists.
> +             (lambda* (#:key outputs #:allow-other-keys)
> +               (let* ((out (assoc-ref outputs "out"))
> +                      (bin (string-append out "/bin")))
> +                 (install-file "Approximation" bin)
> +                 (install-file "CollectResults" bin)
> +                 (install-file "GenerateInstances" bin)
> +                 #t))))))
> +      (synopsis "Approximate Longest Commons Subsequence computation tool")
> +      (description
> +       "@code{reduceLCS} is an implementation of the Reduce-Expand
> +algorithm for LCS.  It is a fast program to compute the approximate
> +Longest Commons Subsequence of a set of strings.")
> +      (home-page "https://github.com/gdv/Reduce-Expand-for-LCS")
> +      ;; The source specifies no "and later" of GPL3.
> +      (license license:gpl3))))

LGTM. Pushed to master as 54052a54c1188002b2040b8b24f8605d1c0fac1f.
Thanks again!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2017-01-30 12:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-19 11:52 Add reducelcs contact.ng0
2017-01-19 11:52 ` [PATCH] gnu: " contact.ng0
2017-01-29 18:53   ` Kei Kebreau
2017-01-29 21:12     ` ng0
2017-01-30  6:27       ` reducelcs, v3 contact.ng0
2017-01-30  6:27         ` [PATCH] gnu: Add reducelcs contact.ng0
2017-01-30 12:50           ` Kei Kebreau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-09-18 18:20 reduceLCS ... inclusion in master or not? ng0
2016-09-20 21:40 ` Leo Famulari
2016-09-21 17:29   ` [PATCH] gnu: Add reducelcs ng0
2016-12-20 15:24     ` New package: reducelcs (v2) ng0
2016-12-20 15:24       ` [PATCH] gnu: Add reducelcs ng0

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=87mve8lnji.fsf@openmailbox.org \
    --to=kei@openmailbox.org \
    --cc=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.org \
    --cc=ng0@we.make.ritual.n0.is \
    /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).