mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
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
|
||||
, python3Packages, gettext
|
||||
, appstream-glib, gdk-pixbuf, glib, gobject-introspection, gspell, gtk3
|
||||
, steam-run-native
|
||||
, steam-run, xdg-utils, pciutils, cabextract, wineWowPackages
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "bottles";
|
||||
version = "2021.7.14-treviso";
|
||||
version = "2021.7.28-treviso-2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bottlesdevs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0xhfk1ll8vacgrr0kkhynq4bryjhfjs29j824bark5mj9b6lkbix";
|
||||
sha256 = "0kvwcajm9izvkwfg7ir7bks39bpc665idwa8mc8d536ajyjriysn";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -52,7 +52,14 @@ python3Packages.buildPythonApplication rec {
|
||||
dbus-python
|
||||
gst-python
|
||||
liblarch
|
||||
] ++ [ steam-run-native ];
|
||||
patool
|
||||
] ++ [
|
||||
steam-run
|
||||
xdg-utils
|
||||
pciutils
|
||||
cabextract
|
||||
wineWowPackages.minimal
|
||||
];
|
||||
|
||||
format = "other";
|
||||
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 \
|
||||
--replace "'update-desktop-database'" "'${desktop-file-utils}/bin/update-desktop-database'"
|
||||
substituteInPlace src/runner.py \
|
||||
--replace " {runner}" " ${steam-run-native}/bin/steam-run {runner}" \
|
||||
--replace " {dxvk_setup}" " ${steam-run-native}/bin/steam-run {dxvk_setup}"
|
||||
--replace " {runner}" " ${steam-run}/bin/steam-run {runner}" \
|
||||
--replace " {dxvk_setup}" " ${steam-run}/bin/steam-run {dxvk_setup}"
|
||||
substituteInPlace src/runner_utilities.py \
|
||||
--replace " {runner}" " ${steam-run}/bin/steam-run {runner}" \
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
|
Loading…
Reference in New Issue
Block a user