nixpkgs-suyu/pkgs/development/python-modules/bids-validator/default.nix
2023-05-13 10:03:59 +02:00

33 lines
769 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "bids-validator";
version = "1.11.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-QIxWdIt8+Yz3wxgi8zqNicXm59tSVMNFEH6NUnV2/1M=";
};
# 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 ];
};
}