mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
python.pkgs.biopython: move expression
This commit is contained in:
parent
1ae541eee4
commit
8b905d1cb0
32
pkgs/development/python-modules/biopython/default.nix
Normal file
32
pkgs/development/python-modules/biopython/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -1239,33 +1239,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
biopython = buildPythonPackage rec {
|
||||
name = "biopython-${version}";
|
||||
version = "1.68";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/b/biopython/${name}.tar.gz";
|
||||
sha256 = "07qc7nz0k77y8hf8s18rscvibvm91zw0kkq7ylrhisf8vp8hkp6i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ 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 maintainers; [ luispedro ];
|
||||
};
|
||||
};
|
||||
biopython = callPackage ../development/python-modules/biopython { };
|
||||
|
||||
bedup = buildPythonPackage rec {
|
||||
version = "0.10.1";
|
||||
|
Loading…
Reference in New Issue
Block a user