Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 45 lines 805 B view raw
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.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.9"; 18 19 src = fetchPypi { 20 pname = "bidsschematools"; 21 inherit version; 22 hash = "sha256-XqtCKtg3oqLCz5KihW9yk96fJ1uDcgag6qKCU9Bdqe4="; 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}