blob: fe454cbfe0e146479c52637502f4dcf1a7681972 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
isPy3k,
fetchPypi,
zlib,
}:
buildPythonPackage rec {
pname = "pytabix";
version = "0.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1ldp5r4ggskji6qx4bp2qxy2vrvb3fam03ksn0gq2hdxgrlg2x07";
};
buildInputs = [ zlib ];
doCheck = !isPy3k;
preCheck = ''
substituteInPlace test/test.py \
--replace 'test_remote_file' 'dont_test_remote_file'
'';
pythonImportsCheck = [ "tabix" ];
meta = {
homepage = "https://github.com/slowkow/pytabix";
description = "Python interface for tabix";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ris ];
};
}
|