todoman: disable failing test

This commit is contained in:
Fabian Affolter 2022-10-17 18:12:09 +02:00
parent 6e8749d00d
commit 359901c3ab

View File

@ -1,28 +1,31 @@
{ stdenv
, lib
, python3
{ lib
, stdenv
, fetchFromGitHub
, glibcLocales
, installShellFiles
, jq
, python3
}:
let
inherit (python3.pkgs) buildPythonApplication fetchPypi setuptools-scm;
in
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "todoman";
version = "4.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "ce3caa481d923e91da9b492b46509810a754e2d3ef857f5d20bc5a8e362b50c8";
src = fetchFromGitHub {
owner = "pimutils";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-MItFZ+4Q7UKeIWHl8KFiWOLNgFcfb0h1YWjPd+g48Wg=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
installShellFiles
] ++ (with python3.pkgs; [
setuptools-scm
];
]);
propagatedBuildInputs = with python3.pkgs; [
atomicwrites
@ -69,6 +72,8 @@ buildPythonApplication rec {
"test_missing_cache_dir"
"test_sorting_null_values"
"test_xdg_existant"
# Tests are sensitive to performance
"test_sorting_fields"
] ++ lib.optionals stdenv.isDarwin [
"test_sorting_fields"
];
@ -81,17 +86,15 @@ buildPythonApplication rec {
homepage = "https://github.com/pimutils/todoman";
description = "Standards-based task manager based on iCalendar";
longDescription = ''
Todoman is a simple, standards-based, cli todo (aka: task) manager. Todos
are stored into icalendar files, which means you can sync them via CalDAV
Todoman is a simple, standards-based, cli todo (aka task) manager. Todos
are stored into iCalendar files, which means you can sync them via CalDAV
using, for example, vdirsyncer.
Todos are read from individual ics files from the configured directory.
This matches the vdir specification. Theres support for the most common TODO
This matches the vdir specification. There is support for the most common TODO
features for now (summary, description, location, due date and priority) for
now. Runs on any Unix-like OS. Its been tested on GNU/Linux, BSD and macOS.
now.
Unsupported fields may not be shown but are never deleted or altered.
Todoman is part of the pimutils project
'';
changelog = "https://github.com/pimutils/todoman/raw/v${version}/CHANGELOG.rst";
license = licenses.isc;