Merge pull request #134289 from asbachb/update/bottles
This commit is contained in:
commit
f78e699035
@ -3,18 +3,18 @@
|
|||||||
, desktop-file-utils, gsettings-desktop-schemas, libnotify, libhandy
|
, desktop-file-utils, gsettings-desktop-schemas, libnotify, libhandy
|
||||||
, python3Packages, gettext
|
, python3Packages, gettext
|
||||||
, appstream-glib, gdk-pixbuf, glib, gobject-introspection, gspell, gtk3
|
, appstream-glib, gdk-pixbuf, glib, gobject-introspection, gspell, gtk3
|
||||||
, steam-run-native
|
, steam-run, xdg-utils, pciutils, cabextract, wineWowPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "bottles";
|
pname = "bottles";
|
||||||
version = "2021.7.14-treviso";
|
version = "2021.7.28-treviso-2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bottlesdevs";
|
owner = "bottlesdevs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0xhfk1ll8vacgrr0kkhynq4bryjhfjs29j824bark5mj9b6lkbix";
|
sha256 = "0kvwcajm9izvkwfg7ir7bks39bpc665idwa8mc8d536ajyjriysn";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -52,7 +52,14 @@ python3Packages.buildPythonApplication rec {
|
|||||||
dbus-python
|
dbus-python
|
||||||
gst-python
|
gst-python
|
||||||
liblarch
|
liblarch
|
||||||
] ++ [ steam-run-native ];
|
patool
|
||||||
|
] ++ [
|
||||||
|
steam-run
|
||||||
|
xdg-utils
|
||||||
|
pciutils
|
||||||
|
cabextract
|
||||||
|
wineWowPackages.minimal
|
||||||
|
];
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
strictDeps = false; # broken with gobject-introspection setup hook, see https://github.com/NixOS/nixpkgs/issues/56943
|
strictDeps = false; # broken with gobject-introspection setup hook, see https://github.com/NixOS/nixpkgs/issues/56943
|
||||||
@ -62,8 +69,10 @@ python3Packages.buildPythonApplication rec {
|
|||||||
substituteInPlace build-aux/meson/postinstall.py \
|
substituteInPlace build-aux/meson/postinstall.py \
|
||||||
--replace "'update-desktop-database'" "'${desktop-file-utils}/bin/update-desktop-database'"
|
--replace "'update-desktop-database'" "'${desktop-file-utils}/bin/update-desktop-database'"
|
||||||
substituteInPlace src/runner.py \
|
substituteInPlace src/runner.py \
|
||||||
--replace " {runner}" " ${steam-run-native}/bin/steam-run {runner}" \
|
--replace " {runner}" " ${steam-run}/bin/steam-run {runner}" \
|
||||||
--replace " {dxvk_setup}" " ${steam-run-native}/bin/steam-run {dxvk_setup}"
|
--replace " {dxvk_setup}" " ${steam-run}/bin/steam-run {dxvk_setup}"
|
||||||
|
substituteInPlace src/runner_utilities.py \
|
||||||
|
--replace " {runner}" " ${steam-run}/bin/steam-run {runner}" \
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user