nixpkgs/pkgs/development/python-modules/templateflow/default.nix
Martin Weinelt 288803625c python3Packages.templateflow: 25.0.4 -> 25.1.1
https://github.com/templateflow/python-client/releases/tag/25.1.1

This commit was automatically generated using update-python-libraries.
2026-02-01 17:39:03 +01:00

54 lines
1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
hatchling,
hatch-vcs,
nipreps-versions,
pybids,
requests,
tqdm,
}:
buildPythonPackage rec {
pname = "templateflow";
version = "25.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "templateflow";
repo = "python-client";
tag = version;
hash = "sha256-QkscrnSURUnZp+42dtVK++EHbHklmWRixpDRhNhHM50=";
};
build-system = [
setuptools-scm
hatchling
hatch-vcs
];
dependencies = [
nipreps-versions
pybids
requests
tqdm
];
doCheck = false; # most tests try to download data
postFixup = ''
export HOME=$(mktemp -d)
'';
pythonImportsCheck = [ "templateflow" ];
meta = {
homepage = "https://templateflow.org/python-client";
description = "Python API to query TemplateFlow via pyBIDS";
changelog = "https://github.com/templateflow/python-client/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}