nixpkgs/pkgs/by-name/sr/srain/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

64 lines
1.0 KiB
Nix
Raw Normal View History

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
, 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
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";
mainProgram = "srain";
homepage = "https://srain.silverrainz.me";
2021-11-08 13:03:40 +00:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ rewine ];
};
}