gnome3.hitori: 3.22.4 → 3.31.92

https://gitlab.gnome.org/GNOME/hitori/blob/3.31.92/NEWS
This commit is contained in:
Jan Tojnar 2019-03-15 18:43:04 +01:00
parent e18bb0ae2a
commit 2273d2ba2c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
1 changed files with 49 additions and 13 deletions

View File

@ -1,24 +1,60 @@
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
, libxml2, intltool, itstool }:
{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gnome3
, glib
, gtk3
, cairo
, wrapGAppsHook
, libxml2
, python3
, gettext
, itstool
, desktop-file-utils
, adwaita-icon-theme
}:
stdenv.mkDerivation rec {
name = "hitori-${version}";
version = "3.22.4";
pname = "hitori";
version = "3.31.92";
src = fetchurl {
url = "mirror://gnome/sources/hitori/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "dcac6909b6007857ee425ac8c65fed179f2c71da138d5e5300cd62c8b9ea15d3";
url = "mirror://gnome/sources/hitori/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0m2w3zz6v1bsd1fn78ab79d72ywd9vq60rziazsblxsi4qy9dva5";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
gettext
itstool
desktop-file-utils
libxml2
python3
wrapGAppsHook
];
buildInputs = [
glib
gtk3
cairo
adwaita-icon-theme
];
postPatch = ''
chmod +x build-aux/meson_post_install.py
patchShebangs build-aux/meson_post_install.py
'';
passthru = {
updateScript = gnome3.updateScript { packageName = "hitori"; attrPath = "gnome3.hitori"; };
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
gtk3 wrapGAppsHook intltool itstool libxml2
gnome3.adwaita-icon-theme
];
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Hitori;