Merge pull request #170752 from SuperSandro2000/topgrade

topgrade: 8.3.0 -> 8.3.1
This commit is contained in:
Sandro 2022-04-28 15:46:50 +02:00 committed by GitHub
commit 5c5d36ed5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View File

@ -1,19 +1,26 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform, Foundation, installShellFiles }:
{ stdenv
, lib
, fetchFromGitHub
, rustPlatform
, Cocoa
, Foundation
, installShellFiles
}:
rustPlatform.buildRustPackage rec {
pname = "topgrade";
version = "8.3.0";
version = "8.3.1";
src = fetchFromGitHub {
owner = "r-darwish";
repo = pname;
rev = "v${version}";
sha256 = "sha256-iFS8Bf2IF0GoW168DwfBbkiPd7IGJhGShofFnBESpUc=";
sha256 = "sha256-EsC17VUQDgrhCU26fsqf2zXOTKa/WeKHiWG0Zn1Qao4=";
};
cargoSha256 = "sha256-8Ag4rDXnDZgxdwFpiWnYNjDeau9vr9EIfbJzeQlqSDM=";
cargoSha256 = "sha256-e5QJw5yY+ZkijqoqRauA5ncvLWiRlalYZCwSG5U7uDk=";
buildInputs = lib.optional stdenv.isDarwin Foundation;
buildInputs = lib.optionals stdenv.isDarwin [ Cocoa Foundation ];
nativeBuildInputs = [ installShellFiles ];
@ -25,6 +32,7 @@ rustPlatform.buildRustPackage rec {
description = "Upgrade all the things";
homepage = "https://github.com/r-darwish/topgrade";
license = licenses.gpl3Only;
maintainers = with maintainers; [ Br1ght0ne hugoreeves SuperSandro2000 ];
maintainers = with maintainers; [ SuperSandro2000 ];
broken = stdenv.isDarwin;
};
}

View File

@ -10855,7 +10855,7 @@ with pkgs;
toml2nix = (callPackage ../tools/toml2nix { }).toml2nix { };
topgrade = callPackage ../tools/misc/topgrade {
inherit (darwin.apple_sdk.frameworks) Foundation;
inherit (darwin.apple_sdk.frameworks) Cocoa Foundation;
};
top-git = callPackage ../applications/version-management/git-and-tools/topgit { };