fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 buildDotnetModule,
4 fetchFromGitHub,
5 dotnetCorePackages,
6 makeDesktopItem,
7 copyDesktopItems,
8 iconConvTools,
9}:
10buildDotnetModule rec {
11 pname = "skeditor";
12 version = "2.9.0";
13
14 src = fetchFromGitHub {
15 owner = "skeditorteam";
16 repo = "skeditor";
17 rev = "v${version}";
18 hash = "sha256-CYHw+zWs/YllUHkC3WCscY/DMLLSQ5TLMc6nH/GG7XY=";
19 };
20
21 projectFile = "SkEditor/SkEditor.csproj";
22 executables = [ "SkEditor" ];
23 nugetDeps = ./nuget-deps.json;
24
25 dotnet-sdk = dotnetCorePackages.sdk_8_0;
26 dotnet-runtime = dotnetCorePackages.runtime_8_0;
27
28 nativeBuildInputs = [
29 iconConvTools
30 copyDesktopItems
31 ];
32
33 postInstall = ''
34 icoFileToHiColorTheme SkEditor/Assets/SkEditor.ico skeditor $out
35 '';
36
37 desktopItems = [
38 (makeDesktopItem {
39 name = pname;
40 desktopName = "SkEditor";
41 exec = meta.mainProgram;
42 icon = "SkEditor";
43 startupWMClass = "SkEditor";
44 genericName = "Skript Editor";
45 keywords = [
46 "skeditor"
47 "SkEditor"
48 ];
49 categories = [
50 "Utility"
51 "TextEditor"
52 "Development"
53 "IDE"
54 ];
55 })
56 ];
57
58 passthru.updateScript = ./update.sh;
59
60 meta = {
61 description = "App for editing Skript files";
62 homepage = "https://github.com/SkEditorTeam/SkEditor";
63 changelog = "https://github.com/SkEditorTeam/SkEditor/releases/tag/v${version}";
64 license = lib.licenses.mit;
65 mainProgram = "SkEditor";
66 maintainers = with lib.maintainers; [ eveeifyeve ];
67 };
68}