mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
python312Packages.templateflow: fix build
This commit is contained in:
parent
221b2afe73
commit
65835ab8d2
@ -4,6 +4,8 @@
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools-scm,
|
||||
hatchling,
|
||||
hatch-vcs,
|
||||
nipreps-versions,
|
||||
pybids,
|
||||
requests,
|
||||
@ -24,8 +26,13 @@ buildPythonPackage rec {
|
||||
hash = "sha256-COS767n2aC65m6AJihZb4NhJ4ZK9YkTAZR7Hcnc/LMs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [
|
||||
build-system = [
|
||||
setuptools-scm
|
||||
hatchling
|
||||
hatch-vcs
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
nipreps-versions
|
||||
pybids
|
||||
requests
|
||||
@ -33,7 +40,12 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
doCheck = false; # most tests try to download data
|
||||
#pythonImportsCheck = [ "templateflow" ]; # touches $HOME/.cache, hence needs https://github.com/NixOS/nixpkgs/pull/120300
|
||||
|
||||
postFixup = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "templateflow" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://templateflow.org/python-client";
|
||||
|
Loading…
Reference in New Issue
Block a user