nixpkgs/pkgs/desktops/gnome-3/apps/gnome-notes/default.nix
worldofpeace 7abeda982a gnome3.gsettings-desktop-schemas -> gsettings-desktop-schemas
gnome3.pomodoro is left out because I don't want to create a conflict.
2019-04-17 13:39:23 -04:00

56 lines
1.4 KiB
Nix

{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig
, wrapGAppsHook, itstool, desktop-file-utils, python3
, glib, gtk3, evolution-data-server
, libuuid, webkitgtk, zeitgeist
, gnome3, libxml2, gsettings-desktop-schemas }:
let
version = "3.32.1";
in stdenv.mkDerivation rec {
name = "gnome-notes-${version}";
src = fetchurl {
url = "mirror://gnome/sources/bijiben/${stdenv.lib.versions.majorMinor version}/bijiben-${version}.tar.xz";
sha256 = "02b7afg3ps0hxp5dkb4kv6315ydc2r6bxgk1kamwp581lc7ghd67";
};
doCheck = true;
postPatch = ''
chmod +x build-aux/meson_post_install.py
patchShebangs build-aux/meson_post_install.py
'';
nativeBuildInputs = [
meson ninja pkgconfig gettext itstool libxml2 desktop-file-utils python3 wrapGAppsHook
];
buildInputs = [
glib gtk3 libuuid webkitgtk gnome3.tracker
gnome3.gnome-online-accounts zeitgeist
gsettings-desktop-schemas
evolution-data-server
gnome3.adwaita-icon-theme
];
mesonFlags = [
"-Dzeitgeist=true"
"-Dupdate_mimedb=false"
];
passthru = {
updateScript = gnome3.updateScript {
packageName = "bijiben";
attrPath = "gnome3.gnome-notes";
};
};
meta = with stdenv.lib; {
description = "Note editor designed to remain simple to use";
homepage = https://wiki.gnome.org/Apps/Notes;
license = licenses.gpl3;
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}