bandwhich: 0.23.0 -> 0.23.1; move to by-name; nixfmt; useFetchCargoVendor (#356934)
[NixPkgs.git] / pkgs / by-name / ca / calcure / package.nix
blob50e5346a70db148a6e72e07c7944aadc4829a408
2   lib,
3   python3,
4   fetchFromGitHub,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "calcure";
9   version = "3.1";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "anufrievroman";
14     repo = "calcure";
15     rev = "refs/tags/${version}";
16     hash = "sha256-ufrJbc3WMY88VEsUHlWxQ1m0iupts4zNusvQL8YAqJc=";
17   };
19   nativeBuildInputs = with python3.pkgs; [
20     setuptools
21   ];
23   propagatedBuildInputs = with python3.pkgs; [
24     holidays
25     icalendar
26     jdatetime
27     taskw
28   ];
30   pythonImportsCheck = [
31     "calcure"
32   ];
34   meta = with lib; {
35     description = "Modern TUI calendar and task manager with minimal and customizable UI";
36     mainProgram = "calcure";
37     homepage = "https://github.com/anufrievroman/calcure";
38     changelog = "https://github.com/anufrievroman/calcure/releases/tag/${version}";
39     license = licenses.mit;
40     maintainers = with maintainers; [ dit7ya ];
41   };