python311Packages.niworkflows: modernize

This commit is contained in:
Peder Bergebakken Sundt 2024-08-12 02:32:26 +02:00
parent 9e4692ca28
commit 52e111e252

View File

@ -40,16 +40,14 @@ buildPythonPackage rec {
hash = "sha256-29ZxLuKrvgCIOMMCUpi0HHhlNlgqUrUrSCiikwecmKw=";
};
postPatch = ''
substituteInPlace pyproject.toml --replace '"traits < 6.4"' '"traits"'
'';
pythonRelaxDeps = [ "traits" ];
nativeBuildInputs = [
build-system = [
hatch-vcs
hatchling
];
propagatedBuildInputs = [
dependencies = [
attrs
importlib-resources
jinja2