todoman: 4.3.2 -> 4.4.0

A small version update which makes fetching the patch I removed
obsolete. I also included a small refactor.

+7 -16
+7 -16
pkgs/applications/office/todoman/default.nix
··· 5 , installShellFiles 6 , jq 7 , python3 8 - , fetchpatch 9 }: 10 11 python3.pkgs.buildPythonApplication rec { 12 pname = "todoman"; 13 - version = "4.3.2"; 14 format = "pyproject"; 15 16 src = fetchFromGitHub { 17 owner = "pimutils"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-dxyI9ypZZBouTUF72wzvi7j+CeoQ9JNSiXrVeV7ForY="; 21 }; 22 23 - patches = [ 24 - (fetchpatch { 25 - name = "disable-broken-urwid-test.patch"; 26 - url = "https://github.com/pimutils/todoman/commit/7ff0d2e2e69e24df5d66fecc58f8cd0b4e5ced6d.patch"; 27 - hash = "sha256-MMNnnIthNqobexd8GaA6lYxzv5gr1l0e9YK+Ygeje2w="; 28 - }) 29 - ]; 30 - 31 SETUPTOOLS_SCM_PRETEND_VERSION = version; 32 33 nativeBuildInputs = [ ··· 64 65 postInstall = '' 66 installShellCompletion --bash contrib/completion/bash/_todo 67 - substituteInPlace contrib/completion/zsh/_todo --replace "jq " "${jq}/bin/jq " 68 installShellCompletion --zsh contrib/completion/zsh/_todo 69 ''; 70 ··· 85 "todoman" 86 ]; 87 88 - meta = with lib; { 89 homepage = "https://github.com/pimutils/todoman"; 90 description = "Standards-based task manager based on iCalendar"; 91 longDescription = '' ··· 99 now. 100 Unsupported fields may not be shown but are never deleted or altered. 101 ''; 102 - changelog = "https://github.com/pimutils/todoman/raw/v${version}/CHANGELOG.rst"; 103 - license = licenses.isc; 104 - maintainers = with maintainers; [ leenaars antonmosich ]; 105 mainProgram = "todo"; 106 }; 107 }
··· 5 , installShellFiles 6 , jq 7 , python3 8 }: 9 10 python3.pkgs.buildPythonApplication rec { 11 pname = "todoman"; 12 + version = "4.4.0"; 13 format = "pyproject"; 14 15 src = fetchFromGitHub { 16 owner = "pimutils"; 17 repo = pname; 18 rev = "refs/tags/v${version}"; 19 + hash = "sha256-5tQaNT6QVN9mxa9t6OvMux4ZGy4flUqszTAwet2QL0w="; 20 }; 21 22 SETUPTOOLS_SCM_PRETEND_VERSION = version; 23 24 nativeBuildInputs = [ ··· 55 56 postInstall = '' 57 installShellCompletion --bash contrib/completion/bash/_todo 58 + substituteInPlace contrib/completion/zsh/_todo --replace "jq " "${lib.getExe jq} " 59 installShellCompletion --zsh contrib/completion/zsh/_todo 60 ''; 61 ··· 76 "todoman" 77 ]; 78 79 + meta = { 80 homepage = "https://github.com/pimutils/todoman"; 81 description = "Standards-based task manager based on iCalendar"; 82 longDescription = '' ··· 90 now. 91 Unsupported fields may not be shown but are never deleted or altered. 92 ''; 93 + changelog = "https://todoman.readthedocs.io/en/stable/changelog.html#v${builtins.replaceStrings ["."] ["-"] version}"; 94 + license = lib.licenses.isc; 95 + maintainers = with lib.maintainers; [ leenaars antonmosich ]; 96 mainProgram = "todo"; 97 }; 98 }