1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
nixpkgs/pkgs/desktops/gnome-3/apps/gnome-notes/default.nix

87 lines
1.5 KiB
Nix
Raw Normal View History

{ 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
, libhandy_0
2020-03-19 00:47:20 +00:00
, webkitgtk
, zeitgeist
, gnome3
, libxml2
, gsettings-desktop-schemas
, tracker
}:
stdenv.mkDerivation rec {
2019-08-13 22:52:01 +01:00
pname = "gnome-notes";
version = "3.38.0";
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 = "H/bMCsbGKQe/KgmhchXt0vF7dNrKs6XIminDBJFyvis=";
};
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 = [
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
];
2018-03-06 13:06:23 +00:00
buildInputs = [
2020-03-19 00:47:20 +00:00
glib
gtk3
libuuid
libhandy_0 # doesn't support libhandy-1 yet
2020-03-19 00:47:20 +00:00
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 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;
};
}