1 { lib, fetchFromGitHub, buildPythonPackage, pythonOlder, numpy, cython, zlib, six
4 buildPythonPackage rec {
7 disabled = pythonOlder "3.6";
9 src = fetchFromGitHub {
12 rev = "refs/tags/v${version}";
13 sha256 = "sha256-Pi4hV3FatCXoXY3nNgqm5UfWYIrpP/v5PzzCi3gmIbE=";
16 nativeBuildInputs = [ cython ];
17 buildInputs = [ zlib ];
18 propagatedBuildInputs = [ numpy six python-lzo ];
19 checkInputs = [ nose ];
22 cp -r scripts/* $out/bin
24 # This is a small hack; the test suit uses the scripts which need to
25 # be patched. Linking the patched scripts in $out back to the
26 # working directory allows the tests to run
28 ln -s $out/bin scripts
32 homepage = "https://github.com/bxlab/bx-python";
34 "Tools for manipulating biological data, particularly multiple sequence alignments";
35 license = licenses.mit;
36 maintainers = [ maintainers.jbedo ];
37 platforms = [ "x86_64-linux" ];