blob: 20979a467c0f8ff08d045f1ca846daf82a1448bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, lib, fetchFromGitHub, rustPlatform, Foundation }:
rustPlatform.buildRustPackage rec {
pname = "topgrade";
version = "4.4.0";
src = fetchFromGitHub {
owner = "r-darwish";
repo = pname;
rev = "v${version}";
sha256 = "1n9zcz6arbp3gmn360gv0gs703ii59pfgw5gvvwvbm492g2csj3h";
};
cargoSha256 = "08xswkwy6npmx9z8d27l83flq0haj0rnmwkcsz68mlrndz8yymlh";
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";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ filalex77 hugoreeves ];
};
}
|