gnome3.gnome-todo: fix build

This commit is contained in:
Jan Tojnar 2019-03-16 06:56:57 +01:00
parent cd9aaebb78
commit cf14ffdb24
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
1 changed files with 53 additions and 14 deletions

View File

@ -1,28 +1,67 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, python3, wrapGAppsHook { stdenv
, gettext, gnome3, glib, gtk3, libpeas , fetchurl
, gnome-online-accounts, gsettings-desktop-schemas , fetchpatch
, evolution-data-server, libxml2, libsoup, libical, librest, json-glib }: , meson
, ninja
, pkgconfig
, python3
, wrapGAppsHook
, gettext
, gnome3
, glib
, gtk3
, libpeas
, gnome-online-accounts
, gsettings-desktop-schemas
, adwaita-icon-theme
, evolution-data-server
, libxml2
, libsoup
, libical
, librest
, json-glib
}:
let stdenv.mkDerivation rec {
pname = "gnome-todo"; pname = "gnome-todo";
version = "3.28.1"; version = "3.28.1";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"; sha256 = "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7";
}; };
nativeBuildInputs = [ patches = [
meson ninja pkgconfig gettext python3 wrapGAppsHook # fix build with e-d-s 3.32
(fetchpatch {
url = https://gitlab.gnome.org/GNOME/gnome-todo/commit/6cdabc4dd0c6c804a093b94c269461ce376fed4f.patch;
sha256 = "08ldgyxv9216dgr8y9asqd7j2y82y9yqnqhkqaxc9i8a67yz1gzy";
})
]; ];
nativeBuildInputs = [
meson
ninja
pkgconfig
gettext
python3
wrapGAppsHook
];
buildInputs = [ buildInputs = [
glib gtk3 libpeas gnome-online-accounts glib
gsettings-desktop-schemas gnome3.adwaita-icon-theme gtk3
libpeas
gnome-online-accounts
gsettings-desktop-schemas
gnome3.adwaita-icon-theme
# Plug-ins # Plug-ins
evolution-data-server libxml2 libsoup libical evolution-data-server
librest json-glib libxml2
libsoup
libical
librest
json-glib
]; ];
postPatch = '' postPatch = ''