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