Skip to content

Commit

Permalink
[Backport release-24.11] nix-forecast: 0.1.0 -> 0.2.0 (#370798)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Jan 4, 2025
2 parents a4c40a8 + 0150d32 commit 8686c71
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pkgs/by-name/ni/nix-forecast/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
rev = "refs/tags/v${version}";
hash = "sha256-jfS7DXEIVHihC0/kH9W8ZJDOjoWuxdRvLMfzknElvrg=";
tag = "v${version}";
hash = "sha256-kNSH2QbryNAfZXILQzMk9MHDzX4420KyQJOKW0Xrl7c=";
};

cargoHash = "sha256-EHqHdcMI1K7DqhmFfr0ipfAsyM7cP9/22bMs4uIV2To=";
cargoHash = "sha256-C5KPOwGD8jFqRuN6h1G6yO4lkl7t+RMzAE45r5d5lI0=";

nativeBuildInputs = [
installShellFiles
Expand All @@ -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";
Expand Down

0 comments on commit 8686c71

Please sign in to comment.