unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Guix-devel <guix-devel@gnu.org>
Subject: [PATCH] gnu: Add Biopython.
Date: Wed, 15 Apr 2015 17:47:32 +0200	[thread overview]
Message-ID: <idjlhhtxujv.fsf@bimsb-sys02.mdc-berlin.net> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-Biopython.patch --]
[-- Type: text/x-patch, Size: 1807 bytes --]

From ca3474b1a639e43d708aad4385057cd84e3cce8b Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Wed, 15 Apr 2015 17:46:35 +0200
Subject: [PATCH] gnu: Add Biopython.

* gnu/packages/bioinformatics.scm (python-biopython, python2-biopython): New
  variables.
---
 gnu/packages/bioinformatics.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0239e97..6d53e4e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -187,6 +187,35 @@ pybedtools extends BEDTools by offering feature-level manipulations from with
 Python.")
     (license license:gpl2+)))
 
+(define-public python-biopython
+  (package
+    (name "python-biopython")
+    (version "1.65")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://biopython.org/DIST/biopython-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "13m8s9jkrw40zvdp1rl709n6lmgdh4f52aann7gzr6sfp0fwhg26"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-numpy" ,python-numpy)))
+    (native-inputs
+     `(("python-setuptools" ,python2-setuptools)))
+    (home-page "http://biopython.org/")
+    (synopsis "Set of tools for biological computation in Python")
+    (description
+     "Biopython is a set of tools for biological computation written in Python
+by an international team of developers.")
+    (license license:expat)))
+
+(define-public python2-biopython
+  (package (inherit (package-with-python2 python-biopython))
+    (inputs
+     `(("python2-numpy" ,python2-numpy)))))
+
 (define-public bowtie
   (package
     (name "bowtie")
-- 
2.1.0

             reply	other threads:[~2015-04-15 15:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15 15:47 Ricardo Wurmus [this message]
2015-04-15 19:55 ` [PATCH] gnu: Add Biopython Ludovic Courtès
2015-04-16  8:46   ` Ricardo Wurmus
2015-04-16  9:00     ` Andreas Enge
2015-04-16 12:36       ` Ludovic Courtès
2015-04-16 13:10         ` Ricardo Wurmus
2015-04-18 16:01           ` Ricardo Wurmus
2015-04-18 17:28             ` Andreas Enge
2015-04-16 13:02       ` John Darrington
2015-04-16 13:16         ` Ludovic Courtès
2015-04-16 15:40           ` Andreas Enge

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=idjlhhtxujv.fsf@bimsb-sys02.mdc-berlin.net \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@gnu.org \
    /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).