diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-01-15 09:04:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-15 09:04:38 +0100 |
commit | 6cb7257b0f99b6057750b1536fc613499efc433e (patch) | |
tree | 726058543466a1d0b04cd0f6ee0898b26bf627d2 /pkgs/applications/misc | |
parent | 1ec24b6654bd7a0a314f3687681869f79a106b97 (diff) | |
parent | c35f2b069fc59711f2900794c9584b68b2178db6 (diff) |
Merge pull request #281022 from fabaff/ics-fix
python311Packages.ics: refactor
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/calcure/default.nix | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/pkgs/applications/misc/calcure/default.nix b/pkgs/applications/misc/calcure/default.nix index f9a2fc9d8a388..dcd2c62d2185e 100644 --- a/pkgs/applications/misc/calcure/default.nix +++ b/pkgs/applications/misc/calcure/default.nix @@ -6,33 +6,34 @@ python3.pkgs.buildPythonApplication rec { pname = "calcure"; version = "3.0.1"; - format = "pyproject"; + pyproject = true; src = fetchFromGitHub { owner = "anufrievroman"; repo = "calcure"; - rev = version; + rev = "refs/tags/${version}"; hash = "sha256-rs3TCZjMndeh2N7e+U62baLs+XqWK1Mk7KVnypSnWPg="; }; - nativeBuildInputs = [ - python3.pkgs.setuptools - python3.pkgs.wheel + nativeBuildInputs = with python3.pkgs; [ + setuptools ]; propagatedBuildInputs = with python3.pkgs; [ - jdatetime holidays icalendar - ics - attrs + jdatetime + taskw ]; - pythonImportsCheck = [ "calcure" ]; + pythonImportsCheck = [ + "calcure" + ]; meta = with lib; { description = "Modern TUI calendar and task manager with minimal and customizable UI"; homepage = "https://github.com/anufrievroman/calcure"; + changelog = "https://github.com/anufrievroman/calcure/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ dit7ya ]; }; |