nixpkgs-suyu/pkgs/desktops/gnome/apps/gnome-notes/default.nix

88 lines
1.5 KiB
Nix
Raw Normal View History

{ 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
, gnome
2020-03-19 01:47:20 +01:00
, libxml2
, gsettings-desktop-schemas
, tracker
}:
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";
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";
};
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
'';
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
];
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
gsettings-desktop-schemas
2018-03-06 14:06:23 +01:00
evolution-data-server
gnome.adwaita-icon-theme
2018-03-06 14:06:23 +01:00
];
mesonFlags = [
"-Dupdate_mimedb=false"
];
passthru = {
updateScript = gnome.updateScript {
2018-03-06 14:06:23 +01:00
packageName = "bijiben";
attrPath = "gnome.gnome-notes";
2018-03-06 14:06:23 +01:00
};
};
meta = with lib; {
description = "Note editor designed to remain simple to use";
homepage = "https://wiki.gnome.org/Apps/Notes";
license = licenses.gpl3;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}