From 5330ac74500a0e8d59a2d25c1a4747cc23b3bbfc Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Tue, 25 Feb 2020 21:36:09 +0200 Subject: [PATCH] topgrade: 3.9.0 -> 4.0.2 --- pkgs/tools/misc/topgrade/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/misc/topgrade/default.nix b/pkgs/tools/misc/topgrade/default.nix index 191d66a6de80..e0aba2724af2 100644 --- a/pkgs/tools/misc/topgrade/default.nix +++ b/pkgs/tools/misc/topgrade/default.nix @@ -2,22 +2,21 @@ rustPlatform.buildRustPackage rec { pname = "topgrade"; - version = "3.9.0"; + version = "4.0.2"; src = fetchFromGitHub { owner = "r-darwish"; repo = pname; rev = "v${version}"; - sha256 = "0g9pb4f5skigyahv8kpx7wkvv625lvgnbqz6iq7j7wgixxf4nl1i"; + sha256 = "0kkk718s65r3j5k3a3wz9p0q1v8rjz0yshmfwxak3aw99nj9yyvq"; }; - # Delete this on next update; see #79975 for details - legacyCargoFetcher = true; - - cargoSha256 = "1y85hl7xl60vsj3ivm6pyd6bvk39wqg25bqxfx00r9myha94iqmd"; + cargoSha256 = "1g6jzbmicyqnp0dkcbw7sa36b3qxag8f596mb47wq2fl25pg0d3x"; buildInputs = lib.optional stdenv.isDarwin Foundation; + # TODO: add manpage (topgrade.8) to postInstall on next update + meta = with lib; { description = "Upgrade all the things"; homepage = "https://github.com/r-darwish/topgrade";