pythonPackages.pytabix: init at 0.1

This commit is contained in:
Robert Scott 2020-09-19 14:01:25 +01:00
parent ccf4645500
commit 4543e54991
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, isPy3k
, fetchPypi
, zlib
}:
buildPythonPackage rec {
pname = "pytabix";
version = "0.1";
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 = with stdenv.lib; {
homepage = "https://github.com/slowkow/pytabix";
description = "Python interface for tabix";
license = licenses.mit;
maintainers = with maintainers; [ ris ];
};
}

View file

@ -5415,6 +5415,8 @@ in {
pysvn = callPackage ../development/python-modules/pysvn { };
pytabix = callPackage ../development/python-modules/pytabix { };
pytado = callPackage ../development/python-modules/pytado { };
pytaglib = callPackage ../development/python-modules/pytaglib { };