depot/third_party/nixpkgs/pkgs/development/python-modules/bids-validator/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
870 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
# build-system
setuptools,
versioneer,
}:
buildPythonPackage rec {
pname = "bids-validator";
version = "1.14.5";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-TXIb1ff7D6aM+8L5F47O5Dvupp1Sn4Rnl+GQaUdEgno=";
};
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 ];
};
}