nixpkgs/pkgs/applications/office/iotas/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

78 lines
1.4 KiB
Nix
Raw Normal View History

2023-02-05 10:51:44 +00:00
{ lib
, python3
, fetchFromGitLab
, meson
, ninja
, pkg-config
, gobject-introspection
, wrapGAppsHook4
, appstream-glib
, desktop-file-utils
, glib
, gtk4
, librsvg
, libsecret
, libadwaita
, gtksourceview5
, webkitgtk_6_0
2023-02-05 10:51:44 +00:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "iotas";
2024-03-13 16:38:22 +00:00
version = "0.2.10";
pyproject = false;
2023-02-05 10:51:44 +00:00
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
2024-03-13 16:38:22 +00:00
owner = "World";
repo = "iotas";
2023-02-05 10:51:44 +00:00
rev = version;
2024-03-13 16:38:22 +00:00
hash = "sha256-aITt+TJb/LrVOyb/mAC7U6/NJ4stHD76jjBFC7Pt7fU=";
2023-02-05 10:51:44 +00:00
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
wrapGAppsHook4
appstream-glib
desktop-file-utils
];
buildInputs = [
glib
gtk4
librsvg
libsecret
libadwaita
gtksourceview5
webkitgtk_6_0
2023-02-05 10:51:44 +00:00
];
propagatedBuildInputs = with python3.pkgs; [
pygobject3
pygtkspellcheck
requests
markdown-it-py
linkify-it-py
2023-08-01 12:27:01 +00:00
mdit-py-plugins
2024-03-13 16:38:22 +00:00
pypandoc
2023-02-05 10:51:44 +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-03-13 16:38:22 +00:00
homepage = "https://gitlab.gnome.org/World/iotas";
2023-02-05 10:51:44 +00:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
2024-03-13 16:38:22 +00:00
mainProgram = "iotas";
2023-02-05 10:51:44 +00:00
maintainers = with maintainers; [ zendo ];
};
}