2024-05-14 20:44:55 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python3Packages,
|
|
|
|
gobject-introspection,
|
|
|
|
libadwaita,
|
|
|
|
wrapGAppsHook4,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
desktop-file-utils,
|
|
|
|
pkg-config,
|
|
|
|
appstream,
|
|
|
|
libsecret,
|
|
|
|
libportal,
|
|
|
|
gtk4,
|
|
|
|
gtksourceview5,
|
2024-02-14 09:13:59 +00:00
|
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "errands";
|
2024-10-12 09:32:12 +01:00
|
|
|
version = "46.2.6";
|
2024-02-14 09:13:59 +00:00
|
|
|
|
|
|
|
pyproject = false;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mrvladus";
|
|
|
|
repo = "Errands";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-10-12 09:32:12 +01:00
|
|
|
hash = "sha256-NIhDMsKPxxPJfDHXOpPl7NPUCO/M5wA2T72ej/+w+Z0=";
|
2024-02-14 09:13:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gobject-introspection
|
2024-04-05 15:37:35 +01:00
|
|
|
wrapGAppsHook4
|
2024-02-14 09:13:59 +00:00
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
appstream
|
|
|
|
gtk4
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libadwaita
|
2024-05-14 20:44:55 +01:00
|
|
|
libportal
|
2024-02-14 09:13:59 +00:00
|
|
|
libsecret
|
|
|
|
gtksourceview5
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
pygobject3
|
|
|
|
lxml
|
|
|
|
caldav
|
|
|
|
pycryptodomex
|
|
|
|
];
|
|
|
|
|
|
|
|
dontWrapGApps = true;
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
|
|
'';
|
|
|
|
|
2024-05-22 17:38:39 +01:00
|
|
|
meta = {
|
2024-02-14 09:13:59 +00:00
|
|
|
description = "Manage your tasks";
|
2024-05-22 17:38:39 +01:00
|
|
|
changelog = "https://github.com/mrvladus/Errands/releases/tag/${version}";
|
2024-02-14 09:13:59 +00:00
|
|
|
homepage = "https://github.com/mrvladus/Errands";
|
2024-05-22 17:38:39 +01:00
|
|
|
license = lib.licenses.mit;
|
2024-02-14 09:13:59 +00:00
|
|
|
mainProgram = "errands";
|
2024-05-22 17:38:39 +01:00
|
|
|
maintainers = with lib.maintainers; [
|
2024-05-14 20:44:55 +01:00
|
|
|
luftmensch-luftmensch
|
|
|
|
sund3RRR
|
|
|
|
];
|
2024-02-14 09:13:59 +00:00
|
|
|
};
|
|
|
|
}
|