2023-02-22 10:55:15 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
, fetchFromGitLab
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, gobject-introspection
|
|
|
|
, wrapGAppsHook4
|
|
|
|
, appstream-glib
|
|
|
|
, desktop-file-utils
|
|
|
|
, glib
|
|
|
|
, gtk4
|
|
|
|
, librsvg
|
|
|
|
, libsecret
|
|
|
|
, libadwaita
|
|
|
|
, gtksourceview5
|
2023-04-12 12:48:02 +00:00
|
|
|
, webkitgtk_6_0
|
2023-02-22 10:55:15 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "iotas";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.2.10";
|
|
|
|
pyproject = false;
|
2023-02-22 10:55:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
2024-04-21 15:54:59 +00:00
|
|
|
owner = "World";
|
|
|
|
repo = "iotas";
|
2023-02-22 10:55:15 +00:00
|
|
|
rev = version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-aITt+TJb/LrVOyb/mAC7U6/NJ4stHD76jjBFC7Pt7fU=";
|
2023-02-22 10:55:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
gobject-introspection
|
|
|
|
wrapGAppsHook4
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk4
|
|
|
|
librsvg
|
|
|
|
libsecret
|
|
|
|
libadwaita
|
|
|
|
gtksourceview5
|
2023-04-12 12:48:02 +00:00
|
|
|
webkitgtk_6_0
|
2023-02-22 10:55:15 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
pygobject3
|
|
|
|
pygtkspellcheck
|
|
|
|
requests
|
|
|
|
markdown-it-py
|
|
|
|
linkify-it-py
|
2023-08-04 22:07:22 +00:00
|
|
|
mdit-py-plugins
|
2024-04-21 15:54:59 +00:00
|
|
|
pypandoc
|
2023-02-22 10:55:15 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# prevent double wrapping
|
|
|
|
dontWrapGApps = true;
|
|
|
|
preFixup = ''
|
|
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple note taking with mobile-first design and Nextcloud sync";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/World/iotas";
|
2023-02-22 10:55:15 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "iotas";
|
2023-02-22 10:55:15 +00:00
|
|
|
maintainers = with maintainers; [ zendo ];
|
|
|
|
};
|
|
|
|
}
|