1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, numpy
6, setuptools-scm
7, six
8, glibcLocales
9, pytestCheckHook
10}:
11
12buildPythonPackage rec {
13 pname = "pyfaidx";
14 version = "0.7.1";
15 format = "setuptools";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "sha256-OXdjK3/SkEn4sRA11+neoOLF2pwjX5grTD+uBv8foj8=";
20 };
21
22 nativeBuildInputs = [
23 setuptools-scm
24 ];
25
26 propagatedBuildInputs = [
27 six
28 ];
29
30 checkInputs = [
31 glibcLocales
32 nose
33 numpy
34 pytestCheckHook
35 ];
36
37 disabledTestPaths = [
38 # FileNotFoundError: [Errno 2] No such file or directory: 'data/genes.fasta.gz'
39 "tests/test_Fasta_bgzip.py"
40 ];
41
42 pythonImportsCheck = [
43 "pyfaidx"
44 ];
45
46 meta = with lib; {
47 homepage = "https://github.com/mdshw5/pyfaidx";
48 description = "Python classes for indexing, retrieval, and in-place modification of FASTA files using a samtools compatible index";
49 license = licenses.bsd3;
50 maintainers = with maintainers; [ jbedo ];
51 };
52}