Merge pull request #226554 from figsoda/wthrr

authored by

figsoda and committed by
GitHub
7e00c122 7b3e89bb

+49
+47
pkgs/applications/misc/wthrr/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , pkg-config 5 + , openssl 6 + , stdenv 7 + , darwin 8 + }: 9 + 10 + rustPlatform.buildRustPackage rec { 11 + pname = "wthrr"; 12 + version = "1.0.1"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "tobealive"; 16 + repo = "wthrr-the-weathercrab"; 17 + rev = "v${version}"; 18 + hash = "sha256-u8d3bX0jRe8N7LIhENMVI9MyR5HF2a8kyuMYw8s+PSc="; 19 + }; 20 + 21 + cargoHash = "sha256-mrPydD45L51OSrVPYpXLli1rPlmUpKMcPWql1XrZu1Y="; 22 + 23 + nativeBuildInputs = [ 24 + pkg-config 25 + ]; 26 + 27 + buildInputs = [ 28 + openssl 29 + ] ++ lib.optionals stdenv.isDarwin [ 30 + darwin.apple_sdk.frameworks.CoreFoundation 31 + darwin.apple_sdk.frameworks.Security 32 + ]; 33 + 34 + checkFlags = [ 35 + # requires internet access 36 + "--skip=modules::localization::tests::translate_string" 37 + "--skip=modules::location::tests::geolocation_response" 38 + ]; 39 + 40 + meta = with lib; { 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 + }; 47 + }
+2
pkgs/top-level/all-packages.nix
··· 13479 13479 13480 13480 wolfebin = callPackage ../tools/networking/wolfebin { }; 13481 13481 13482 + wthrr = callPackage ../applications/misc/wthrr { }; 13483 + 13482 13484 xautoclick = callPackage ../applications/misc/xautoclick { }; 13483 13485 13484 13486 xl2tpd = callPackage ../tools/networking/xl2tpd { };