mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
printrun: migrate to pythonRelaxDepsHook
This commit is contained in:
parent
93a249f882
commit
5ca79898de
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue