nix-forecast: 0.1.0 -> 0.2.0 (#370794)

This commit is contained in:
Pol Dellaiera
2025-01-04 08:13:15 +01:00
committed by GitHub
+9 -4
View File
@@ -4,22 +4,23 @@
installShellFiles,
makeBinaryWrapper,
nix,
nix-update-script,
rustPlatform,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
pname = "nix-forecast";
version = "0.1.0";
version = "0.2.0";
src = fetchFromGitHub {
owner = "getchoo";
repo = "nix-forecast";
tag = "v${version}";
hash = "sha256-jfS7DXEIVHihC0/kH9W8ZJDOjoWuxdRvLMfzknElvrg=";
hash = "sha256-kNSH2QbryNAfZXILQzMk9MHDzX4420KyQJOKW0Xrl7c=";
};
cargoHash = "sha256-EHqHdcMI1K7DqhmFfr0ipfAsyM7cP9/22bMs4uIV2To=";
cargoHash = "sha256-C5KPOwGD8jFqRuN6h1G6yO4lkl7t+RMzAE45r5d5lI0=";
nativeBuildInputs = [
installShellFiles
@@ -44,10 +45,14 @@ rustPlatform.buildRustPackage rec {
COMPLETION_DIR = "completions";
};
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Check the forecast for today's Nix builds";
homepage = "https://github.com/getchoo/nix-forecast";
changelog = "https://github.com/getchoo/nix-forecast/releases/tag/${version}";
changelog = "https://github.com/getchoo/nix-forecast/releases/tag/v${version}";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "nix-forecast";