e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
56 lines
1 KiB
Nix
56 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, importlib-metadata
|
|
, nose
|
|
, numpy
|
|
, setuptools
|
|
, setuptools-scm
|
|
, six
|
|
, glibcLocales
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyfaidx";
|
|
version = "0.7.2.2";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-O3aTwFLIJpEAD+SpJHXbgv/DtachoSsQ37yHEZxLTTA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
importlib-metadata
|
|
six
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
glibcLocales
|
|
nose
|
|
numpy
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
# FileNotFoundError: [Errno 2] No such file or directory: 'data/genes.fasta.gz'
|
|
"tests/test_Fasta_bgzip.py"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|