blob: b82126e5862e8b8d74b3695bc333856aab00f549 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
numpy,
pytestCheckHook,
pythonOlder,
zlib,
}:
buildPythonPackage rec {
pname = "pybigwig";
version = "0.3.23";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "deeptools";
repo = "pyBigWig";
rev = "refs/tags/${version}";
hash = "sha256-ch9nZrQAnzFQQ62/NF4J51pV4DQAbVq4/f/6LaXf5hM=";
};
buildInputs = [ zlib ];
nativeCheckInputs = [
numpy
pytestCheckHook
];
pythonImportsCheck = [ "pyBigWig" ];
pytestFlagsArray = [ "pyBigWigTest/test*.py" ];
disabledTests = [
# Test file is donwloaded from GitHub
"testAll"
"testBigBed"
"testFoo"
"testNumpyValues"
];
meta = with lib; {
description = "File access to bigBed files, and read and write access to bigWig files";
longDescription = ''
A Python extension, written in C, for quick access to bigBed files
and access to and creation of bigWig files. This extension uses
libBigWig for local and remote file access.
'';
homepage = "https://github.com/deeptools/pyBigWig";
changelog = "https://github.com/deeptools/pyBigWig/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ scalavision ];
};
}
|