3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/apps/gnome-notes/default.nix
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00

57 lines
1.4 KiB
Nix

{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig
, wrapGAppsHook, itstool, desktop-file-utils, python3
, glib, gtk3, evolution-data-server, gnome-online-accounts
, libuuid, webkitgtk, zeitgeist
, gnome3, libxml2, gsettings-desktop-schemas, tracker }:
let
version = "3.32.2";
in stdenv.mkDerivation rec {
pname = "gnome-notes";
inherit version;
src = fetchurl {
url = "mirror://gnome/sources/bijiben/${stdenv.lib.versions.majorMinor version}/bijiben-${version}.tar.xz";
sha256 = "0chm2fks7cpx3mycxzddpj6v9by203c3m1y6zns5ra43bspwafy2";
};
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 tracker
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;
};
}