summary refs log blame commit diff
path: root/pkgs/desktops/gnome-3/apps/bijiben/default.nix
blob: eaf8528b6ffb79555aab5aa87726f82bc510109d (plain) (tree)
1
2
3
4
5
6
7
                                                          


                                            


                                         










                                                                                                 

                 








                                       
 
                                                           
 
                       
                                                                                  
    


                                                                   
                                                            
                                                           


                                







                                                                 
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig, glib
, evolution-data-server, evolution, sqlite
, wrapGAppsHook, itstool, desktop-file-utils
, clutter-gtk, libuuid, webkitgtk, zeitgeist
, gnome3, librsvg, gdk_pixbuf, libxml2 }:

stdenv.mkDerivation rec {
  name = "bijiben-${version}";
  version = "3.27.1";

  src = fetchurl {
    url = "mirror://gnome/sources/bijiben/${gnome3.versionBranch version}/${name}.tar.xz";
    sha256 = "7b4623467f3cb745c4b268d6fb2d9da32cbc96ffb5b1bbf2a153b692e295ac64";
  };

  passthru = {
    updateScript = gnome3.updateScript { packageName = "bijiben"; attrPath = "gnome3.bijiben"; };
  };

  doCheck = true;

  patches = [
    ./no-update-icon-cache.patch
  ];

  postPatch = ''
    chmod +x meson_post_install.py
    patchShebangs meson_post_install.py
  '';

  propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard ];

  nativeBuildInputs = [
    meson ninja pkgconfig gettext itstool libxml2 desktop-file-utils wrapGAppsHook
  ];
  buildInputs = [ glib clutter-gtk libuuid webkitgtk gnome3.tracker
                  gnome3.gnome-online-accounts zeitgeist
                  gnome3.gsettings-desktop-schemas
                  gdk_pixbuf gnome3.defaultIconTheme librsvg
                  evolution-data-server evolution sqlite ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    homepage = https://wiki.gnome.org/Apps/Bijiben;
    description = "Note editor designed to remain simple to use";
    maintainers = gnome3.maintainers;
    license = licenses.gpl3;
    platforms = platforms.linux;
  };
}