Unverified Commit 614358b8 authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

csharprepl: format, refactor meta, fix runtime environment, 0.6.6 -> 0.6.7 (#354549)

parents 2e2261dc 8ba9801c
Loading
Loading
Loading
Loading
+13 −8
Original line number Diff line number Diff line
{ buildDotnetGlobalTool, dotnetCorePackages, lib }:
{
  buildDotnetGlobalTool,
  dotnetCorePackages,
  lib,
}:

buildDotnetGlobalTool {
  pname = "csharprepl";
  nugetName = "CSharpRepl";
  version = "0.6.6";
  version = "0.6.7";

  dotnet-sdk = dotnetCorePackages.sdk_8_0;
  dotnet-runtime = dotnetCorePackages.runtime_8_0;
  # We're using an SDK here because it's a REPL, and it requires an SDK instaed of a runtime
  dotnet-runtime = dotnetCorePackages.sdk_8_0;

  nugetHash = "sha256-VkZGnfD8p6oAJ7i9tlfwJfmKfZBHJU7Wdq+K4YjPoRs=";
  nugetHash = "sha256-a0CiU3D6RZp1FF459NIUUry5TFRDgm4FRhqJZNAGYWs=";

  meta = with lib; {
  meta = {
    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 ];
    license = lib.licenses.mpl20;
    platforms = lib.platforms.unix;
    maintainers = with lib.maintainers; [ donteatoreo ];
    mainProgram = "csharprepl";
  };
}