1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 setuptools,
7 click,
8 pyyaml,
9 jsonschema,
10}:
11
12buildPythonPackage rec {
13 pname = "bidsschematools";
14 version = "1.0.5";
15 pyproject = true;
16
17 disabled = pythonOlder "3.9";
18
19 src = fetchPypi {
20 pname = "bidsschematools";
21 inherit version;
22 hash = "sha256-LKStxCh7TY7rSx6T9EnPJqCNxuj5dHvlK6E+m8D21BE=";
23 };
24
25 build-system = [
26 setuptools
27 ];
28
29 dependencies = [
30 click
31 pyyaml
32 jsonschema
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}