pythonPackages.pytabix: init at 0.1
This commit is contained in:
parent
ccf4645500
commit
4543e54991
32
pkgs/development/python-modules/pytabix/default.nix
Normal file
32
pkgs/development/python-modules/pytabix/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5415,6 +5415,8 @@ in {
|
||||||
|
|
||||||
pysvn = callPackage ../development/python-modules/pysvn { };
|
pysvn = callPackage ../development/python-modules/pysvn { };
|
||||||
|
|
||||||
|
pytabix = callPackage ../development/python-modules/pytabix { };
|
||||||
|
|
||||||
pytado = callPackage ../development/python-modules/pytado { };
|
pytado = callPackage ../development/python-modules/pytado { };
|
||||||
|
|
||||||
pytaglib = callPackage ../development/python-modules/pytaglib { };
|
pytaglib = callPackage ../development/python-modules/pytaglib { };
|
||||||
|
|
Loading…
Reference in a new issue