From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KOEJFX+1XmF8+gAAgWs5BA (envelope-from ) for ; Thu, 07 Oct 2021 10:53:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gA23EH+1XmE3NAAAB5/wlQ (envelope-from ) for ; Thu, 07 Oct 2021 08:53:19 +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 8C82C2C4F3 for ; Thu, 7 Oct 2021 10:53:18 +0200 (CEST) Received: from localhost ([::1]:41202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYP9Q-0002gV-L1 for larch@yhetil.org; Thu, 07 Oct 2021 04:53:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYP9C-0002gC-CX for bug-guix@gnu.org; Thu, 07 Oct 2021 04:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34454) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYP9B-0001ww-O0 for bug-guix@gnu.org; Thu, 07 Oct 2021 04:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYP9B-0007Dr-NG for bug-guix@gnu.org; Thu, 07 Oct 2021 04:53:01 -0400 Subject: bug#51048: No license in crate - guix import Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 07 Oct 2021 08:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51048 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Mail-Followup-To: 51048@debbugs.gnu.org, ludo@gnu.org, me@michzappa.com Received: via spool by 51048-done@debbugs.gnu.org id=D51048.163359674527716 (code D ref 51048); Thu, 07 Oct 2021 08:53:01 +0000 Received: (at 51048-done) by debbugs.gnu.org; 7 Oct 2021 08:52:25 +0000 Received: from localhost ([127.0.0.1]:45999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYP8b-0007Cx-6K for submit@debbugs.gnu.org; Thu, 07 Oct 2021 04:52:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYP8X-0007Ci-A2 for 51048-done@debbugs.gnu.org; Thu, 07 Oct 2021 04:52:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57324) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYP8R-0001Iw-7T; Thu, 07 Oct 2021 04:52:15 -0400 Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:59156 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYP8Q-0002ER-TH; Thu, 07 Oct 2021 04:52:15 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87h7dvnlxv.fsf@michzappa.com> <7580ba1ecf974cfc08391d8b62e1fbbc796350bb.camel@telenet.be> Date: Thu, 07 Oct 2021 10:52:12 +0200 In-Reply-To: <7580ba1ecf974cfc08391d8b62e1fbbc796350bb.camel@telenet.be> (Maxime Devos's message of "Wed, 06 Oct 2021 08:20:58 +0200") Message-ID: <87ily9fc8z.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Zappa , 51048-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633596799; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: 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; bh=8XLc+qvIobaZo4tSe7W+5Wal62ZO+eS8E2sIiDcnILU=; b=KdXrIJNglJq9B0tn0EG9xqMBpgfXb+Ex+fo+zWNt4FwNRkGVqrG7vA74KtjGXeVuvFH73Y 31FXXNQvMF5upcPoOO4VpF5MnnzvjK2m7fc5avfWtoUlWEfZeUN2Xk7+IkM7AUrwFOhoPi ug+nBgdGJc2v11ehUlMdO/fMWYB/eexhZ1Zj6yqXUMtWbk7mrUUHX2uGjhD6xV/LCDiqoY Ya6EHIMnAkoA8Ck6DQ0RobqZjzDF14El8Z4fNTC8ZoALimpUK8bKSwPSTsH7y4GpFSrQC/ ZqXTRTEliTJ7KqfVJA2Fu+CUO41NLujtLUDjB4DZ6ZzMJIpZU8H7f4KjzMHT4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633596799; a=rsa-sha256; cv=none; b=OfB/YWEdoK6QHXNmSlRhbCXHZFb4XzZSCFx5t0TNazwpUY1vpILyG5/iw0T31aPqCEusZf UixryITYpMRGZooFVZQTW+cOLH1GNgm23s9SfNYtFoKnSD1KFD4Nk9QCJO2PmxPZ3q4Pi0 bkVrAZtyu3UWZ5nkNZLcB+Ii39tfWZ9Qseex/F+BaBnsl6Q0F2BWztXaKu+Am9YPWLyXme yyjtVas8MOgI7NipWNmZKySQ3njV5bUpQWce7Hm5hsxmDbse6JGy24nO8L4MpV8qMtr7Tz +n9DYKCNJ1Eja1lsE9MQ+jSYB0kfwyjLGgO9/97IJWkR/LT7xjnW0BSPGnH9DQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 8C82C2C4F3 X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: Mf6cqBcC1tA0 Hi, Maxime Devos skribis: > Michael Zappa schreef op di 05-10-2021 om 18:31 [-0400]: >> Hello all, >> I have been playing around with the 'guix import' tools to >> see how easily I can get some package definitions. In the process of >> trying to package https://github.com/Spotifyd/spotifyd with 'guix import >> crate spotifyd -r' I found that one of the nested dependencies, >> libpulse-sys@0.0.0 did not work with the automatic importer because it >> does not have a license in its crate >> https://crates.io/crates/libpulse-sys/0.0.0. >>=20 >> Obviously it would be ideal to get whoever is using this out-of-date >> library in their package to update their dependencies so this is >> entirely avoided, but short of that has there ever been discussion on >> how to handle 'license-less' packages? I haven't seen any in my short >> time lurking on this list. It seems to be a rigid requirement for the >> crate importer. > > I don't now if there has been a discussion, > but other importers (at least the minetest importer) set the license > field to #f if no license information was unavailable. > > Modifying such that 'license' is set to #f if it has=20 > 'null' as value in the JSON might be sufficient I think? Indeed. Fixed in 1327ec822fa6dd396e979efd8d4e1f7479f1d5b3. Thanks! Ludo=E2=80=99.