bruno: 3.1.1 -> 3.1.3 (#493448)

This commit is contained in:
Mathew Polzin
2026-02-25 21:12:05 +00:00
committed by GitHub
2 changed files with 13 additions and 2 deletions
+11
View File
@@ -44,6 +44,17 @@ buildNpmPackage {
env.ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
# remove giflib dependency
npmRebuildFlags = [ "--ignore-scripts" ];
preBuild = ''
# upstream keeps removing and adding back canvas, only patch it when it is present
if [[ -e node_modules/canvas/binding.gyp ]]; then
substituteInPlace node_modules/canvas/binding.gyp \
--replace-fail "'with_gif%': '<!(node ./util/has_lib.js gif)'" "'with_gif%': 'false'"
npm rebuild
fi
'';
buildPhase = ''
runHook preBuild
+2 -2
View File
@@ -21,13 +21,13 @@
buildNpmPackage rec {
pname = "bruno";
version = "3.1.1";
version = "3.1.3";
src = fetchFromGitHub {
owner = "usebruno";
repo = "bruno";
tag = "v${version}";
hash = "sha256-XoGD8lDc6QGka17KTvVX3gEj1fo+4NWpUM8mLA5F+i4=";
hash = "sha256-6YC4+gQDqo66mZjV4mVLPTdOaEUXxn+0PpZ0Gd8aeqU=";
postFetch = ''
${lib.getExe npm-lockfile-fix} $out/package-lock.json