blob: 1e0b8e9158c190568c3543797840e179f49d3873 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
numpy,
pandas,
}:
buildPythonPackage rec {
pname = "ancp-bids";
version = "0.3.1";
pyproject = true;
# `tests/data` dir missing from PyPI dist
src = fetchFromGitHub {
owner = "ANCPLabOldenburg";
repo = "ancp-bids";
tag = version;
hash = "sha256-brkhXz2b1nR/tjkZQZY5S+P0+GbESvJsANQcVWRCa9k=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
numpy
pandas
pytestCheckHook
];
pythonImportsCheck = [ "ancpbids" ];
enabledTestPaths = [ "tests/auto" ];
disabledTests = [ "test_fetch_dataset" ];
meta = {
homepage = "https://ancpbids.readthedocs.io";
description = "Read/write/validate/query BIDS datasets";
changelog = "https://github.com/ANCPLabOldenburg/ancp-bids/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
|