1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5}:
6
7buildPythonPackage rec {
8 pname = "bids-validator";
9 version = "1.13.1";
10 format = "setuptools";
11
12 disabled = pythonOlder "3.7";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-cgXOTmj7oXIhUzLHhvGsFmUCW3Arbf8rHhWPAKLfmJA=";
17 };
18
19 # needs packages which are not available in nixpkgs
20 doCheck = false;
21
22 pythonImportsCheck = [
23 "bids_validator"
24 ];
25
26 meta = with lib; {
27 description = "Validator for the Brain Imaging Data Structure";
28 homepage = "https://github.com/bids-standard/bids-validator";
29 changelog = "https://github.com/bids-standard/bids-validator/releases/tag/v${version}";
30 license = licenses.mit;
31 maintainers = with maintainers; [ jonringer ];
32 };
33}