unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add Biopython.
@ 2015-04-15 15:47 Ricardo Wurmus
  2015-04-15 19:55 ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: Ricardo Wurmus @ 2015-04-15 15:47 UTC (permalink / raw)
  To: Guix-devel

[-- 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

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-04-18 17:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15 15:47 [PATCH] gnu: Add Biopython Ricardo Wurmus
2015-04-15 19:55 ` 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

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).