gnu: Add watson.

* gnu/packages/task-management.scm (watson): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ifc7671e6ec805e9e20e9f0c863c205a2848d4d61
This commit is contained in:
Sebastian Gibb 2024-08-26 23:14:28 +01:00 committed by Sharlatan Hellseher
parent dfaf06e9a9
commit dd81dcecde
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -6,6 +6,7 @@
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
;;; Copyright © 2021 Reza Alizadeh Majd <r.majd@pantherx.org>
;;; Copyright © 2021 Sebastian Gibb <mail@sebastiangibb.de>
;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;; Copyright © 2022 Pavel Shlyak <p.shlyak@pantherx.org>
;;; Copyright © 2022 Matthew James Kraai <kraai@ftbfs.org>
@ -44,6 +45,8 @@ (define-module (gnu packages task-management)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages readline)
@ -58,6 +61,7 @@ (define-module (gnu packages task-management)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt))
@ -482,3 +486,34 @@ (define-public todoman
them via CalDAV using, for example, @code{vdirsyncer}.")
(license license:isc)))
(define-public watson
(package
(name "watson")
(version "2.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tailordev/watson")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0j0gqnxf0smjs0sy7ipryj1sk0s59wrh4qwr7h55zdr4wdhi407w"))))
(build-system pyproject-build-system)
(native-inputs
(list python-mock
python-pytest
python-pytest-datafiles
python-pytest-mock))
(propagated-inputs
(list python-arrow
python-click
python-click-didyoumean
python-colorama
python-requests))
(home-page "https://tailordev.github.io/Watson/")
(synopsis "Command-line time tracker")
(description
"Watson is command-line interface to manage your time. It supports
projects, tagging and reports.")
(license license:expat)))