diff --git a/pkgs/by-name/cs/csharprepl/package.nix b/pkgs/by-name/cs/csharprepl/package.nix new file mode 100644 index 000000000000..d6fccd57ea61 --- /dev/null +++ b/pkgs/by-name/cs/csharprepl/package.nix @@ -0,0 +1,22 @@ +{ buildDotnetGlobalTool, dotnetCorePackages, lib }: + +buildDotnetGlobalTool { + pname = "csharprepl"; + nugetName = "CSharpRepl"; + version = "0.6.6"; + + dotnet-sdk = dotnetCorePackages.sdk_8_0; + dotnet-runtime = dotnetCorePackages.runtime_8_0; + + nugetSha256 = "sha256-VkZGnfD8p6oAJ7i9tlfwJfmKfZBHJU7Wdq+K4YjPoRs="; + + meta = with lib; { + description = "C# REPL with syntax highlighting"; + homepage = "https://fuqua.io/CSharpRepl"; + changelog = "https://github.com/waf/CSharpRepl/blob/main/CHANGELOG.md"; + license = licenses.mpl20; + platforms = platforms.unix; + maintainers = with maintainers; [ donteatoreo ]; + mainProgram = "csharprepl"; + }; +}