nixpkgs/pkgs/development/python-modules/bidsschematools/default.nix

46 lines
812 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
setuptools,
click,
pyyaml,
jsonschema,
}:
buildPythonPackage rec {
pname = "bidsschematools";
version = "0.11.3.post3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "bidsschematools";
inherit version;
hash = "sha256-GGMNAEW/gyBaduVuzPN5+9hmHYp+XQJwG8KQBeVkKfc=";
};
build-system = [
setuptools
];
dependencies = [
click
pyyaml
jsonschema
];
pythonImportsCheck = [
"bidsschematools"
];
meta = {
description = "Python tools for working with the BIDS schema";
homepage = "https://github.com/bids-standard/bids-specification/tree/master/tools/schemacode";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ wegank ];
};
}