Merge pull request #233921 from 5aaee9/master

memos: 0.12.2 -> 0.13.0
This commit is contained in:
Weijia Wang 2023-05-25 15:35:04 +03:00 committed by GitHub
commit 037e8a53cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
{ fetchFromGitHub, buildGoModule, jq, buildNpmPackage, lib, makeWrapper }:
let
version = "0.12.2";
version = "0.13.0";
src = fetchFromGitHub {
owner = "usememos";
repo = "memos";
rev = "v${version}";
sha256 = "vAY++SHUMBw+jyuu6KFNt62kE5FM8ysGheQwBSOYos8=";
sha256 = "7rMs1jFyGlCfc7LVZvsQ9tuBLsWP/S9DXYcEPZ86tKw=";
};
frontend = buildNpmPackage {
@ -32,7 +32,7 @@ buildGoModule rec {
# check will unable to access network in sandbox
doCheck = false;
vendorSha256 = "sha256-P4OnICBiTAs/uaQgoYNKK50yj/PYntyH/bLihdPv88s=";
vendorSha256 = "sha256-OztHMpOj7Ewmxu+pzPmzmtHBDe1sbzj805In37mFjzU=";
# Inject frontend assets into go embed
prePatch = ''