From 34fcc8ba257f64be86cbc95a6f7cd5e1e0072276 Mon Sep 17 00:00:00 2001 From: Rishik Yalamanchili <73787402+Rishik-Y@users.noreply.github.com> Date: Sat, 11 Jan 2025 22:54:19 +0530 Subject: [PATCH] [24.11] bottles: 51.13 -> 51.15 (#366437) --- pkgs/applications/misc/bottles/default.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/misc/bottles/default.nix b/pkgs/applications/misc/bottles/default.nix index bc9d3cb2e444e..c6aa927e1c020 100644 --- a/pkgs/applications/misc/bottles/default.nix +++ b/pkgs/applications/misc/bottles/default.nix @@ -1,7 +1,6 @@ { lib, fetchFromGitHub, - gitUpdater, python3Packages, blueprint-compiler, meson, @@ -25,17 +24,18 @@ mangohud, vkbasalt-cli, vmtouch, + nix-update-script, }: python3Packages.buildPythonApplication rec { pname = "bottles-unwrapped"; - version = "51.13"; + version = "51.15"; src = fetchFromGitHub { owner = "bottlesdevs"; repo = "bottles"; - rev = version; - hash = "sha256-ZcUevGY81H3ATTk390ojBp/4zBE2Lui7Qa+Qe8B0XL4="; + rev = "refs/tags/${version}"; + hash = "sha256-HjGAeIh9s7xWBy35Oj66tCtgKCd/DpHg1sMPsdjWKDs="; }; patches = [ ./vulkan_icd.patch ]; @@ -102,18 +102,19 @@ python3Packages.buildPythonApplication rec { makeWrapperArgs+=("''${gappsWrapperArgs[@]}") ''; - passthru.updateScript = gitUpdater { }; + passthru.updateScript = nix-update-script { }; - meta = with lib; { + meta = { description = "Easy-to-use wineprefix manager"; homepage = "https://usebottles.com/"; downloadPage = "https://github.com/bottlesdevs/Bottles/releases"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ psydvl shamilton + Gliczy ]; - platforms = platforms.linux; + platforms = lib.platforms.linux; mainProgram = "bottles"; }; }