pytrainer: Upgrade to webkitgtk_4_1 (#450075)
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
perl,
|
perl,
|
||||||
sqlite,
|
sqlite,
|
||||||
tzdata,
|
tzdata,
|
||||||
webkitgtk_4_0,
|
webkitgtk_4_1,
|
||||||
wrapGAppsHook3,
|
wrapGAppsHook3,
|
||||||
xvfb-run,
|
xvfb-run,
|
||||||
}:
|
}:
|
||||||
@@ -60,7 +60,7 @@ python.pkgs.buildPythonApplication rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
sqlite
|
sqlite
|
||||||
gtk3
|
gtk3
|
||||||
webkitgtk_4_0
|
webkitgtk_4_1
|
||||||
glib-networking
|
glib-networking
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
gdk-pixbuf
|
gdk-pixbuf
|
||||||
@@ -89,6 +89,10 @@ python.pkgs.buildPythonApplication rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pytrainer/platform.py \
|
substituteInPlace pytrainer/platform.py \
|
||||||
--replace-fail 'sys.prefix' "\"$out\""
|
--replace-fail 'sys.prefix' "\"$out\""
|
||||||
|
|
||||||
|
# https://github.com/pytrainer/pytrainer/pull/281
|
||||||
|
substituteInPlace pytrainer/extensions/mapviewer.py \
|
||||||
|
--replace-fail "gi.require_version('WebKit2', '4.0')" "gi.require_version('WebKit2', '4.1')"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user