at master 835 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pdm-backend, 6 importlib-resources, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "acres"; 12 version = "0.5.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "nipreps"; 17 repo = "acres"; 18 tag = version; 19 hash = "sha256-D2w/xGlt0ApQ1Il9pzHPcL1s3CmCCOdgRpvUw/LI3gA="; 20 }; 21 22 build-system = [ 23 pdm-backend 24 ]; 25 26 dependencies = [ 27 importlib-resources 28 ]; 29 30 pythonImportsCheck = [ 31 "acres" 32 ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 ]; 37 38 meta = { 39 description = "Data-loading utility for Python"; 40 homepage = "https://github.com/nipreps/acres"; 41 changelog = "https://github.com/nipreps/acres/blob/${version}/CHANGELOG.md"; 42 license = lib.licenses.asl20; 43 maintainers = with lib.maintainers; [ GaetanLepage ]; 44 }; 45}