From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eCLTBbJGeGAgUQEAgWs5BA (envelope-from ) for ; Thu, 15 Apr 2021 15:59:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IGSjALJGeGA3OQAAbx9fmQ (envelope-from ) for ; Thu, 15 Apr 2021 13:59:14 +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 77DE12ADE1 for ; Thu, 15 Apr 2021 15:59:13 +0200 (CEST) Received: from localhost ([::1]:43848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lX2WW-0005Af-HS for larch@yhetil.org; Thu, 15 Apr 2021 09:59:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lX2WN-00057A-01 for guix-patches@gnu.org; Thu, 15 Apr 2021 09:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lX2WM-0001yR-K5 for guix-patches@gnu.org; Thu, 15 Apr 2021 09:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lX2WM-0001vf-Hj for guix-patches@gnu.org; Thu, 15 Apr 2021 09:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47730] [PATCH 4/4] gnu: Add watson. References: <20210412154600.10122-1-mail@sebastiangibb.de> In-Reply-To: <20210412154600.10122-1-mail@sebastiangibb.de> Resent-From: Sebastian Gibb Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Apr 2021 13:59:02 +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.16184951267391 (code B ref 47730); Thu, 15 Apr 2021 13:59:02 +0000 Received: (at 47730) by debbugs.gnu.org; 15 Apr 2021 13:58:46 +0000 Received: from localhost ([127.0.0.1]:38764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lX2W4-0001v7-4B for submit@debbugs.gnu.org; Thu, 15 Apr 2021 09:58:46 -0400 Received: from www96.your-server.de ([213.133.104.96]:46594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lX2Vy-0001un-GX for 47730@debbugs.gnu.org; Thu, 15 Apr 2021 09:58:42 -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: 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:In-Reply-To:References; bh=RsBFTXII9De5aXT579wyE3enqss80/YC3RSOrJaIRNg=; b=wMc0UT0Zxlj5vL5cnbmC+c+PWz bPpwKLMRvwOrQyW7n/MUe5m4fAfbypNKqm/QMMpl7lo/40xegE0rgMXps4mXQL0kpnUMRg3D4gMv0 H4tvwFO/WGrZYPIwWnUFM+JAS3UnbgelxyGyHF8h2l+MznyRfbR/kcfHjj5kdbaBuf6aNmNUus8a9 BWgZ3jpaMxA7ZZk4A4JWodZ1fvMOOqettbplLn1dW6W6dV2oprG1/vGip+89yyOWQU0QVgJs+MIN0 jprfrJ3xE24e9XniudeihqVYwI+qHet2EbeRLO5aiDkLatkkJ0vteJD2+QsWTOQRKWvQQj/U5i7AP xvu3MHqQ==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www96.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1lX2Vr-0008Aj-R7; Thu, 15 Apr 2021 15:58:31 +0200 Received: from [2003:cb:8f24:7900:683a:27d9:5d00:3f71] (helo=localhost) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lX2Vr-000Mr3-Lo; Thu, 15 Apr 2021 15:58:31 +0200 Date: Thu, 15 Apr 2021 15:57:57 +0200 Message-Id: <20210415135757.16173-1-mail@sebastiangibb.de> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-Sender: mail@sebastiangibb.de X-Virus-Scanned: Clear (ClamAV 0.102.4/26141/Thu Apr 15 13:13:26 2021) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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=1618495153; 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=RsBFTXII9De5aXT579wyE3enqss80/YC3RSOrJaIRNg=; b=BomGlmwCsVGWe5/5NEe9cLfjrm1/RCN0DN1OgZWWIh3J3ycHLslKcqJxjaDL54VkYIyUKh Hw+/aeVj5yaRNfYykjdTH1l48ZUidMGaNmlE65ehMpW8y+mUI2/b2oHpzJxUmx6k1gt9ae YXevAsaPJSVTN57BH1B+WHbRHct33oypwwVbNm3khPQpgT6ocaf3t+EbYMRLweNpMmAcfh Y1+FNJRxMTJs5Z1389xM9tLVio7IJ4YMvO6VxpvkErpefqgkAR6KscHlBiO3p11NM3laqk YAqQP3pIxgS2FdhTkBayKx9jq9Tv/hYb5DDjVpVRnvpltjF7K6JYrrceC+Ye6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618495153; a=rsa-sha256; cv=none; b=uA6jf1AKtg+rShb8DrW83vafWc5JBs4Q2VzcRh6xjMyCOzVZnlI7ySwFHMicuXYXmDBSQb z2r1caiqa83nAa8UrELjzU89kN2qql3X5Esh7EWtDYvQgMUVYoX6UZkJJfq82m28ttQTQQ +ar0knwpzn17jsOd/k7MpPTmX5CFc4ouQs2dVCx/3ceWfRFUUXx0jN6umlaqFBZtu0jKAh kUqmLT9t5hNPz4yoWrokYxSpV4oGmHaXIv7rgnm39FuyQ0J9uSgVtTbLFNa4FgPvyroBx1 R3ZWLLhg6R60Gq9E4sFzy3wxZs96Yo1Vkw1RxQiMYcj7JKQfo1n17EZ8T0pS6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sebastiangibb.de header.s=default_1812 header.b=wMc0UT0Z; 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=wMc0UT0Z; 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: 77DE12ADE1 X-Spam-Score: 1.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: D0ND8AjmAHTx * gnu/packages/time.scm (watson): New variable. --- Dear Maxime, thanks for your review. I removed the #t and the newline in the snyopsis as you suggested. gnu/packages/time.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index dfade604a3..ab9e66285f 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,40 @@ 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")))))) + (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