python311Packages.niworkflows: modernize

This commit is contained in:
Peder Bergebakken Sundt
2024-08-13 17:49:36 +02:00
parent 9e4692ca28
commit 52e111e252
@@ -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