summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-12-31 12:13:18 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2017-12-31 12:13:18 +0100
commit8b905d1cb0751b67a3565c0d8f6e2ae2ba58462d (patch)
tree91a8345b5352e4482775b1c208bb3b181eb83033 /pkgs/development/python-modules
parent1ae541eee42796b924283f88081ccc23d5140674 (diff)
downloadnixlib-8b905d1cb0751b67a3565c0d8f6e2ae2ba58462d.tar
nixlib-8b905d1cb0751b67a3565c0d8f6e2ae2ba58462d.tar.gz
nixlib-8b905d1cb0751b67a3565c0d8f6e2ae2ba58462d.tar.bz2
nixlib-8b905d1cb0751b67a3565c0d8f6e2ae2ba58462d.tar.lz
nixlib-8b905d1cb0751b67a3565c0d8f6e2ae2ba58462d.tar.xz
nixlib-8b905d1cb0751b67a3565c0d8f6e2ae2ba58462d.tar.zst
nixlib-8b905d1cb0751b67a3565c0d8f6e2ae2ba58462d.zip
python.pkgs.biopython: move expression
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/biopython/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/biopython/default.nix b/pkgs/development/python-modules/biopython/default.nix
new file mode 100644
index 000000000000..caa6d9a6da78
--- /dev/null
+++ b/pkgs/development/python-modules/biopython/default.nix
@@ -0,0 +1,32 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, numpy
+}:
+
+buildPythonPackage rec {
+  pname = "biopython";
+  version = "1.68";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "07qc7nz0k77y8hf8s18rscvibvm91zw0kkq7ylrhisf8vp8hkp6i";
+  };
+
+  propagatedBuildInputs = [ numpy ];
+  # Checks try to write to $HOME, which does not work with nix
+  doCheck = false;
+  meta = {
+    description = "Python library for bioinformatics";
+    longDescription = ''
+      Biopython is a set of freely available tools for biological computation
+      written in Python by an international team of developers. It is a
+      distributed collaborative effort to develop Python libraries and
+      applications which address the needs of current and future work in
+      bioinformatics.
+    '';
+    homepage = http://biopython.org/wiki/Documentation;
+    maintainers = with lib.maintainers; [ luispedro ];
+    license = lib.licenses.bsd3;
+  };
+}
\ No newline at end of file