42 lines
1.5 KiB
Nix
42 lines
1.5 KiB
Nix
{ stdenv, intltool, fetchurl, pkgconfig, glib
|
|
, evolution_data_server, evolution, sqlite
|
|
, hicolor_icon_theme, makeWrapper, itstool, desktop_file_utils
|
|
, clutter_gtk, libuuid, webkitgtk, zeitgeist
|
|
, gnome3, librsvg, gdk_pixbuf, libxml2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "bijiben-${gnome3.version}.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/bijiben/${gnome3.version}/${name}.tar.xz";
|
|
sha256 = "0ndb7bv03rqxh4an44xd4cwxxp5z1wywk9xazmab01jsa0a0zx7r";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
|
|
|
buildInputs = [ pkgconfig glib intltool itstool libxml2
|
|
clutter_gtk libuuid webkitgtk gnome3.tracker
|
|
gnome3.gnome_online_accounts zeitgeist desktop_file_utils
|
|
gnome3.gsettings_desktop_schemas makeWrapper
|
|
gdk_pixbuf gnome3.adwaita-icon-theme librsvg
|
|
evolution_data_server evolution sqlite
|
|
hicolor_icon_theme gnome3.adwaita-icon-theme ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
preFixup = ''
|
|
wrapProgram "$out/bin/bijiben" \
|
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
|
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Apps/Bijiben;
|
|
description = "Note editor designed to remain simple to use";
|
|
maintainers = with maintainers; [ lethalman ];
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|