From bbcdd4ae01fb70345e8a9b94f6849873e30da5a2 Mon Sep 17 00:00:00 2001 From: lucasew Date: Fri, 12 Apr 2024 13:16:06 -0300 Subject: [PATCH] bruno: 1.12.2 -> 1.12.3 Signed-off-by: lucasew --- pkgs/by-name/br/bruno/package.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/br/bruno/package.nix b/pkgs/by-name/br/bruno/package.nix index 6cfc191f895f..921cf8216564 100644 --- a/pkgs/by-name/br/bruno/package.nix +++ b/pkgs/by-name/br/bruno/package.nix @@ -16,7 +16,6 @@ , npm-lockfile-fix , overrideSDK , darwin -, fetchpatch }: let @@ -25,26 +24,18 @@ let buildNpmPackage.override { stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv; }; - # update package-lock to fix build errors. this will be resolved in the - # next patch version of Bruno at which point the patch can be removed entirely. - # upstream PR: https://github.com/usebruno/bruno/pull/1894 - brunoLockfilePatch_1_12_2 = fetchpatch { - url = "https://github.com/usebruno/bruno/pull/1894/commits/e3bab23446623315ee674283285a86e210778fe7.patch"; - hash = "sha256-8rYBvgu9ZLXjb9AFyk4yMBVjcyFPmlNi66YEaQGQaKw="; - }; in buildNpmPackage' rec { pname = "bruno"; - version = "1.12.2"; + version = "1.12.3"; src = fetchFromGitHub { owner = "usebruno"; repo = "bruno"; rev = "v${version}"; - hash = "sha256-C/WeEloUGF0PEfeanm6lHe/MgpcF+g/ZY2tnqXFl9LA="; + hash = "sha256-ubvsTJ/MSEguVeJg91LvgARWte+p5MHdqhXIVqbyPhQ="; postFetch = '' - patch -d $out <${brunoLockfilePatch_1_12_2} ${lib.getExe npm-lockfile-fix} $out/package-lock.json ''; };