2023-03-08 16:32:21 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "calcure";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "3.0.1";
|
2024-01-25 14:12:00 +00:00
|
|
|
pyproject = true;
|
2023-03-08 16:32:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "anufrievroman";
|
|
|
|
repo = "calcure";
|
2024-01-25 14:12:00 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-rs3TCZjMndeh2N7e+U62baLs+XqWK1Mk7KVnypSnWPg=";
|
2023-03-08 16:32:21 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
|
|
setuptools
|
2023-03-08 16:32:21 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
holidays
|
2024-01-13 08:15:51 +00:00
|
|
|
icalendar
|
2024-01-25 14:12:00 +00:00
|
|
|
jdatetime
|
|
|
|
taskw
|
2023-03-08 16:32:21 +00:00
|
|
|
];
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"calcure"
|
|
|
|
];
|
2023-03-08 16:32:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Modern TUI calendar and task manager with minimal and customizable UI";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "calcure";
|
2023-03-08 16:32:21 +00:00
|
|
|
homepage = "https://github.com/anufrievroman/calcure";
|
2024-01-25 14:12:00 +00:00
|
|
|
changelog = "https://github.com/anufrievroman/calcure/releases/tag/${version}";
|
2023-03-08 16:32:21 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
|
|
};
|
|
|
|
}
|