a51a99c690
camelCase package name was a huge inconsistency in GNOME package set.
43 lines
1.3 KiB
Nix
43 lines
1.3 KiB
Nix
{ stdenv, itstool, fetchurl, gdk_pixbuf, adwaita-icon-theme
|
|
, telepathy-glib, gjs, meson, ninja, gettext, telepathy-idle, libxml2, desktop-file-utils
|
|
, pkgconfig, gtk3, glib, libsecret, libsoup, gobject-introspection, appstream-glib
|
|
, gnome3, wrapGAppsHook, telepathy-logger, gspell }:
|
|
|
|
let
|
|
pname = "polari";
|
|
version = "3.30.2";
|
|
in stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "02wxkdq5s5ami9wj9vpqhs6n8qxr299bpmvpvd89mn49x73lq2w2";
|
|
};
|
|
|
|
propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ];
|
|
|
|
nativeBuildInputs = [
|
|
meson ninja pkgconfig itstool gettext wrapGAppsHook libxml2
|
|
desktop-file-utils gobject-introspection appstream-glib
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3 glib adwaita-icon-theme gnome3.gsettings-desktop-schemas
|
|
telepathy-glib telepathy-logger gjs gspell gdk_pixbuf libsecret libsoup
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
attrPath = "gnome3.${pname}";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Apps/Polari;
|
|
description = "IRC chat client designed to integrate with the GNOME desktop";
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|