audiobookshelf: 2.18.1 -> 2.19.0 (#378967)
[NixPkgs.git] / pkgs / by-name / bu / bubblemail / package.nix
blobf1d3150034f6e639365b23c1c5519158af7c735b
2   lib,
3   fetchFromGitLab,
4   gettext,
5   gtk3,
6   python3Packages,
7   gdk-pixbuf,
8   libnotify,
9   gst_all_1,
10   libsecret,
11   wrapGAppsHook3,
12   gsettings-desktop-schemas,
13   gnome-online-accounts,
14   glib,
15   gobject-introspection,
16   folks,
17   bash,
20 python3Packages.buildPythonApplication rec {
21   pname = "bubblemail";
22   version = "1.4";
24   src = fetchFromGitLab {
25     domain = "framagit.org";
26     owner = "razer";
27     repo = "bubblemail";
28     rev = "v${version}";
29     sha256 = "sha256-MPl4pXvdhwCFWTepn/Mxp8ZMs+HCzXC59qdKZp3mHdw=";
30   };
32   buildInputs = [
33     gtk3
34     gdk-pixbuf
35     glib
36     libnotify
37     gst_all_1.gstreamer
38     gst_all_1.gst-plugins-base
39     gst_all_1.gst-plugins-good
40     gst_all_1.gst-plugins-bad
41     libsecret
42     gnome-online-accounts
43     folks
44     bash
45   ];
47   nativeBuildInputs = [
48     gettext
49     wrapGAppsHook3
50     python3Packages.pillow
51     # For setup-hook
52     gobject-introspection
53   ];
55   propagatedBuildInputs = with python3Packages; [
56     gsettings-desktop-schemas
57     pygobject3
58     dbus-python
59     pyxdg
60   ];
62   # See https://nixos.org/nixpkgs/manual/#ssec-gnome-common-issues-double-wrapped
63   dontWrapGApps = true;
65   preFixup = ''
66     makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
67   '';
69   meta = with lib; {
70     description = "Extensible mail notification service";
71     homepage = "http://bubblemail.free.fr/";
72     license = licenses.gpl2Plus;
73     platforms = platforms.linux;
74     maintainers = with maintainers; [ doronbehar ];
75   };