Skip to content

Commit

Permalink
Update Bottles-unwrapped (For NixOS 23.05) v51.05 → 51.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishik-Y authored Dec 19, 2024
1 parent 9a333ea commit c08a669
Showing 1 changed file with 67 additions and 66 deletions.
133 changes: 67 additions & 66 deletions pkgs/applications/misc/bottles/default.nix
Original file line number Diff line number Diff line change
@@ -1,51 +1,45 @@
{ lib
, fetchFromGitHub
, fetchpatch
, gitUpdater
, python3Packages
, blueprint-compiler
, meson
, ninja
, pkg-config
, wrapGAppsHook4
, appstream-glib
, desktop-file-utils
, librsvg
, gtk4
, gtksourceview5
, libadwaita
, cabextract
, p7zip
, xdpyinfo
, imagemagick
, lsb-release
, pciutils
, procps
, gamescope
, mangohud
, vkbasalt-cli
, vmtouch
{
lib,
fetchFromGitHub,
gitUpdater,
python3Packages,
blueprint-compiler,
meson,
ninja,
pkg-config,
wrapGAppsHook4,
appstream-glib,
desktop-file-utils,
librsvg,
gtk4,
gtksourceview5,
libadwaita,
cabextract,
p7zip,
xdpyinfo,
imagemagick,
lsb-release,
pciutils,
procps,
gamescope,
mangohud,
vkbasalt-cli,
vmtouch,
}:

python3Packages.buildPythonApplication rec {
pname = "bottles-unwrapped";
version = "51.5";
version = "51.11";

src = fetchFromGitHub {
owner = "bottlesdevs";
repo = "bottles";
rev = version;
sha256 = "sha256-8VF/CD0Wu2eV6wOpj/M6peKDthFWlcg+1NzzTSIH4S8=";
sha256 = "sha256-uS3xmTu+LrVFX93bYcJvYjl6179d3IjpxLKrOXn8Z8Y=";
};

patches = [
./vulkan_icd.patch

# Remove next version
(fetchpatch {
url = "https://github.com/bottlesdevs/Bottles/commit/7cb284f9bac0b71bf632bfc70d94f7a53bc51267.patch";
hash = "sha256-mRF+BtQ0qM7Yvx7SONeH2wc04F87fEyNRlBuyQrzN8Y=";
})
];

# https://github.com/bottlesdevs/Bottles/wiki/Packaging
Expand All @@ -67,38 +61,41 @@ python3Packages.buildPythonApplication rec {
libadwaita
];

propagatedBuildInputs = with python3Packages; [
pathvalidate
pycurl
pyyaml
requests
pygobject3
patool
markdown
fvs
pefile
urllib3
chardet
certifi
idna
orjson
icoextract
] ++ [
cabextract
p7zip
xdpyinfo
imagemagick
vkbasalt-cli
propagatedBuildInputs =
with python3Packages;
[
pathvalidate
pycurl
pyyaml
requests
pygobject3
patool
markdown
fvs
pefile
urllib3
chardet
certifi
idna
orjson
icoextract
]
++ [
cabextract
p7zip
xdpyinfo
imagemagick
vkbasalt-cli

gamescope
mangohud
vmtouch
gamescope
mangohud
vmtouch

# Undocumented (subprocess.Popen())
lsb-release
pciutils
procps
];
# Undocumented (subprocess.Popen())
lsb-release
pciutils
procps
];

format = "other";
dontWrapGApps = true; # prevent double wrapping
Expand All @@ -114,7 +111,11 @@ python3Packages.buildPythonApplication rec {
homepage = "https://usebottles.com/";
downloadPage = "https://github.com/bottlesdevs/Bottles/releases";
license = licenses.gpl3Only;
maintainers = with maintainers; [ psydvl shamilton ];
maintainers = with maintainers; [
psydvl
shamilton
];
platforms = platforms.linux;
mainProgram = "bottles";
};
}

0 comments on commit c08a669

Please sign in to comment.