kazumi: 1.4.7 -> 1.4.8 (#368443)

This commit is contained in:
Peder Bergebakken Sundt
2024-12-31 16:15:58 +01:00
committed by GitHub
3 changed files with 47 additions and 26 deletions
+12 -10
View File
@@ -14,13 +14,13 @@
}:
flutter327.buildFlutterApplication rec {
pname = "kazumi";
version = "1.4.7";
version = "1.4.8";
src = fetchFromGitHub {
owner = "Predidit";
repo = "Kazumi";
tag = version;
hash = "sha256-/sr2CQ9ntwfR2QCgidQE3kwBSIG+qfpSR/XhRPpmBm0=";
hash = "sha256-E1JOBdOfb2WyTDU0nOu1SCFSfv5O4VKj+9Go8wcMips=";
};
pubspecLock = lib.importJSON ./pubspec.lock.json;
@@ -92,14 +92,14 @@ flutter327.buildFlutterApplication rec {
gitHashes = {
desktop_webview_window = "sha256-Z9ehzDKe1W3wGa2AcZoP73hlSwydggO6DaXd9mop+cM=";
webview_windows = "sha256-9oWTvEoFeF7djEVA3PSM72rOmOMUhV8ZYuV6+RreNzE=";
media_kit = "sha256-bWS3j4mUdMYfPhzS16z3NZxLTQDrEpDm3dtkzxcdKpQ=";
media_kit_libs_android_video = "sha256-bWS3j4mUdMYfPhzS16z3NZxLTQDrEpDm3dtkzxcdKpQ=";
media_kit_libs_ios_video = "sha256-bWS3j4mUdMYfPhzS16z3NZxLTQDrEpDm3dtkzxcdKpQ=";
media_kit_libs_linux = "sha256-bWS3j4mUdMYfPhzS16z3NZxLTQDrEpDm3dtkzxcdKpQ=";
media_kit_libs_macos_video = "sha256-bWS3j4mUdMYfPhzS16z3NZxLTQDrEpDm3dtkzxcdKpQ=";
media_kit_libs_video = "sha256-bWS3j4mUdMYfPhzS16z3NZxLTQDrEpDm3dtkzxcdKpQ=";
media_kit_libs_windows_video = "sha256-bWS3j4mUdMYfPhzS16z3NZxLTQDrEpDm3dtkzxcdKpQ=";
media_kit_video = "sha256-bWS3j4mUdMYfPhzS16z3NZxLTQDrEpDm3dtkzxcdKpQ=";
media_kit = "sha256-ciznKvZedg2poq377zkyjwyeGRxq0N7b/Rh4upCoths=";
media_kit_libs_android_video = "sha256-ciznKvZedg2poq377zkyjwyeGRxq0N7b/Rh4upCoths=";
media_kit_libs_ios_video = "sha256-ciznKvZedg2poq377zkyjwyeGRxq0N7b/Rh4upCoths=";
media_kit_libs_linux = "sha256-ciznKvZedg2poq377zkyjwyeGRxq0N7b/Rh4upCoths=";
media_kit_libs_macos_video = "sha256-ciznKvZedg2poq377zkyjwyeGRxq0N7b/Rh4upCoths=";
media_kit_libs_video = "sha256-ciznKvZedg2poq377zkyjwyeGRxq0N7b/Rh4upCoths=";
media_kit_libs_windows_video = "sha256-ciznKvZedg2poq377zkyjwyeGRxq0N7b/Rh4upCoths=";
media_kit_video = "sha256-ciznKvZedg2poq377zkyjwyeGRxq0N7b/Rh4upCoths=";
};
postInstall = ''
@@ -107,6 +107,8 @@ flutter327.buildFlutterApplication rec {
install -Dm0644 ./assets/images/logo/logo_linux.png $out/share/icons/hicolor/512x512/apps/io.github.Predidit.Kazumi.png
'';
passthru.updateScript = ./update.sh;
meta = {
description = "Watch Animes online with danmaku support";
homepage = "https://github.com/Predidit/Kazumi";
+16 -16
View File
@@ -886,7 +886,7 @@
"description": {
"path": "media_kit",
"ref": "main",
"resolved-ref": "eefa578ea41f594b8392653edff6fe8da05cc95b",
"resolved-ref": "ba7c156ad59e55d69f9c8a5c74300f1bb7034c60",
"url": "https://github.com/Predidit/media-kit.git"
},
"source": "git",
@@ -897,7 +897,7 @@
"description": {
"path": "libs/android/media_kit_libs_android_video",
"ref": "main",
"resolved-ref": "eefa578ea41f594b8392653edff6fe8da05cc95b",
"resolved-ref": "ba7c156ad59e55d69f9c8a5c74300f1bb7034c60",
"url": "https://github.com/Predidit/media-kit.git"
},
"source": "git",
@@ -908,7 +908,7 @@
"description": {
"path": "libs/ios/media_kit_libs_ios_video",
"ref": "main",
"resolved-ref": "eefa578ea41f594b8392653edff6fe8da05cc95b",
"resolved-ref": "ba7c156ad59e55d69f9c8a5c74300f1bb7034c60",
"url": "https://github.com/Predidit/media-kit.git"
},
"source": "git",
@@ -919,7 +919,7 @@
"description": {
"path": "libs/linux/media_kit_libs_linux",
"ref": "main",
"resolved-ref": "eefa578ea41f594b8392653edff6fe8da05cc95b",
"resolved-ref": "ba7c156ad59e55d69f9c8a5c74300f1bb7034c60",
"url": "https://github.com/Predidit/media-kit.git"
},
"source": "git",
@@ -930,7 +930,7 @@
"description": {
"path": "libs/macos/media_kit_libs_macos_video",
"ref": "main",
"resolved-ref": "eefa578ea41f594b8392653edff6fe8da05cc95b",
"resolved-ref": "ba7c156ad59e55d69f9c8a5c74300f1bb7034c60",
"url": "https://github.com/Predidit/media-kit.git"
},
"source": "git",
@@ -941,7 +941,7 @@
"description": {
"path": "libs/universal/media_kit_libs_video",
"ref": "main",
"resolved-ref": "eefa578ea41f594b8392653edff6fe8da05cc95b",
"resolved-ref": "ba7c156ad59e55d69f9c8a5c74300f1bb7034c60",
"url": "https://github.com/Predidit/media-kit.git"
},
"source": "git",
@@ -952,7 +952,7 @@
"description": {
"path": "libs/windows/media_kit_libs_windows_video",
"ref": "main",
"resolved-ref": "eefa578ea41f594b8392653edff6fe8da05cc95b",
"resolved-ref": "ba7c156ad59e55d69f9c8a5c74300f1bb7034c60",
"url": "https://github.com/Predidit/media-kit.git"
},
"source": "git",
@@ -963,7 +963,7 @@
"description": {
"path": "media_kit_video",
"ref": "main",
"resolved-ref": "eefa578ea41f594b8392653edff6fe8da05cc95b",
"resolved-ref": "ba7c156ad59e55d69f9c8a5c74300f1bb7034c60",
"url": "https://github.com/Predidit/media-kit.git"
},
"source": "git",
@@ -1083,21 +1083,21 @@
"dependency": "transitive",
"description": {
"name": "package_info_plus",
"sha256": "da8d9ac8c4b1df253d1a328b7bf01ae77ef132833479ab40763334db13b91cce",
"sha256": "70c421fe9d9cc1a9a7f3b05ae56befd469fe4f8daa3b484823141a55442d858d",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "8.1.1"
"version": "8.1.2"
},
"package_info_plus_platform_interface": {
"dependency": "transitive",
"description": {
"name": "package_info_plus_platform_interface",
"sha256": "ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66",
"sha256": "a5ef9986efc7bf772f2696183a3992615baa76c1ffb1189318dd8803778fb05b",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "3.0.1"
"version": "3.0.2"
},
"path": {
"dependency": "transitive",
@@ -1849,21 +1849,21 @@
"dependency": "transitive",
"description": {
"name": "wakelock_plus",
"sha256": "bf4ee6f17a2fa373ed3753ad0e602b7603f8c75af006d5b9bdade263928c0484",
"sha256": "36c88af0b930121941345306d259ec4cc4ecca3b151c02e3a9e71aede83c615e",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.2.8"
"version": "1.2.10"
},
"wakelock_plus_platform_interface": {
"dependency": "transitive",
"description": {
"name": "wakelock_plus_platform_interface",
"sha256": "422d1cdbb448079a8a62a5a770b69baa489f8f7ca21aef47800c726d404f9d16",
"sha256": "70e780bc99796e1db82fe764b1e7dcb89a86f1e5b3afb1db354de50f2e41eb7a",
"url": "https://pub.dev"
},
"source": "hosted",
"version": "1.2.1"
"version": "1.2.2"
},
"watcher": {
"dependency": "transitive",
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env nix-shell
#!nix-shell -I nixpkgs=./. -i bash -p curl jq yq nixVersions.latest bash coreutils nix-update
set -eou pipefail
ROOT="$(dirname "$(readlink -f "$0")")"
latestVersion=$(curl ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} -sL https://api.github.com/repos/Predidit/Kazumi/releases/latest | jq --raw-output .tag_name)
currentVersion=$(nix-instantiate --eval -E "with import ./. {}; kazumi.version or (lib.getVersion kazumi)" | tr -d '"')
if [[ "$currentVersion" == "$latestVersion" ]]; then
echo "package is up-to-date: $currentVersion"
exit 0
fi
nix-update kazumi
curl https://raw.githubusercontent.com/Predidit/Kazumi/${latestVersion}/pubspec.lock | yq . >$ROOT/pubspec.lock.json