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