From patchwork Tue Dec 27 22:06:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 45610 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A663127BBED; Tue, 27 Dec 2022 22:08:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9754E27BBE9 for ; Tue, 27 Dec 2022 22:08:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAI7B-0007op-48; Tue, 27 Dec 2022 17:08:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAI79-0007oC-Di for guix-patches@gnu.org; Tue, 27 Dec 2022 17:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAI79-0002WG-5r for guix-patches@gnu.org; Tue, 27 Dec 2022 17:08:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAI78-0000SU-Jr for guix-patches@gnu.org; Tue, 27 Dec 2022 17:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60316] [PATCH] WIP: Add homeassistant. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Dec 2022 22:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60316 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Raghav Gururajan Cc: 60316@debbugs.gnu.org, Marius Bakke Received: via spool by 60316-submit@debbugs.gnu.org id=B60316.16721788401714 (code B ref 60316); Tue, 27 Dec 2022 22:08:02 +0000 Received: (at 60316) by debbugs.gnu.org; 27 Dec 2022 22:07:20 +0000 Received: from localhost ([127.0.0.1]:56660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAI6R-0000RZ-Qq for submit@debbugs.gnu.org; Tue, 27 Dec 2022 17:07:20 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:54833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAI6P-0000RL-FP for 60316@debbugs.gnu.org; Tue, 27 Dec 2022 17:07:18 -0500 Date: Tue, 27 Dec 2022 22:06:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1672178830; x=1672438030; bh=y+IIcqW/nB7SlE+LuDoXpmGob4ogtL+Y+PcEMSzunyE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ng7RcTIF/DgCB3CdrOUPEduHeC3MBFTXeLGbP/4689jpKvp1TiEy3gBf4FLVMvNwT 1fZi9dqqDD0AS53wvHI7Fmg6sgC7CtCjT9nRlHAO3s9Qs8cBEWO73DBsBRdOg6cuDY nxI/n4KEa5fsRg7X1aBuNwcigicWfwJdMwqPf7ivBPT8sdJZiUjyl3CQu3FPWbCGti n+wbZk9lxNzwdrWoYc1+eIGUjTh0dL1YzTr1SbMp8ybGJc84MP3XIo6NNJ3YBbN8HS aU30acFPnPuWl8qcHAHUMCxxSmkJv+Mhb0XmUxBwb0serflR25ToXYoM/cRU2hMOo4 BLvGw14ydkmVg== Message-ID: In-Reply-To: <634278b7-4dd9-a561-e022-0cde3b6714d9@raghavgururajan.name> References: <634278b7-4dd9-a561-e022-0cde3b6714d9@raghavgururajan.name> Feedback-ID: 14143818:user:proton MIME-Version: 1.0 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: , Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches >> > I'd love to add Home assistant to Guix to liberate our homes :-D > > > Woah! Thanks so much for working on this. I've been eyeing at > homeassitant for a while. :D > > > However, it has one nasty problem. There's one Python module 'orjson' which depends on rust package [1]. Since it would mean to add a lot of Rust packages I'd like to ask for help if there isn't a better way to build the package 'orjson'? > > > I'd like to help. Let's see if we can avoid that dependency. If we > can't, I'll aid this work with packing the related rust packages. Here are the additional Python packages from the orjson module repo from various requirements.txt. Please consider them more WIP as they build and allow you to have a look around the 'python-orjson'. I also have the Rust modules, but packaging them is quite tedious as it's almost 3k lines of code :-/ Any ideas here? > > > Just out of curiosity have you been able to package the Home assistant? > > > Darn! I forgot that I created that post. I must've working on that and > lost the work because of SSD failure happened midst 2021. :( Home the 'smartmontools' might save you from similar thing in future :-) ---- Petr From 1898eda096589690a29f77679ae313701ee6ea4a Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Tue, 27 Dec 2022 23:00:34 +0100 Subject: [PATCH 08/10] gnu: Add python-types-simplejson. * gnu/packages/python-xyz.scm (python-types-simplejson): New variable. diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 48044a3ef3..91af772a4f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30604,6 +30604,22 @@ (define-public python-types-pytz collection.") (license license:asl2.0))) +(define-public python-types-simplejson + (package + (name "python-types-simplejson") + (version "3.18.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "types-simplejson" version)) + (sha256 + (base32 + "0lizf6aiiphvd3l02gk6qm16i6p7a98rdgh3s786bg8a349xnyl5")))) + (build-system python-build-system) + (home-page "https://github.com/python/typeshed") + (synopsis "Typing stubs for simplejson") + (description "Typing stubs for simplejson") + (license license:asl2.0))) + (define-public python-types-toml (package (name "python-types-toml") -- 2.38.1