wthrr: init at 1.0.1
This commit is contained in:
parent
3a54369a03
commit
781543392b
2 changed files with 49 additions and 0 deletions
47
pkgs/applications/misc/wthrr/default.nix
Normal file
47
pkgs/applications/misc/wthrr/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, openssl
|
||||||
|
, stdenv
|
||||||
|
, darwin
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "wthrr";
|
||||||
|
version = "1.0.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tobealive";
|
||||||
|
repo = "wthrr-the-weathercrab";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-u8d3bX0jRe8N7LIhENMVI9MyR5HF2a8kyuMYw8s+PSc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-mrPydD45L51OSrVPYpXLli1rPlmUpKMcPWql1XrZu1Y=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.CoreFoundation
|
||||||
|
darwin.apple_sdk.frameworks.Security
|
||||||
|
];
|
||||||
|
|
||||||
|
checkFlags = [
|
||||||
|
# requires internet access
|
||||||
|
"--skip=modules::localization::tests::translate_string"
|
||||||
|
"--skip=modules::location::tests::geolocation_response"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Weather companion for the terminal";
|
||||||
|
homepage = "https://github.com/tobealive/wthrr-the-weathercrab";
|
||||||
|
changelog = "https://github.com/tobealive/wthrr-the-weathercrab/releases/tag/${src.rev}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ figsoda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -13477,6 +13477,8 @@ with pkgs;
|
||||||
|
|
||||||
wolfebin = callPackage ../tools/networking/wolfebin { };
|
wolfebin = callPackage ../tools/networking/wolfebin { };
|
||||||
|
|
||||||
|
wthrr = callPackage ../applications/misc/wthrr { };
|
||||||
|
|
||||||
xautoclick = callPackage ../applications/misc/xautoclick { };
|
xautoclick = callPackage ../applications/misc/xautoclick { };
|
||||||
|
|
||||||
xl2tpd = callPackage ../tools/networking/xl2tpd { };
|
xl2tpd = callPackage ../tools/networking/xl2tpd { };
|
||||||
|
|
Loading…
Reference in a new issue