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