2018-03-06 14:06:23 +01:00
|
|
|
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig
|
2018-09-03 22:09:03 +02:00
|
|
|
, wrapGAppsHook, itstool, desktop-file-utils, python3
|
2018-03-06 14:06:23 +01:00
|
|
|
, glib, gtk3, evolution-data-server
|
|
|
|
, libuuid, webkitgtk, zeitgeist
|
|
|
|
, gnome3, libxml2 }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-06 14:06:23 +01:00
|
|
|
let
|
2019-04-13 14:46:23 +02:00
|
|
|
version = "3.32.1";
|
2018-03-06 14:06:23 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
2018-09-05 02:42:47 +02:00
|
|
|
name = "gnome-notes-${version}";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-09-05 02:42:47 +02:00
|
|
|
url = "mirror://gnome/sources/bijiben/${stdenv.lib.versions.majorMinor version}/bijiben-${version}.tar.xz";
|
2019-04-13 14:46:23 +02:00
|
|
|
sha256 = "02b7afg3ps0hxp5dkb4kv6315ydc2r6bxgk1kamwp581lc7ghd67";
|
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 = [
|
2018-09-03 22:09:03 +02:00
|
|
|
meson ninja pkgconfig 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 = [
|
|
|
|
glib gtk3 libuuid webkitgtk gnome3.tracker
|
|
|
|
gnome3.gnome-online-accounts zeitgeist
|
|
|
|
gnome3.gsettings-desktop-schemas
|
|
|
|
evolution-data-server
|
2019-02-13 22:47:50 +01:00
|
|
|
gnome3.adwaita-icon-theme
|
2018-03-06 14:06:23 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Dzeitgeist=true"
|
|
|
|
"-Dupdate_mimedb=false"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "bijiben";
|
2018-09-05 02:42:47 +02:00
|
|
|
attrPath = "gnome3.gnome-notes";
|
2018-03-06 14:06:23 +01:00
|
|
|
};
|
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Note editor designed to remain simple to use";
|
2018-09-05 02:42:47 +02:00
|
|
|
homepage = https://wiki.gnome.org/Apps/Notes;
|
2016-09-18 21:35:23 +02:00
|
|
|
license = licenses.gpl3;
|
2018-03-06 14:06:23 +01:00
|
|
|
maintainers = gnome3.maintainers;
|
2016-09-18 21:35:23 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|