meta: refactor c and dotnet

This commit is contained in:
Artur Manuel 2025-03-26 16:14:46 +00:00
commit a4368b5ddc
Signed by: amadaluzia
SSH key fingerprint: SHA256:Zwg7gBuZyaG48ucAZneJwltiXu0+tJb7c3lYt9AYlLg
14 changed files with 53 additions and 252 deletions

View file

@ -0,0 +1,13 @@
{
buildDotnetModule,
dotnetCorePackages,
}:
buildDotnetModule {
pname = "CHANGE_NAME";
version = "CHANGE_VER";
src = ../.;
projectFile = "CHANGE_NAME/CHANGE_NAME.csproj";
dotnet-sdk = dotnetCorePackages.dotnet_9.sdk;
dotnet-runtime = dotnetCorePackages.dotnet_9.runtime;
executables = ["CHANGE_NAME"];
}

View file

@ -0,0 +1,16 @@
{
mkShell,
dotnetCorePackages,
nixfmt,
deadnix,
statix,
}:
mkShell {
name = "dotnet";
packages = [
dotnetCorePackages.dotnet_9.sdk
nixfmt
deadnix
statix
];
}