1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/by-name/er/errands/package.nix

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

74 lines
1.3 KiB
Nix
Raw Permalink Normal View History

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
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
};
}