gnome3.polari: fix build
This commit is contained in:
parent
2f5fc51479
commit
a2e460be4d
@ -3,34 +3,35 @@
|
|||||||
, pkgconfig, gtk3, glib, libsecret, libsoup, gobjectIntrospection, appstream-glib
|
, pkgconfig, gtk3, glib, libsecret, libsoup, gobjectIntrospection, appstream-glib
|
||||||
, gnome3, wrapGAppsHook, telepathy-logger, gspell }:
|
, gnome3, wrapGAppsHook, telepathy-logger, gspell }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "polari-${version}";
|
pname = "polari";
|
||||||
version = "3.28.0";
|
version = "3.28.0";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/polari/${gnome3.versionBranch version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "08zgdqrnxl752nv0gac1k7wvjd4j7h5n4c0flrq7q337p40k3dd5";
|
sha256 = "08zgdqrnxl752nv0gac1k7wvjd4j7h5n4c0flrq7q337p40k3dd5";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = gnome3.updateScript { packageName = "polari"; attrPath = "gnome3.polari"; };
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ];
|
propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ];
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig itstool gettext wrapGAppsHook libxml2
|
nativeBuildInputs = [
|
||||||
desktop-file-utils gobjectIntrospection appstream-glib ];
|
meson ninja pkgconfig itstool gettext wrapGAppsHook libxml2
|
||||||
buildInputs = [ gtk3 glib adwaita-icon-theme gnome3.gsettings-desktop-schemas
|
desktop-file-utils gobjectIntrospection appstream-glib
|
||||||
telepathy-glib telepathy-logger gjs gspell gdk_pixbuf libsecret libsoup ];
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
url = https://gitlab.gnome.org/jtojnar/polari/commit/a6733a6ad95eac1813e7b18e3d0018a22ee7a377.diff;
|
|
||||||
sha256 = "0f5ll49h5w0477lkh67kaa2j83z376z1jk7z3i2v7cq4d3hi5lf9";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
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; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://wiki.gnome.org/Apps/Polari;
|
homepage = https://wiki.gnome.org/Apps/Polari;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user