nixpkgs/pkgs/by-name/cs/csharpier/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

19 lines
524 B
Nix

{ buildDotnetGlobalTool, lib }:
buildDotnetGlobalTool {
pname = "csharpier";
version = "0.28.2";
executables = "dotnet-csharpier";
nugetHash = "sha256-fXyE25niM80pPXCLC80Hm9XEHGUMx0XZOMxdVoA0h18=";
meta = with lib; {
description = "Opinionated code formatter for C#";
homepage = "https://csharpier.com/";
changelog = "https://github.com/belav/csharpier/blob/main/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ zoriya ];
mainProgram = "dotnet-csharpier";
};
}