Commit 9ec8af44 authored by aleksana's avatar aleksana
Browse files

treewide: change nugetSha256 to nugetHash

This is both to verify the correctness of the changes in dotnet helper
and to promote the use of nugetHash (which uses SRI hash).

For more information on nugetHash, check out
https://nixos.org/manual/nixpkgs/unstable/#packaging-dotnet-global-tools
parent 379b5c29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ buildDotnetGlobalTool {
  version = "0.28.2";
  executables = "dotnet-csharpier";

  nugetSha256 = "sha256-fXyE25niM80pPXCLC80Hm9XEHGUMx0XZOMxdVoA0h18=";
  nugetHash = "sha256-fXyE25niM80pPXCLC80Hm9XEHGUMx0XZOMxdVoA0h18=";

  meta = with lib; {
    description = "Opinionated code formatter for C#";
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ buildDotnetGlobalTool {
  dotnet-sdk = dotnetCorePackages.sdk_8_0;
  dotnet-runtime = dotnetCorePackages.runtime_8_0;

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

  meta = with lib; {
    description = "C# REPL with syntax highlighting";
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ buildDotnetGlobalTool {
  pname = "fantomas";
  version = "6.3.9";

  nugetSha256 = "sha256-XRPC5cXMoTJLLHe3f5A3+uXakbL+D7DlX0sA52KMZKw=";
  nugetHash = "sha256-XRPC5cXMoTJLLHe3f5A3+uXakbL+D7DlX0sA52KMZKw=";

  meta = with lib; {
    description = "F# source code formatter";
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ buildDotnetGlobalTool {
  nugetName = "GitVersion.Tool";
  version = "5.12.0";

  nugetSha256 = "sha256-dclYG2D0uSYqf++y33JCefkYLwbuRCuKd3qLMnx3BDI=";
  nugetHash = "sha256-dclYG2D0uSYqf++y33JCefkYLwbuRCuKd3qLMnx3BDI=";

  meta = with lib; {
    description = "From git log to SemVer in no time";
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ buildDotnetGlobalTool {
  pname = "fable";
  version = "4.18.0";

  nugetSha256 = "sha256-PbrFjpltRx4lnQDgQrOKSVHwttePMfOnjljOddkFbmY=";
  nugetHash = "sha256-PbrFjpltRx4lnQDgQrOKSVHwttePMfOnjljOddkFbmY=";
  passthru.updateScript = ./update.sh;

  meta = with lib; {
Loading