printrun: migrate to pythonRelaxDepsHook
This commit is contained in:
@@ -18,12 +18,14 @@ python3Packages.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "pyglet >= 1.1, < 2.0" "pyglet" \
|
||||
--replace "cairosvg >= 1.0.9, < 2.6.0" "cairosvg"
|
||||
sed -i -r "s|/usr(/local)?/share/|$out/share/|g" printrun/utils.py
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pyglet"
|
||||
"cairosvg"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
glib
|
||||
wrapGAppsHook3
|
||||
|
||||
Reference in New Issue
Block a user