10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
16 repo = "wthrr-the-weathercrab";
18 hash = "sha256-djrPBmXnUC8d6lWuiHyYY2so8/5RHLFYDu6xoHn6GRg=";
21 cargoHash = "sha256-PGbkGoWcFlTKpnrvMzrHvjFLIuohqEhVg4DYhAZOpkw=";
29 ] ++ lib.optionals stdenv.isDarwin [
30 darwin.apple_sdk.frameworks.CoreFoundation
31 darwin.apple_sdk.frameworks.Security
35 # requires internet access
36 "--skip=modules::localization::tests::translate_string"
37 "--skip=modules::location::tests::geolocation_response"
41 description = "Weather companion for the terminal";
42 homepage = "https://github.com/tobealive/wthrr-the-weathercrab";
43 changelog = "https://github.com/tobealive/wthrr-the-weathercrab/releases/tag/${src.rev}";
44 license = licenses.mit;
45 maintainers = with maintainers; [ figsoda ];
46 mainProgram = "wthrr";