mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-16 18:03:59 +00:00
46 lines
812 B
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 ];
|
|
};
|
|
}
|