2019-09-18 22:12:00 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pantheon
|
|
|
|
, fetchpatch
|
|
|
|
, pkgconfig
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, vala
|
|
|
|
, python3
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, granite
|
|
|
|
, libgee
|
|
|
|
, elementary-icon-theme
|
|
|
|
, elementary-gtk-theme
|
|
|
|
, gettext
|
2019-11-19 19:25:54 +00:00
|
|
|
, libhandy
|
2019-09-18 22:12:00 +01:00
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "elementary-onboarding";
|
2019-11-19 19:25:54 +00:00
|
|
|
version = "1.1.0";
|
2019-09-18 22:12:00 +01:00
|
|
|
|
|
|
|
repoName = "onboarding";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = repoName;
|
|
|
|
rev = version;
|
2019-11-19 19:25:54 +00:00
|
|
|
sha256 = "17fw95qg7j0mvam90jrvr77hw2ipxb2lkw0xxql1lzwvdx1h0r2k";
|
2019-09-18 22:12:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = pantheon.updateScript {
|
2019-12-22 06:44:42 +00:00
|
|
|
attrPath = "pantheon.${pname}";
|
2019-09-18 22:12:00 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-11-19 19:25:54 +00:00
|
|
|
elementary-gtk-theme
|
2019-09-18 22:12:00 +01:00
|
|
|
elementary-icon-theme
|
2019-11-19 19:25:54 +00:00
|
|
|
glib
|
2019-09-18 22:12:00 +01:00
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
libgee
|
2019-11-19 19:25:54 +00:00
|
|
|
libhandy
|
2019-09-18 22:12:00 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Onboarding app for new users designed for elementary OS";
|
|
|
|
homepage = https://github.com/elementary/onboarding;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = pantheon.maintainers;
|
|
|
|
};
|
|
|
|
}
|