7 , dbusSupport ? stdenv.hostPlatform.isLinux, dbus
8 # rustls will be used for TLS if useOpenSSL=false
9 , useOpenSSL ? stdenv.hostPlatform.isLinux, openssl
10 , notificationSupport ? stdenv.hostPlatform.isLinux
13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
21 hash = "sha256-VlKhOHNggT+FbMvE/N2JQOJf0uB1N69HHdP09u89qSk=";
24 cargoHash = "sha256-AhQCfLCoJU7o8s+XL3hDOPmZi9QjOxXSA9uglA1KSuY=";
26 nativeBuildInputs = lib.optional stdenv.hostPlatform.isLinux pkg-config;
27 buildInputs = lib.optionals dbusSupport [ dbus ]
28 ++ lib.optionals useOpenSSL [ openssl ]
29 ++ lib.optional stdenv.hostPlatform.isDarwin Foundation;
31 buildFeatures = lib.optional notificationSupport "desktop-notifications";
34 description = "Console IRC client";
35 homepage = "https://github.com/osa1/tiny";
36 changelog = "https://github.com/osa1/tiny/blob/v${version}/CHANGELOG.md";
37 license = licenses.mit;
38 maintainers = with maintainers; [ Br1ght0ne vyp ];