Compare commits

...

2 Commits

Author SHA1 Message Date
2af54f1845 added readme
more to put in here later
2025-08-14 14:26:44 -04:00
5c47c58241 added nix flakes 2025-08-14 14:26:34 -04:00
4 changed files with 85 additions and 0 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use flake

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# Terraria Plugin Template
Design and developed by Wyatt J. Miller, 2025

40
flake.lock generated Normal file
View File

@@ -0,0 +1,40 @@
{
"nodes": {
"flake-schemas": {
"locked": {
"lastModified": 1721999734,
"narHash": "sha256-G5CxYeJVm4lcEtaO87LKzOsVnWeTcHGKbKxNamNWgOw=",
"rev": "0a5c42297d870156d9c57d8f99e476b738dcd982",
"revCount": 75,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.1.5/0190ef2f-61e0-794b-ba14-e82f225e55e6/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%2A"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1754937576,
"narHash": "sha256-3sWA5WJybUE16kIMZ3+uxcxKZY/JRR4DFBqLdSLBo7w=",
"rev": "ddae11e58c0c345bf66efbddbf2192ed0e58f896",
"revCount": 808080,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2505.808080%2Brev-ddae11e58c0c345bf66efbddbf2192ed0e58f896/01989f5e-b09d-7b09-9699-5d522e6f12ce/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/NixOS/nixpkgs/%2A"
}
},
"root": {
"inputs": {
"flake-schemas": "flake-schemas",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

41
flake.nix Normal file
View File

@@ -0,0 +1,41 @@
# This flake was initially generated by fh, the CLI for FlakeHub (version 0.1.22)
{
description = "Terraria Plugin flake";
inputs = {
flake-schemas.url = "https://flakehub.com/f/DeterminateSystems/flake-schemas/*";
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/*";
};
outputs = { self, flake-schemas, nixpkgs }:
let
supportedSystems = [ "x86_64-linux" "aarch64-darwin" ];
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
pkgs = import nixpkgs { inherit system; };
});
in {
schemas = flake-schemas.schemas;
devShells = forEachSupportedSystem ({ pkgs }: {
default = pkgs.mkShell {
packages = with pkgs; [
curl
git
jq
wget
nixpkgs-fmt
dotnet-sdk_9
dotnetPackages.Nuget
omnisharp-roslyn
mono
];
};
env = {
DOTNET_ROOT = "${pkgs.dotnet-sdk_9}/share/dotnet";
DOTNET_GENERATE_ASPNET_CERTIFICATE = "false";
DOTNET_NOLOGO = "true";
DOTNET_CLI_TELEMETRY_OPTOUT = "false";
};
});
};
}