blob: c70268dea0b54bc3564bd8227eac8ea7e80fb14c (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
# build-system
, setuptools
, versioneer
}:
buildPythonPackage rec {
pname = "bids-validator";
version = "1.14.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-M7D4ZcGqPjn7klGN8WP6a3lHjRqhAq9S/VNwSl7y6kY=";
};
nativeBuildInputs = [
setuptools
versioneer
];
# needs packages which are not available in nixpkgs
doCheck = false;
pythonImportsCheck = [
"bids_validator"
];
meta = with lib; {
description = "Validator for the Brain Imaging Data Structure";
homepage = "https://github.com/bids-standard/bids-validator";
changelog = "https://github.com/bids-standard/bids-validator/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}
|