From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: bug#35893: guix import json does not specify input package's output when provided in the json Date: Fri, 24 May 2019 18:49:29 -0600 Message-ID: <20190524184929.771a67b7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:41226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUKyi-0004mG-9l for bug-guix@gnu.org; Fri, 24 May 2019 20:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUKyg-0003gb-SN for bug-guix@gnu.org; Fri, 24 May 2019 20:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34176) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUKyg-0003gV-O8 for bug-guix@gnu.org; Fri, 24 May 2019 20:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hUKyg-0002Gj-LD for bug-guix@gnu.org; Fri, 24 May 2019 20:56:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:40642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUKxc-0003zv-Lm for bug-guix@gnu.org; Fri, 24 May 2019 20:54:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUKsQ-0008VI-2b for bug-guix@gnu.org; Fri, 24 May 2019 20:49:35 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:38150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUKsP-0008UN-Oq for bug-guix@gnu.org; Fri, 24 May 2019 20:49:34 -0400 Received: by mail-pl1-x62b.google.com with SMTP id f97so4798706plb.5 for ; Fri, 24 May 2019 17:49:33 -0700 (PDT) Received: from localhost ([199.68.53.171]) by smtp.gmail.com with ESMTPSA id c76sm6442991pfc.43.2019.05.24.17.49.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 May 2019 17:49:31 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 35893@debbugs.gnu.org I'm trying to generate a package definition from the following json: { "name" : "pysolfc", "version" : "2.6.4", "source" : "https://github.com/shlomif/PySolFC/archive/pysolfc-2.6.4.tar.gz" "build-system" : "python", "home-page" : "https://pysolfc.sourceforge.io/", "synopsis" : "Solitaire Collection, Written in Python", "description" : "PySol Fan Club Edition (PySolFC) is a collection of more than 1000 solitaire card games. It is a fork of PySol Solitaire.", "license" : "GPL-3.0+", "inputs" : ["python2:tk"], "propagated-inputs" : ["python2-six"] } ========== When I run guix import json pysolfc.json >> pysolfc.scm and define the output as a public package, I get the following: (define-module (custom packages pysolfc) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system python) #:use-module (guix licenses)) (define-public pysolfc (package (name "pysolfc") (version "2.6.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/shlomif/PySolFC/archive/pysolfc-" version ".tar.gz")) (sha256 (base32 "17r9mbn4fj6kbxhllsab74gfjac0j2mjdwkkwaxp6cqpy4dss3z8")))) (build-system python-build-system) (inputs `(("python2" ,(@ (gnu packages python) python-2)))) (propagated-inputs `(("python2-six" ,(@ (gnu packages python-xyz) python2-six)))) (home-page "https://pysolfc.sourceforge.io/") (synopsis "Solitaire Collection, Written in Python") (description "PySol Fan Club Edition (PySolFC) is a collection of more than 1000 solitaire card games. It is a fork of PySol Solitaire.") (license gpl3+)) ) ==================== When I try to build this I get the following error: import _tkinter # If this fails your Python may not be configured for Tk ModuleNotFoundError: No module named '_tkinter' ==================== Conclusion: guix import json doesn't specify the output required by the json.