2021-11-08 13:03:40 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, gtk3
|
|
|
|
, libconfig
|
2024-05-09 15:31:43 +00:00
|
|
|
, libsoup_3
|
2021-11-08 13:03:40 +00:00
|
|
|
, libsecret
|
2024-02-27 05:25:40 +00:00
|
|
|
, libayatana-appindicator
|
2021-11-08 13:03:40 +00:00
|
|
|
, openssl
|
|
|
|
, gettext
|
|
|
|
, glib
|
|
|
|
, glib-networking
|
|
|
|
, appstream-glib
|
|
|
|
, dbus-glib
|
|
|
|
, python3Packages
|
|
|
|
, meson
|
|
|
|
, ninja
|
2024-04-26 20:24:03 +00:00
|
|
|
, wrapGAppsHook3
|
2021-11-08 13:03:40 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "srain";
|
2024-11-03 01:28:07 +00:00
|
|
|
version = "1.8.0";
|
2021-11-08 13:03:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SrainApp";
|
|
|
|
repo = "srain";
|
|
|
|
rev = version;
|
2024-11-03 01:28:07 +00:00
|
|
|
hash = "sha256-c5dy5dD5Eb/MVNCpLqIGNuafsrmgLjEfRfSxKVxu5wY=";
|
2021-11-08 13:03:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
appstream-glib
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2021-11-08 13:03:40 +00:00
|
|
|
python3Packages.sphinx
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
glib-networking
|
|
|
|
dbus-glib
|
|
|
|
libconfig
|
2024-05-09 15:31:43 +00:00
|
|
|
libsoup_3
|
2021-11-08 13:03:40 +00:00
|
|
|
libsecret
|
2024-02-27 05:25:40 +00:00
|
|
|
libayatana-appindicator
|
2021-11-08 13:03:40 +00:00
|
|
|
openssl
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Modern IRC client written in GTK";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "srain";
|
2022-09-20 07:36:14 +00:00
|
|
|
homepage = "https://srain.silverrainz.me";
|
2021-11-08 13:03:40 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ rewine ];
|
|
|
|
};
|
|
|
|
}
|