1 { lib, buildPythonPackage, fetchFromGitHub, cython, numpy, pysam, matplotlib, python, isPy27, isPy3k }:
2 buildPythonPackage rec {
6 src = fetchFromGitHub {
9 rev = "release_${version}";
10 sha256 = "0y7vh249sljqjnv81060w4xkdx6f1y5zdqkh38yk926x6v9riijm";
13 nativeBuildInputs = [ cython ];
14 propagatedBuildInputs = [ numpy pysam matplotlib ];
16 checkPhase = lib.optionalString isPy27 ''
17 ${python.interpreter} python2/test/test_general.py
18 '' + lib.optionalString isPy3k ''
19 ${python.interpreter} python3/test/test_general.py
23 homepage = "https://htseq.readthedocs.io/";
24 description = "A framework to work with high-throughput sequencing data";
25 maintainers = with maintainers; [ unode ];
26 platforms = platforms.unix;