Roel Janssen <r...@gnu.org> writes: > From 80d296f9d3bc205eed06f98821bb5abd3ad8d40f Mon Sep 17 00:00:00 2001 > From: Roel Janssen <r...@gnu.org> > Date: Tue, 26 Apr 2016 19:35:10 +0200 > Subject: [PATCH] gnu: Add multichoose. > > * gnu/packages/bioinformatics.scm (multichoose): New variable. > --- > gnu/packages/bioinformatics.scm | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm > index 620439f..b3686b6 100644 > --- a/gnu/packages/bioinformatics.scm > +++ b/gnu/packages/bioinformatics.scm > @@ -5075,6 +5075,40 @@ the same group, and look for consistent differences > between ChIP and control > group or two ChIP groups run under different conditions.") > (license license:gpl3+))) > > +(define-public multichoose > + (package > + (name "multichoose") > + (version "1.0.3") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://github.com/ekg/multichoose/archive/v" > + version ".tar.gz")) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 "0xy86vvr3qrs4l81qis7ia1q2hnqv0xcb4a1n60smxbhqqis5w3l")))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ; There are no tests to run. > + #:phases > + (modify-phases %standard-phases > + (delete 'configure) ; There is no configure phase. > + (replace 'install > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) > + (install-file "multichoose" bin) > + (install-file "multipermute" bin))))))) > + (native-inputs > + `(("python" ,python-2) > + ("node" ,node))) > + (home-page "https://github.com/ekg/multichoose") > + (synopsis "Library for loopless multiset combination generation") > + (description "This package provides a library implementing an efficient > +loopless multiset combination generation algorithm which is (approximately) > +described in \"Loopless algorithms for generating permutations, combinations, > +and other combinatorial configurations.\" G Ehrlich - Journal of the ACM > (JACM), > +1973. (Algorithm 7.)") > + (license license:expat))) > + > (define-public filevercmp > (let ((commit "1a9b779b93d0b244040274794d402106907b71b7")) > (package
This one is also not in Guix upstream yet. Must have fallen through the cracks. This could be pushed after adding “#t” to the end of the new “install” phase. -- Ricardo