Files
nixpkgs/pkgs/by-name/io/iotas/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

82 lines
1.4 KiB
Nix

{
lib,
python3,
fetchFromGitLab,
meson,
ninja,
pkg-config,
gobject-introspection,
wrapGAppsHook4,
appstream-glib,
desktop-file-utils,
glib,
gtk4,
librsvg,
libsecret,
libadwaita,
gtksourceview5,
webkitgtk_6_0,
}:
python3.pkgs.buildPythonApplication rec {
pname = "iotas";
version = "0.11.2";
pyproject = false;
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "iotas";
tag = version;
hash = "sha256-nDmofssoaB3BKh6X3Lpi5xftyo9Zw3IUoD3wte0wPM4=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
wrapGAppsHook4
appstream-glib
desktop-file-utils
];
buildInputs = [
glib
gtk4
librsvg
libsecret
libadwaita
gtksourceview5
webkitgtk_6_0
];
dependencies = with python3.pkgs; [
pygobject3
pygtkspellcheck
requests
markdown-it-py
linkify-it-py
mdit-py-plugins
pypandoc
strenum
packaging
];
# prevent double wrapping
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = {
description = "Simple note taking with mobile-first design and Nextcloud sync";
homepage = "https://gitlab.gnome.org/World/iotas";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
mainProgram = "iotas";
maintainers = with lib.maintainers; [ zendo ];
teams = [ lib.teams.gnome-circle ];
};
}