nixpkgs/pkgs/by-name/io/iotas/package.nix

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

81 lines
1.4 KiB
Nix
Raw Normal View History

2024-10-15 02:38:34 +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-10-15 02:38:34 +00:00
version = "0.9.5";
2024-03-13 16:38:22 +00:00
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-10-15 02:38:34 +00:00
hash = "sha256-SDapnAGPTi7tnzl3zeNJw2CABhVVAXMyn1bllg8fChw=";
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
2024-10-15 02:38:34 +00:00
strenum
packaging
2023-02-05 10:51:44 +00:00
];
# prevent double wrapping
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
2024-10-15 02:38:34 +00:00
meta = {
2023-02-05 10:51:44 +00:00
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";
2024-10-15 02:38:34 +00:00
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
2024-03-13 16:38:22 +00:00
mainProgram = "iotas";
2024-10-15 02:38:34 +00:00
maintainers = with lib.maintainers; [ zendo ];
2023-02-05 10:51:44 +00:00
};
}