depot/third_party/nixpkgs/pkgs/by-name/er/errands/package.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

67 lines
1.1 KiB
Nix

{ lib
, fetchFromGitHub
, python3Packages
, gobject-introspection
, libadwaita
, wrapGAppsHook
, meson
, ninja
, desktop-file-utils
, pkg-config
, appstream
, libsecret
, gtk4
, gtksourceview5
}:
python3Packages.buildPythonApplication rec {
pname = "errands";
version = "45.1.9";
pyproject = false;
src = fetchFromGitHub {
owner = "mrvladus";
repo = "Errands";
rev = "refs/tags/${version}";
hash = "sha256-q8vmT7XUx3XJjPfbEd/c3HrTENfopl1MqwT0x5OuG0c=";
};
nativeBuildInputs = [
gobject-introspection
wrapGAppsHook
desktop-file-utils
meson
ninja
pkg-config
appstream
gtk4
];
buildInputs = [
libadwaita
libsecret
gtksourceview5
];
propagatedBuildInputs = with python3Packages; [
pygobject3
lxml
caldav
pycryptodomex
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = with lib; {
description = "Manage your tasks";
homepage = "https://github.com/mrvladus/Errands";
license = licenses.mit;
mainProgram = "errands";
maintainers = with maintainers; [ sund3RRR ];
};
}