3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/apps/gnome-notes/default.nix

57 lines
1.4 KiB
Nix
Raw Normal View History

2018-03-06 13:06:23 +00:00
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig
, wrapGAppsHook, itstool, desktop-file-utils, python3
, glib, gtk3, evolution-data-server, gnome-online-accounts
2018-03-06 13:06:23 +00:00
, libuuid, webkitgtk, zeitgeist
2019-08-23 01:49:39 +01:00
, gnome3, libxml2, gsettings-desktop-schemas, tracker }:
2018-03-06 13:06:23 +00:00
let
version = "3.32.2";
2019-08-13 22:52:01 +01:00
in stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "gnome-notes";
inherit version;
src = fetchurl {
2018-09-05 01:42:47 +01:00
url = "mirror://gnome/sources/bijiben/${stdenv.lib.versions.majorMinor version}/bijiben-${version}.tar.xz";
sha256 = "0chm2fks7cpx3mycxzddpj6v9by203c3m1y6zns5ra43bspwafy2";
};
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
'';
2017-09-19 03:03:57 +01:00
nativeBuildInputs = [
meson ninja pkgconfig gettext itstool libxml2 desktop-file-utils python3 wrapGAppsHook
2017-09-19 03:03:57 +01:00
];
2018-03-06 13:06:23 +00:00
buildInputs = [
2019-08-23 01:49:39 +01:00
glib gtk3 libuuid webkitgtk tracker
gnome-online-accounts zeitgeist
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
};
};
meta = with stdenv.lib; {
description = "Note editor designed to remain simple to use";
2018-09-05 01:42:47 +01:00
homepage = https://wiki.gnome.org/Apps/Notes;
license = licenses.gpl3;
2018-03-06 13:06:23 +00:00
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}