nixpkgs/pkgs/by-name/cs/csharprepl/package.nix
aleksana 9ec8af44ad 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
2024-07-04 20:16:51 +08:00

22 lines
667 B
Nix

{ buildDotnetGlobalTool, dotnetCorePackages, lib }:
buildDotnetGlobalTool {
pname = "csharprepl";
nugetName = "CSharpRepl";
version = "0.6.6";
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
nugetHash = "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";
};
}