blob: 7b82f2ecea42723aae5eb3f7c8b14dd45a847550 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
numpy,
pytestCheckHook,
zlib,
}:
buildPythonPackage rec {
pname = "pybigwig";
version = "0.3.25";
format = "setuptools";
src = fetchFromGitHub {
owner = "deeptools";
repo = "pyBigWig";
tag = version;
hash = "sha256-Vq/QdJg2qObJ49lHZ4RjULfI0f7pScLRWGW8NBZoMAw=";
};
buildInputs = [ zlib ];
nativeCheckInputs = [
numpy
pytestCheckHook
];
pythonImportsCheck = [ "pyBigWig" ];
enabledTestPaths = [ "pyBigWigTest/test*.py" ];
disabledTests = [
# Test file is downloaded from GitHub
"testAll"
"testBigBed"
"testFoo"
"testNumpyValues"
];
meta = {
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/${src.tag}";
license = lib.licenses.mit;
};
}
|