1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 pdm-backend,
7 acres,
8 click,
9 pyyaml,
10}:
11
12buildPythonPackage rec {
13 pname = "bidsschematools";
14 version = "1.1.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.9";
18
19 src = fetchPypi {
20 pname = "bidsschematools";
21 inherit version;
22 hash = "sha256-cVVfI2Sie6ase/+Gm1GB/2SqGAxeVnJRgLQwEmJ8DgY=";
23 };
24
25 build-system = [
26 pdm-backend
27 ];
28
29 dependencies = [
30 acres
31 click
32 pyyaml
33 ];
34
35 pythonImportsCheck = [
36 "bidsschematools"
37 ];
38
39 meta = {
40 description = "Python tools for working with the BIDS schema";
41 homepage = "https://github.com/bids-standard/bids-specification/tree/master/tools/schemacode";
42 license = lib.licenses.mit;
43 maintainers = with lib.maintainers; [ wegank ];
44 };
45}