2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2021-02-28 15:09:56 +00:00
|
|
|
, stdenv
|
2020-02-16 10:00:23 +00:00
|
|
|
, rustPlatform
|
|
|
|
, gettext
|
|
|
|
, meson
|
|
|
|
, ninja
|
2020-09-20 19:40:34 +01:00
|
|
|
, fetchurl
|
2020-02-16 10:00:23 +00:00
|
|
|
, pkg-config
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, gdk-pixbuf
|
|
|
|
, desktop-file-utils
|
|
|
|
, appstream-glib
|
|
|
|
, wrapGAppsHook
|
|
|
|
, python3
|
2021-05-07 22:18:14 +01:00
|
|
|
, gnome
|
2020-09-20 19:40:34 +01:00
|
|
|
, libhandy
|
|
|
|
, librsvg
|
2021-02-28 15:09:56 +00:00
|
|
|
, rustc
|
|
|
|
, cargo
|
2020-02-16 10:00:23 +00:00
|
|
|
}:
|
|
|
|
|
2021-02-28 15:09:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-02-16 10:00:23 +00:00
|
|
|
pname = "gnome-tour";
|
2021-03-21 05:15:47 +00:00
|
|
|
version = "40.0";
|
2020-02-16 10:00:23 +00:00
|
|
|
|
2020-09-20 19:40:34 +01:00
|
|
|
src = fetchurl {
|
2021-03-21 05:15:47 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
|
|
|
hash = "sha256-cGMiOGmgdHJ0FL7H23ONhQYhbuhMz8O8p9rFLkmMG/k=";
|
2020-02-16 10:00:23 +00:00
|
|
|
};
|
|
|
|
|
2020-09-20 19:40:34 +01:00
|
|
|
cargoVendorDir = "vendor";
|
2020-02-16 10:00:23 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream-glib
|
2021-02-28 15:09:56 +00:00
|
|
|
cargo
|
2020-02-16 10:00:23 +00:00
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
2020-09-20 19:40:34 +01:00
|
|
|
glib # glib-compile-resources
|
2020-02-16 10:00:23 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
python3
|
2021-02-28 15:09:56 +00:00
|
|
|
rustPlatform.cargoSetupHook
|
|
|
|
rustc
|
2020-02-16 10:00:23 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gdk-pixbuf
|
|
|
|
glib
|
|
|
|
gtk3
|
2020-09-20 19:40:34 +01:00
|
|
|
libhandy
|
|
|
|
librsvg
|
2020-02-16 10:00:23 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x build-aux/meson_post_install.py
|
|
|
|
patchShebangs build-aux/meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
2020-09-20 19:40:34 +01:00
|
|
|
passthru = {
|
2021-05-07 22:18:14 +01:00
|
|
|
updateScript = gnome.updateScript {
|
2020-09-20 19:40:34 +01:00
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
2020-02-16 10:00:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-02-16 10:00:23 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-tour";
|
|
|
|
description = "GNOME Greeter & Tour";
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2020-02-16 10:00:23 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|