depot/third_party/nixpkgs/pkgs/development/python-modules/pyfaidx/default.nix
Default email a6d62be0d1 Project import generated by Copybara.
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
2021-12-26 18:43:05 +01:00

52 lines
996 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, numpy
, setuptools-scm
, six
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyfaidx";
version = "0.6.3.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "93adf036a75e08dc9b1dcd59de6a4db2f65a48c603edabe2e499764b6535ed50";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
six
];
checkInputs = [
nose
numpy
pytestCheckHook
];
disabledTests = [
# PyPI releases don't ship all the needed files for the tests
"test_index_zero_length"
"test_fetch_zero_length"
"test_read_back_index"
];
pythonImportsCheck = [
"pyfaidx"
];
meta = with lib; {
homepage = "https://github.com/mdshw5/pyfaidx";
description = "Python classes for indexing, retrieval, and in-place modification of FASTA files using a samtools compatible index";
license = licenses.bsd3;
maintainers = with maintainers; [ jbedo ];
};
}