From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kDDgLOx9dGAAsgAAgWs5BA (envelope-from ) for ; Mon, 12 Apr 2021 19:05:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YHG8Jux9dGCpXwAAB5/wlQ (envelope-from ) for ; Mon, 12 Apr 2021 17:05:48 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 64A9021794 for ; Mon, 12 Apr 2021 19:05:48 +0200 (CEST) Received: from localhost ([::1]:45488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lW00R-0003CK-87 for larch@yhetil.org; Mon, 12 Apr 2021 13:05:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVypA-00010T-7F for guix-patches@gnu.org; Mon, 12 Apr 2021 11:50:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46247) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVyp9-0001YC-Vu for guix-patches@gnu.org; Mon, 12 Apr 2021 11:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVyp9-0002mZ-Tg for guix-patches@gnu.org; Mon, 12 Apr 2021 11:50:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47730] [PATCH 4/4] gnu: Add watson. Resent-From: Sebastian Gibb Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Apr 2021 15:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47730 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47730@debbugs.gnu.org Cc: Sebastian Gibb Received: via spool by 47730-submit@debbugs.gnu.org id=B47730.161824256610622 (code B ref 47730); Mon, 12 Apr 2021 15:50:03 +0000 Received: (at 47730) by debbugs.gnu.org; 12 Apr 2021 15:49:26 +0000 Received: from localhost ([127.0.0.1]:57790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVyoX-0002lG-Vb for submit@debbugs.gnu.org; Mon, 12 Apr 2021 11:49:26 -0400 Received: from www96.your-server.de ([213.133.104.96]:54796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVyoV-0002kf-Qi for 47730@debbugs.gnu.org; Mon, 12 Apr 2021 11:49:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sebastiangibb.de; s=default_1812; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=UJcsGTp69h8apRMPMZfLAUVXT+0xorb7r9UUdGRXbbw=; b=13BPDCzmZ3umUldy2xgvkQCBHT 5O9uI5Dq1iKnaBsw9KIrLXUltJWgwLcqq6fRBmsKBHMQyB4SsrBglPTCRUHVhQVmfePrZQ/YOF+7P yPfXxTGK2LrqtVXlP+purgbAqp4ZmB5MUvK3Ov5b5mgYugaUo6W5yhV14+VbKgUgABpgW1R2B+fqz ze1luS47wAq+xfpA0jK0fsE66RDx/dbZzgPNbxoN4ABMeqDgQMvCixFYxLrTUde1/I7Mb4uCTkyrp VFlKoqkDlvRGNT4rUx4tSWJOQfvFa27C/qNV0GgKz23tu8BFYPTXAZEqpnaPuU06xxz5i8KiRpygF 1Z6fAGig==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www96.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1lVyoQ-0000M9-C2; Mon, 12 Apr 2021 17:49:18 +0200 Received: from [2003:cb:8f24:7900:683a:27d9:5d00:3f71] (helo=localhost) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lVyoQ-000Q6H-7O; Mon, 12 Apr 2021 17:49:18 +0200 Date: Mon, 12 Apr 2021 17:48:52 +0200 Message-Id: <20210412154852.10255-4-mail@sebastiangibb.de> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210412154852.10255-1-mail@sebastiangibb.de> References: <20210412154852.10255-1-mail@sebastiangibb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-Sender: mail@sebastiangibb.de X-Virus-Scanned: Clear (ClamAV 0.102.4/26138/Mon Apr 12 13:05:56 2021) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 12 Apr 2021 13:05:16 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Sebastian Gibb X-ACL-Warn: , Sebastian Gibb via Guix-patches From: Sebastian Gibb via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618247148; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UJcsGTp69h8apRMPMZfLAUVXT+0xorb7r9UUdGRXbbw=; b=DYrbAaBezKQ416ZHVTztNsUQWoMvAj1fzQzJJE5qU2E8lUGWCTcO1OzpbKWRfdEYrXQ+yJ H5q4qMTGF34bClWDRF6tH0O2gRvrzgwfKQlV445BLYsUekRDZQ6N+6FOTBSYWw0MA0BB1N UsrZBtLbBvLlaX7nCJaonm8c8WdGPkmHtYijOvKP6lu8FbFR22sGtaVz2QhMFAAaVKSaJg k5c4Zd+KJJs5r6CmywX3RbgmtJJ1x+IdN+zMIU0EFYZk7v8eLR3x85nNeYq/WuFBXXfoQV eyFWNSnas/V+tQFWUK1dh3fjFXNz3Czqsr+maGFiM52ws1LzrxyEeqScPnYhOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618247148; a=rsa-sha256; cv=none; b=BYkEKarFTvVyAluS+5GQoAgjT7KenfCkb9z72hG9aKVYV/8Mrleh64poAz/nveTlSzdbxf VnOTloi2hwUhhgtm0DL9hdwRbY9vWcBXJXM5m8gVsH/TLDJYx1iv/A6DLcAO2Hn8lbMYjV WTnLHHKckRrsbp/WlX7JwPnV5ZarEzyKZIRjHfcfBR+DVF64XmhPYa4bnUTqwU+rxgGiYh U9LuazjdY+VezdKFaWle9gAa59eqd084uaEOGZ7CeT8lOFUfRMfs5YC9RZi9owzLJVQqwL SyO+YDNkF0Ye0rEskI9nl+mKGeAww8F18HKWb6e+PPICQMYjEfOncGmTd0t1hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sebastiangibb.de header.s=default_1812 header.b=13BPDCzm; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.06 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sebastiangibb.de header.s=default_1812 header.b=13BPDCzm; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 64A9021794 X-Spam-Score: 1.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3gGaa3WBc0vb * gnu/packages/time.scm (watson): New variable. --- gnu/packages/time.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index dfade604a3..057c72b125 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -41,6 +41,8 @@ #:use-module (gnu packages golang) #:use-module (gnu packages perl) #:use-module (gnu packages python) + #:use-module (gnu packages python-check) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages terminals) #:use-module (gnu packages textutils) @@ -540,3 +542,42 @@ calls.") from a starting point you provide. The user can pause and resume the countdown from the text user interface.") (license expat))) + +(define-public watson + (package + (name "watson") + (version "2.0.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 + "1yxqjirv7cpg4hqj4l3a53p3p3kl82bcx6drgvl9v849vcc3l7s0")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest") + #t))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-datafiles" ,python-pytest-datafiles) + ("python-pytest-mock" ,python-pytest-mock))) + (inputs + `(("python-arrow" ,python-arrow) + ("python-click" ,python-click) + ("python-click-didyoumean" ,python-click-didyoumean) + ("python-colorama" ,python-colorama) + ("python-requests" ,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 expat))) -- 2.31.1