diff options
Diffstat (limited to 'pkgs/tools/misc/topgrade/default.nix')
-rw-r--r-- | pkgs/tools/misc/topgrade/default.nix | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/pkgs/tools/misc/topgrade/default.nix b/pkgs/tools/misc/topgrade/default.nix index 3b8677273d7b1..44029fb5d4efa 100644 --- a/pkgs/tools/misc/topgrade/default.nix +++ b/pkgs/tools/misc/topgrade/default.nix @@ -10,22 +10,31 @@ rustPlatform.buildRustPackage rec { pname = "topgrade"; - version = "10.2.2"; + version = "10.2.4"; src = fetchFromGitHub { owner = "topgrade-rs"; repo = "topgrade"; rev = "v${version}"; - sha256 = "sha256-TDuTrtVqEy0g13zdWHz2+cQhMEMSbvameBkJUcyTfGw="; + hash = "sha256-b1nWTQ+m4b6XzDTR36ubf5nTdUuWK94F2P4Q3tUvHAw="; }; - cargoSha256 = "sha256-4uq4lksfgTI+x7E/p27gs0Zh0NQq3kIBB9KVD2tvmtQ="; + cargoHash = "sha256-7GSkFh0Fefl9VlCdPdVZ9IsyN0IKUob5c43v84PtrcI="; - nativeBuildInputs = [ installShellFiles ]; + nativeBuildInputs = [ + installShellFiles + ]; - buildInputs = lib.optionals stdenv.isDarwin [ AppKit Cocoa Foundation ]; + buildInputs = lib.optionals stdenv.isDarwin [ + AppKit + Cocoa + Foundation + ]; - NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [ "-framework" "AppKit" ]; + NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [ + "-framework" + "AppKit" + ]; postInstall = '' installShellCompletion --cmd topgrade \ @@ -40,6 +49,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Upgrade all the things"; homepage = "https://github.com/topgrade-rs/topgrade"; + changelog = "https://github.com/topgrade-rs/topgrade/releases/tag/v${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ SuperSandro2000 xyenon ]; }; |