bruno: 3.1.1 -> 3.1.3 (#493448)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user