skeditor: init at 2.8.1 (#351582)

This commit is contained in:
Aleksana 2024-10-29 11:01:32 +08:00 committed by GitHub
commit 57c53ec77b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 526 additions and 0 deletions

View File

@ -0,0 +1,476 @@
# This file was automatically generated by passthru.fetch-deps.
# Please dont edit it manually, your changes might get overwritten!
{ fetchNuGet }:
[
(fetchNuGet {
pname = "AsyncImageLoader.Avalonia";
version = "3.3.0";
hash = "sha256-blhfKI+vX+ojT2cOvSHu3Kp2CuxvhW/l+as88Dia4bA=";
})
(fetchNuGet {
pname = "Avalonia";
version = "11.1.3";
hash = "sha256-kz+k/vkuWoL0XBvRT8SadMOmmRCFk9W/J4k/IM6oYX0=";
})
(fetchNuGet {
pname = "Avalonia.Angle.Windows.Natives";
version = "2.1.22045.20230930";
hash = "sha256-RxPcWUT3b/+R3Tu5E5ftpr5ppCLZrhm+OTsi0SwW3pc=";
})
(fetchNuGet {
pname = "Avalonia.BuildServices";
version = "0.0.29";
hash = "sha256-WPHRMNowRnYSCh88DWNBCltWsLPyOfzXGzBqLYE7tRY=";
})
(fetchNuGet {
pname = "Avalonia.Controls.ColorPicker";
version = "11.0.0";
hash = "sha256-xzbJvbOYGHtd8rtKgsMTtOarbVQ8mIvs7IruODv8jxs=";
})
(fetchNuGet {
pname = "Avalonia.Controls.ColorPicker";
version = "11.1.0";
hash = "sha256-xawQhivop0f7n98Xqj5fScDdF0RPPpVIoTpVs+p6T3Q=";
})
(fetchNuGet {
pname = "Avalonia.Controls.ColorPicker";
version = "11.1.3";
hash = "sha256-W17Wvmi8/47cf5gCF3QRcaKLz0ZpXtZYCCkaERkbyXU=";
})
(fetchNuGet {
pname = "Avalonia.Controls.DataGrid";
version = "11.0.0";
hash = "sha256-Ukvt2JebIWb+y1x77EAVl2Nbay92OX30k5TdwElvjGI=";
})
(fetchNuGet {
pname = "Avalonia.Controls.DataGrid";
version = "11.1.0";
hash = "sha256-CcfwmgbN+Z/uqNtgKRH2KFJwomnnkWVhZbTPF2K0Oeg=";
})
(fetchNuGet {
pname = "Avalonia.Controls.DataGrid";
version = "11.1.3";
hash = "sha256-OOKTovi5kckn0x/8dMcq56cvq57UVMLzA9LRXDxm2Vc=";
})
(fetchNuGet {
pname = "Avalonia.Controls.ItemsRepeater";
version = "11.1.3";
hash = "sha256-1CbelZlb3BwMp9Faen/CQLEPBHko79uNqEtCWNf6yA0=";
})
(fetchNuGet {
pname = "Avalonia.Desktop";
version = "11.1.3";
hash = "sha256-mNFscbtyqLlodzGa3SJ3oVY467JjWwY45LxZiKDAn/w=";
})
(fetchNuGet {
pname = "Avalonia.Diagnostics";
version = "11.1.3";
hash = "sha256-PD9ZIeBZJrLaVDjmWBz4GocrdUSNUou11gAERU+xWDo=";
})
(fetchNuGet {
pname = "Avalonia.Fonts.Inter";
version = "11.1.3";
hash = "sha256-OKQokPLo8/vAoJl4mAiUgQT5z5zwico4WqPOR+CbYuA=";
})
(fetchNuGet {
pname = "Avalonia.FreeDesktop";
version = "11.1.3";
hash = "sha256-nUBhSRE0Bly3dVC14wXwU19vP3g0VbE4bCUohx7DCVI=";
})
(fetchNuGet {
pname = "Avalonia.Markup.Xaml.Loader";
version = "11.1.3";
hash = "sha256-4ZzcK4XRyKokwd4IfxicQ7GNfJT8ztwYnAFFEhKOIzg=";
})
(fetchNuGet {
pname = "Avalonia.Native";
version = "11.1.3";
hash = "sha256-byAVGW7XgkyzDj1TnqaCeDU/xTD9z8ACGrSJgwJ+XXs=";
})
(fetchNuGet {
pname = "Avalonia.Remote.Protocol";
version = "11.0.0";
hash = "sha256-gkVpdbk/0RDM7Hhq0jwZwltDpTsGRmbX+ZFTjWYYoKw=";
})
(fetchNuGet {
pname = "Avalonia.Remote.Protocol";
version = "11.1.0";
hash = "sha256-MAguJ8qTdwvgtEq5SYxyzFNsC90gcBfZxXPkFBEWx5E=";
})
(fetchNuGet {
pname = "Avalonia.Remote.Protocol";
version = "11.1.3";
hash = "sha256-CKF+62zCbK1Rd/HiC6MGrags3ylXrVQ1lni3Um0Muqk=";
})
(fetchNuGet {
pname = "Avalonia.Skia";
version = "11.0.0";
hash = "sha256-A01nrs3Ij1eTo6tPmu7++T1K+Wo/H/9LvpeuOUGbQeU=";
})
(fetchNuGet {
pname = "Avalonia.Skia";
version = "11.1.0";
hash = "sha256-w4ozV8lIs5vxoYP5D5Lut2iTMiJKVPbjdtqDB1sb0MI=";
})
(fetchNuGet {
pname = "Avalonia.Skia";
version = "11.1.3";
hash = "sha256-EtB86g+nz6i8wL6xytMkYl2Ehgt3GFMMNPzQfhbfopM=";
})
(fetchNuGet {
pname = "Avalonia.Svg.Skia";
version = "11.1.0";
hash = "sha256-6TvmqslBd3l2Fd+HFCyY381EUkCNUGAqzNKEYwQf9qg=";
})
(fetchNuGet {
pname = "Avalonia.Themes.Fluent";
version = "11.1.3";
hash = "sha256-qfmRK2gLGSgHx4dNIeVesWxLUjcook9ET2xru/Xyiw8=";
})
(fetchNuGet {
pname = "Avalonia.Themes.Simple";
version = "11.1.3";
hash = "sha256-Q6jL5J/6aBtOY85I641RVp8RpuqJbPy6C6LxnRkFtMM=";
})
(fetchNuGet {
pname = "Avalonia.Win32";
version = "11.1.3";
hash = "sha256-zcxTpEnpLf50p8Yaiylk5/CS9MNDe7lK1uX1CPaJBUc=";
})
(fetchNuGet {
pname = "Avalonia.X11";
version = "11.1.3";
hash = "sha256-M2+y661/znDxZRdwNRIQi4mS2m6T4kQkBbYeE7KyQAw=";
})
(fetchNuGet {
pname = "Avalonia.Xaml.Behaviors";
version = "11.1.0";
hash = "sha256-+QzOb0/GpWmUrZDHJvoPnmzugyr5KJyz1jrXRbHGNPY=";
})
(fetchNuGet {
pname = "Avalonia.Xaml.Interactions";
version = "11.1.0";
hash = "sha256-+dxsxoJmpNdMWmiUgsiNnmko0zp1rAImXQ2Rf44lE7E=";
})
(fetchNuGet {
pname = "Avalonia.Xaml.Interactions.Custom";
version = "11.1.0";
hash = "sha256-2nLEU+0UQ9DflsHM9Ijv1Y4YCBHOHxA01zsAivay0hA=";
})
(fetchNuGet {
pname = "Avalonia.Xaml.Interactions.DragAndDrop";
version = "11.1.0";
hash = "sha256-LQyCsZDqTheFUpCeZ/Ib5rejFZmg3Q0ppZTTjFPE81o=";
})
(fetchNuGet {
pname = "Avalonia.Xaml.Interactions.Draggable";
version = "11.1.0";
hash = "sha256-1gU9iZj11/+MmHq9unAueC73tV6hrNGRlsx17eAqDCY=";
})
(fetchNuGet {
pname = "Avalonia.Xaml.Interactions.Events";
version = "11.1.0";
hash = "sha256-bF0cOfw9XejLowrMA3CwRzNvopateW4a7eF70bvU8wc=";
})
(fetchNuGet {
pname = "Avalonia.Xaml.Interactions.Responsive";
version = "11.1.0";
hash = "sha256-SMqp2YjiImfxaY1f60E15Z5Cfi3oD0G70MjZ3kCDqJ8=";
})
(fetchNuGet {
pname = "Avalonia.Xaml.Interactivity";
version = "11.1.0";
hash = "sha256-QO/ft2Qgjt1haSu3IX3q15XyowLuyDgoA9jvcqEpVWg=";
})
(fetchNuGet {
pname = "CommunityToolkit.Mvvm";
version = "8.2.2";
hash = "sha256-vdprWEw+J6yJZLWZTUFTrQAHWLuPVXPBaYmePD7kcwY=";
})
(fetchNuGet {
pname = "DiscordRichPresence";
version = "1.2.1.24";
hash = "sha256-oRNrlF1/yK0QvrW2+48RsmSg9h9/pDIfA56/bpoHXFU=";
})
(fetchNuGet {
pname = "ExCSS";
version = "4.2.3";
hash = "sha256-M/H6P5p7qqdFz/fgAI2MMBWQ7neN/GIieYSSxxjsM9I=";
})
(fetchNuGet {
pname = "FluentAvaloniaUI";
version = "2.0.0";
hash = "sha256-LyBiRiv/mbp4mDpLmGD665l+kxEK9XiuKgcqpRi6cDg=";
})
(fetchNuGet {
pname = "FluentIcons.Avalonia.Fluent";
version = "1.1.253";
hash = "sha256-jn7i8LQPlBTPbnsb9F7O4utOd4E7pmdGx5TDkKjv4gs=";
})
(fetchNuGet {
pname = "FluentIcons.Common";
version = "1.1.253";
hash = "sha256-P0Segg1nxsgfU4TZjjcU6koL5ktYxEZ8svFyc10O714=";
})
(fetchNuGet {
pname = "HarfBuzzSharp";
version = "2.8.2.3";
hash = "sha256-4tbdgUabPjlkBm3aUFeocj4Fdslmms2olDFpzOLyqoQ=";
})
(fetchNuGet {
pname = "HarfBuzzSharp";
version = "7.3.0.2";
hash = "sha256-ibgoqzT1NV7Qo5e7X2W6Vt7989TKrkd2M2pu+lhSDg8=";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.Linux";
version = "2.8.2.3";
hash = "sha256-3xwVfNfKTkuLdnT+e3bfG9tNTdEmar7ByzY+NTlUKLg=";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.Linux";
version = "7.3.0.2";
hash = "sha256-SSfyuyBaduGobJW+reqyioWHhFWsQ+FXa2Gn7TiWxrU=";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.macOS";
version = "2.8.2.3";
hash = "sha256-ZohUEaovj/sRB4rjuJIOq6S9eim3m+qMlpHIebNDTRQ=";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.macOS";
version = "7.3.0.2";
hash = "sha256-dmEqR9MmpCwK8AuscfC7xUlnKIY7+Nvi06V0u5Jff08=";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.WebAssembly";
version = "2.8.2.3";
hash = "sha256-ZsiBGpXfODHUHPgU/50k9QR/j6Klo7rsB0SUt8zYcBA=";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.WebAssembly";
version = "7.3.0.2";
hash = "sha256-aEZr9uKAlCTeeHoYNR1Rs6L3P54765CemyrgJF8x09c=";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.Win32";
version = "2.8.2.3";
hash = "sha256-5GSzM5IUoOwK+zJg0d74WlT3n1VZly8pKlyjiqVocCI=";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.Win32";
version = "7.3.0.2";
hash = "sha256-x4iM3NHs9VyweG57xA74yd4uLuXly147ooe0mvNQ8zo=";
})
(fetchNuGet {
pname = "MicroCom.CodeGenerator.MSBuild";
version = "0.11.0";
hash = "sha256-TsxziX9V8T3qRrEA3o9wY84ocDcUUUBzvARi5QZW23o=";
})
(fetchNuGet {
pname = "MicroCom.Runtime";
version = "0.11.0";
hash = "sha256-VdwpP5fsclvNqJuppaOvwEwv2ofnAI5ZSz2V+UEdLF0=";
})
(fetchNuGet {
pname = "Microsoft.NETCore.Platforms";
version = "2.0.0";
hash = "sha256-IEvBk6wUXSdyCnkj6tHahOJv290tVVT8tyemYcR0Yro=";
})
(fetchNuGet {
pname = "Microsoft.Win32.Registry";
version = "4.5.0";
hash = "sha256-WMBXsIb0DgPFPaFkNVxY9b9vcMxPqtgFgijKYMJfV/0=";
})
(fetchNuGet {
pname = "Newtonsoft.Json";
version = "13.0.3";
hash = "sha256-hy/BieY4qxBWVVsDqqOPaLy1QobiIapkbrESm6v2PHc=";
})
(fetchNuGet {
pname = "NuGet.Common";
version = "6.11.0";
hash = "sha256-eb7G07RyZv4AQT6ItRqdBuUf9e9BXcQygsy5RNEXfNE=";
})
(fetchNuGet {
pname = "NuGet.Configuration";
version = "6.11.0";
hash = "sha256-2SNZkX64SB15glzQx3k+vI7btr8Yqg4CayaaaK1B0AQ=";
})
(fetchNuGet {
pname = "NuGet.Frameworks";
version = "6.11.0";
hash = "sha256-8DC7V2IlCjiMDQ9yWbl7QQHia6OpBrbWh5rL0qa0Opw=";
})
(fetchNuGet {
pname = "NuGet.Packaging";
version = "6.11.0";
hash = "sha256-LVLvxcB6SMdayxAsrc5bCuLLt25fqPr6KfYcYoWWIQk=";
})
(fetchNuGet {
pname = "NuGet.Protocol";
version = "6.11.0";
hash = "sha256-3vdB/8IiJ2LMHhFXLWOzf0H59Ow/zcoq6W4uCHbihCQ=";
})
(fetchNuGet {
pname = "NuGet.Versioning";
version = "6.11.0";
hash = "sha256-03edgWvbqUtbzpBBTIxTwsSRoj1T2muGVL+vTuIHXag=";
})
(fetchNuGet {
pname = "Octokit";
version = "13.0.1";
hash = "sha256-uxQC+bbmWloIdwndqWUb+FY8iAUsPgxzqfw41EPWuAU=";
})
(fetchNuGet {
pname = "Serilog";
version = "4.0.0";
hash = "sha256-j8hQ5TdL1TjfdGiBO9PyHJFMMPvATHWN1dtrrUZZlNw=";
})
(fetchNuGet {
pname = "Serilog.Sinks.File";
version = "6.0.0";
hash = "sha256-KQmlUpG9ovRpNqKhKe6rz3XMLUjkBqjyQhEm2hV5Sow=";
})
(fetchNuGet {
pname = "ShimSkiaSharp";
version = "2.0.0";
hash = "sha256-xW0amMDf1ExXs9SBP9S3Slgl4SiGjSkCiLErZ1hlGNM=";
})
(fetchNuGet {
pname = "SkAvaloniaEdit";
version = "11.0.7";
hash = "sha256-n3CDyDR4EangE4v/D64shPFGqgqidXX+J+8v8aUba1c=";
})
(fetchNuGet {
pname = "SkFluentAvalonia";
version = "2.0.5.3";
hash = "sha256-PeJNoM2BG8LeL3bwOOyUwDd65GEjJSR8dqKLLcCGhnk=";
})
(fetchNuGet {
pname = "SkiaSharp";
version = "2.88.3";
hash = "sha256-WyMAjnQt8ZsuWpGLI89l/f4bHvv+cg7FdTAL7CtJBvs=";
})
(fetchNuGet {
pname = "SkiaSharp";
version = "2.88.8";
hash = "sha256-rD5gc4SnlRTXwz367uHm8XG5eAIQpZloGqLRGnvNu0A=";
})
(fetchNuGet {
pname = "SkiaSharp.HarfBuzz";
version = "2.88.8";
hash = "sha256-W9jNuEo/8q+k2aHNC19FfKcBUIEWx2zDcGwM+jDZ1o8=";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.Linux";
version = "2.88.3";
hash = "sha256-eExWAAURgnwwm2fRwsK/rf+TeOAPs2n02XZzC0zeUjU=";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.Linux";
version = "2.88.8";
hash = "sha256-fOmNbbjuTazIasOvPkd2NPmuQHVCWPnow7AxllRGl7Y=";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.macOS";
version = "2.88.3";
hash = "sha256-8G4swiLMr6XS3kjfO/YC1PyoVdfSq7nxZthZZ+KTKqQ=";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.macOS";
version = "2.88.8";
hash = "sha256-CdcrzQHwCcmOCPtS8EGtwsKsgdljnH41sFytW7N9PmI=";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.WebAssembly";
version = "2.88.3";
hash = "sha256-/SkV2pIZnt0ziSKB7gt7U2Rltk2Id+zOzbmqgfWUtvA=";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.WebAssembly";
version = "2.88.8";
hash = "sha256-GWWsE98f869LiOlqZuXMc9+yuuIhey2LeftGNk3/z3w=";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.Win32";
version = "2.88.3";
hash = "sha256-2PhMTwRHitT13KCKiZltKIFieAvNY4jBmVZ2ndVynA8=";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.Win32";
version = "2.88.8";
hash = "sha256-b8Vb94rNjwPKSJDQgZ0Xv2dWV7gMVFl5GwTK/QiZPPM=";
})
(fetchNuGet {
pname = "SpacedGrid-Avalonia";
version = "11.0.0";
hash = "sha256-U4WezNpOWtdaK6wh0tVRLoK31mLCdFWVB1xLqok9izw=";
})
(fetchNuGet {
pname = "Svg.Custom";
version = "2.0.0";
hash = "sha256-/iy8eithVIqzSA9p5zj1igiu47mX0KhMQiM0l6gRFFY=";
})
(fetchNuGet {
pname = "Svg.Model";
version = "2.0.0";
hash = "sha256-ThGAwPyEv/ZLfRu9LRU91RO13T+MPED/i+ojOOZkCYM=";
})
(fetchNuGet {
pname = "Svg.Skia";
version = "2.0.0";
hash = "sha256-wjVvUQTZD1f5TGk4ytJCJTXzkwKp04kXxN/OXxhrLB4=";
})
(fetchNuGet {
pname = "System.Formats.Asn1";
version = "6.0.0";
hash = "sha256-KaMHgIRBF7Nf3VwOo+gJS1DcD+41cJDPWFh+TDQ8ee8=";
})
(fetchNuGet {
pname = "System.IO.Pipelines";
version = "6.0.0";
hash = "sha256-xfjF4UqTMJpf8KsBWUyJlJkzPTOO/H5MW023yTYNQSA=";
})
(fetchNuGet {
pname = "System.Numerics.Vectors";
version = "4.5.0";
hash = "sha256-qdSTIFgf2htPS+YhLGjAGiLN8igCYJnCCo6r78+Q+c8=";
})
(fetchNuGet {
pname = "System.Reactive";
version = "6.0.0";
hash = "sha256-hXB18OsiUHSCmRF3unAfdUEcbXVbG6/nZxcyz13oe9Y=";
})
(fetchNuGet {
pname = "System.Security.AccessControl";
version = "4.5.0";
hash = "sha256-AFsKPb/nTk2/mqH/PYpaoI8PLsiKKimaXf+7Mb5VfPM=";
})
(fetchNuGet {
pname = "System.Security.Cryptography.Pkcs";
version = "6.0.4";
hash = "sha256-2e0aRybote+OR66bHaNiYpF//4fCiaO3zbR2e9GABUI=";
})
(fetchNuGet {
pname = "System.Security.Cryptography.ProtectedData";
version = "4.4.0";
hash = "sha256-Ri53QmFX8I8UH0x4PikQ1ZA07ZSnBUXStd5rBfGWFOE=";
})
(fetchNuGet {
pname = "System.Security.Principal.Windows";
version = "4.5.0";
hash = "sha256-BkUYNguz0e4NJp1kkW7aJBn3dyH9STwB5N8XqnlCsmY=";
})
(fetchNuGet {
pname = "System.Threading.AccessControl";
version = "9.0.0-preview.5.24306.7";
hash = "sha256-8jEX2o0vT8hYcZn54U4ryXEpj49DSQPV4eeTWmTGYgE=";
})
(fetchNuGet {
pname = "Tmds.DBus.Protocol";
version = "0.16.0";
hash = "sha256-vKYEaa1EszR7alHj48R8G3uYArhI+zh2ZgiBv955E98=";
})
]

View File

@ -0,0 +1,34 @@
{
lib,
buildDotnetModule,
fetchFromGitHub,
dotnetCorePackages,
}:
buildDotnetModule rec {
pname = "skeditor";
version = "2.8.1";
src = fetchFromGitHub {
owner = "skeditorteam";
repo = "skeditor";
rev = "v${version}";
hash = "sha256-ojE276nonX52UTjvdKL5mX8dj3MNElqlR1A/c0vT9WE=";
};
projectFile = "SkEditor/SkEditor.csproj";
executables = [ "SkEditor" ];
nugetDeps = ./nuget-deps.nix;
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
passthru.updateScript = ./update.sh;
meta = {
description = "App for editing Skript files";
homepage = "https://github.com/SkEditorTeam/SkEditor";
changelog = "https://github.com/SkEditorTeam/SkEditor/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eveeifyeve ];
};
}

View File

@ -0,0 +1,16 @@
#!/usr/bin/env nix-shell
#!nix-shell -I nixpkgs=./. -i bash -p curl jq common-updater-scripts gnused nix coreutils
set -euo pipefail
latestVersion="$(curl -s "https://api.github.com/repos/SkEditorTeam/skEditor/releases?per_page=1" | jq -r ".[0].tag_name" | sed 's/^v//')"
currentVersion=$(nix-instantiate --eval -E "with import ./. {}; skeditor.version or (lib.getVersion skeditor)" | tr -d '"')
if [[ "$currentVersion" == "$latestVersion" ]]; then
echo "skeditor is up-to-date: $currentVersion"
exit 0
fi
update-source-version skeditor "$latestVersion"
$(nix-build . -A skeditor.fetch-deps --no-out-link)