biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / office / iotas / default.nix
blob08a4a1bd3d6ef128d1ad9f729bbe33dd3c54096d
1 { lib
2 , python3
3 , fetchFromGitLab
4 , meson
5 , ninja
6 , pkg-config
7 , gobject-introspection
8 , wrapGAppsHook4
9 , appstream-glib
10 , desktop-file-utils
11 , glib
12 , gtk4
13 , librsvg
14 , libsecret
15 , libadwaita
16 , gtksourceview5
17 , webkitgtk_6_0
20 python3.pkgs.buildPythonApplication rec {
21   pname = "iotas";
22   version = "0.2.10";
23   pyproject = false;
25   src = fetchFromGitLab {
26     domain = "gitlab.gnome.org";
27     owner = "World";
28     repo = "iotas";
29     rev = version;
30     hash = "sha256-aITt+TJb/LrVOyb/mAC7U6/NJ4stHD76jjBFC7Pt7fU=";
31   };
33   nativeBuildInputs = [
34     meson
35     ninja
36     pkg-config
37     gobject-introspection
38     wrapGAppsHook4
39     appstream-glib
40     desktop-file-utils
41   ];
43   buildInputs = [
44     glib
45     gtk4
46     librsvg
47     libsecret
48     libadwaita
49     gtksourceview5
50     webkitgtk_6_0
51   ];
53   propagatedBuildInputs = with python3.pkgs; [
54     pygobject3
55     pygtkspellcheck
56     requests
57     markdown-it-py
58     linkify-it-py
59     mdit-py-plugins
60     pypandoc
61   ];
63   # prevent double wrapping
64   dontWrapGApps = true;
65   preFixup = ''
66     makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
67   '';
69   meta = with lib; {
70     description = "Simple note taking with mobile-first design and Nextcloud sync";
71     homepage = "https://gitlab.gnome.org/World/iotas";
72     license = licenses.gpl3Plus;
73     platforms = platforms.linux;
74     mainProgram = "iotas";
75     maintainers = with maintainers; [ zendo ];
76   };