Unverified Commit 22037f8a authored by Seth Flynn's avatar Seth Flynn
Browse files
parent bec0a051
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -11,24 +11,25 @@

rustPlatform.buildRustPackage rec {
  pname = "nix-forecast";
  version = "0.2.0";
  version = "0.3.0";

  src = fetchFromGitHub {
    owner = "getchoo";
    repo = "nix-forecast";
    tag = "v${version}";
    hash = "sha256-kNSH2QbryNAfZXILQzMk9MHDzX4420KyQJOKW0Xrl7c=";
    hash = "sha256-di9RV4xSCqIa+UCdALAEdR0cDq3u799L3YyFyAF+bRg=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-M4gMvF7v1uxBPh8it0DWSSSgWeES/QXSApeCFW+0dlI=";
  cargoHash = "sha256-n5LKfHBmua8iridnHY0C6ayjREwnqQpDI75+Ips4aNc=";

  nativeBuildInputs = [
    installShellFiles
    makeBinaryWrapper
  ];

  doInstallCheck = true;
  # TODO: Re-enable next update
  # doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];

  # NOTE: Yes, we specifically need Nix. Lix does not have the newer