e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
42 lines
866 B
Nix
42 lines
866 B
Nix
{ 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 ];
|
|
};
|
|
}
|