Files
nixpkgs/pkgs/by-name/ca/calcure/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

43 lines
896 B
Nix

{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "calcure";
version = "3.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "anufrievroman";
repo = "calcure";
tag = version;
hash = "sha256-YFX70gtNcIXG5XIuMlz47nmtjt/2oHzi6cajcj+DAyQ=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
holidays
icalendar
jdatetime
taskw
];
pythonImportsCheck = [
"calcure"
];
meta = with lib; {
description = "Modern TUI calendar and task manager with minimal and customizable UI";
mainProgram = "calcure";
homepage = "https://github.com/anufrievroman/calcure";
changelog = "https://github.com/anufrievroman/calcure/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
};
}