karakeep: add update script and version check
This commit is contained in:
parent
d434f81f71
commit
1d6dab032b
@ -2,6 +2,8 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
nix-update-script,
|
||||||
|
testers,
|
||||||
nodejs,
|
nodejs,
|
||||||
node-gyp,
|
node-gyp,
|
||||||
inter,
|
inter,
|
||||||
@ -124,6 +126,18 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
find $out -type l ! -exec test -e {} \; -delete
|
find $out -type l ! -exec test -e {} \; -delete
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tests = {
|
||||||
|
version = testers.testVersion {
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
# remove hardcoded version if upstream syncs general version with cli
|
||||||
|
# version
|
||||||
|
version = "0.23.0";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://karakeep.app/";
|
homepage = "https://karakeep.app/";
|
||||||
description = "Self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search";
|
description = "Self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user