2018-03-06 14:06:23 +01:00
|
|
|
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig
|
2018-02-25 03:23:58 +01:00
|
|
|
, wrapGAppsHook, itstool, desktop-file-utils
|
2018-03-06 14:06:23 +01:00
|
|
|
, glib, gtk3, evolution-data-server
|
|
|
|
, libuuid, webkitgtk, zeitgeist
|
|
|
|
, gnome3, libxml2 }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-06 14:06:23 +01:00
|
|
|
let
|
2018-07-06 00:39:42 +02:00
|
|
|
version = "3.28.3";
|
2018-03-06 14:06:23 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "bijiben-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/bijiben/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-07-06 00:39:42 +02:00
|
|
|
sha256 = "0lg92fl6dmrybkxs3gqhyr8rq945y64k51l6s72yiads7pqabli2";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
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
|
|
|
'';
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2017-09-19 04:03:57 +02:00
|
|
|
nativeBuildInputs = [
|
2018-02-25 03:23:58 +01:00
|
|
|
meson ninja pkgconfig gettext itstool libxml2 desktop-file-utils wrapGAppsHook
|
2017-09-19 04:03:57 +02:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-06 14:06:23 +01:00
|
|
|
buildInputs = [
|
|
|
|
glib gtk3 libuuid webkitgtk gnome3.tracker
|
|
|
|
gnome3.gnome-online-accounts zeitgeist
|
|
|
|
gnome3.gsettings-desktop-schemas
|
|
|
|
evolution-data-server
|
|
|
|
gnome3.defaultIconTheme
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Dzeitgeist=true"
|
|
|
|
"-Dupdate_mimedb=false"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "bijiben";
|
|
|
|
attrPath = "gnome3.bijiben";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Note editor designed to remain simple to use";
|
2018-03-06 14:06:23 +01:00
|
|
|
homepage = https://wiki.gnome.org/Apps/Bijiben;
|
2016-09-18 21:35:23 +02:00
|
|
|
license = licenses.gpl3;
|
2018-03-06 14:06:23 +01:00
|
|
|
maintainers = gnome3.maintainers;
|
2016-09-18 21:35:23 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|