2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2020-03-19 01:47:20 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gettext
|
|
|
|
, fetchurl
|
2021-01-17 03:21:50 +01:00
|
|
|
, pkg-config
|
2020-03-19 01:47:20 +01:00
|
|
|
, wrapGAppsHook
|
|
|
|
, itstool
|
|
|
|
, desktop-file-utils
|
|
|
|
, python3
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, evolution-data-server
|
|
|
|
, gnome-online-accounts
|
2021-03-21 07:47:42 +01:00
|
|
|
, json-glib
|
2020-03-19 01:47:20 +01:00
|
|
|
, libuuid
|
2021-03-21 07:47:42 +01:00
|
|
|
, curl
|
|
|
|
, libhandy
|
2020-03-19 01:47:20 +01:00
|
|
|
, webkitgtk
|
2021-05-07 23:18:14 +02:00
|
|
|
, gnome
|
2020-03-19 01:47:20 +01:00
|
|
|
, libxml2
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, tracker
|
|
|
|
}:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2020-09-18 16:37:28 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "gnome-notes";
|
2021-03-21 07:47:42 +01:00
|
|
|
version = "40.1";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-21 07:47:42 +01:00
|
|
|
url = "mirror://gnome/sources/bijiben/${lib.versions.major version}/bijiben-${version}.tar.xz";
|
|
|
|
sha256 = "1gvvb2klkzbmyzwkjgmscdiqcl8lyz9b0rxb4igjz079csq6z805";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
doCheck = true;
|
2017-09-19 04:03:57 +02:00
|
|
|
|
|
|
|
postPatch = ''
|
2018-03-06 14:06:23 +01:00
|
|
|
chmod +x build-aux/meson_post_install.py
|
|
|
|
patchShebangs build-aux/meson_post_install.py
|
2017-09-19 04:03:57 +02:00
|
|
|
'';
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2017-09-19 04:03:57 +02:00
|
|
|
nativeBuildInputs = [
|
2020-03-19 01:47:20 +01:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 03:21:50 +01:00
|
|
|
pkg-config
|
2020-03-19 01:47:20 +01:00
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
desktop-file-utils
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
2017-09-19 04:03:57 +02:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-06 14:06:23 +01:00
|
|
|
buildInputs = [
|
2020-03-19 01:47:20 +01:00
|
|
|
glib
|
|
|
|
gtk3
|
2021-03-21 07:47:42 +01:00
|
|
|
json-glib
|
2020-03-19 01:47:20 +01:00
|
|
|
libuuid
|
2021-03-21 07:47:42 +01:00
|
|
|
curl
|
|
|
|
libhandy
|
2020-03-19 01:47:20 +01:00
|
|
|
webkitgtk
|
|
|
|
tracker
|
|
|
|
gnome-online-accounts
|
2019-04-17 02:38:26 +02:00
|
|
|
gsettings-desktop-schemas
|
2018-03-06 14:06:23 +01:00
|
|
|
evolution-data-server
|
2021-05-07 23:18:14 +02:00
|
|
|
gnome.adwaita-icon-theme
|
2018-03-06 14:06:23 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Dupdate_mimedb=false"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-07 23:18:14 +02:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-06 14:06:23 +01:00
|
|
|
packageName = "bijiben";
|
2021-05-07 23:18:14 +02:00
|
|
|
attrPath = "gnome.gnome-notes";
|
2018-03-06 14:06:23 +01:00
|
|
|
};
|
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-09-18 21:35:23 +02:00
|
|
|
description = "Note editor designed to remain simple to use";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Notes";
|
2016-09-18 21:35:23 +02:00
|
|
|
license = licenses.gpl3;
|
2020-04-01 14:40:51 +02:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 21:35:23 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|