From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joshua Branson Subject: Want help with writing package recipe Date: Thu, 06 Mar 2014 18:03:47 -0500 Message-ID: <5318FED3.8060305@purdue.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLhGL-0008FG-Ah for guix-devel@gnu.org; Thu, 06 Mar 2014 17:59:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLhGG-0001t4-1c for guix-devel@gnu.org; Thu, 06 Mar 2014 17:59:37 -0500 Received: from mailhub247.itcs.purdue.edu ([128.210.5.247]:51804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLhGF-0001sw-SE for guix-devel@gnu.org; Thu, 06 Mar 2014 17:59:31 -0500 Received: from [10.0.0.36] (c-67-162-15-220.hsd1.in.comcast.net [67.162.15.220]) (authenticated bits=0) by mailhub247.itcs.purdue.edu (8.14.4/8.14.4/mta-auth.smtp.purdue.edu) with ESMTP id s26MxTIQ015364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 6 Mar 2014 17:59:30 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Hello, I'm trying to write a recipe to install GNU typist: http://www.gnu.org/software/gtypist/ Just to be clear, one cannot install gtypist with "guix package -i gtypist", because guix does not currently have a recipe for gtypist. Anyway, I used guix download to download the tarball for gtypist. It is stored locally on my machine in this path: /nix/store/lzxd537h0plmskizrldx6lmpyacl2d40-gtypist-2.9.4.tar.gz I used guix hash -f base32 to export the base32 hash, which is: i5q225g6twsg5egicgpt6ub7hn4m7pdzg56hwxx57jm4o4ns5fgq I've written a recipe for gtypist located here: http://pastebin.com/ysLHJUWg But now, I'm stuck. I'm not sure how to tell guix to run the recipe. Guix's documentation says that the command "guix build options package-or-derivation" will build the package into a binary that I can run on my machine. I can't say "guix build gtypist", because guix does not currently have a recipe to build gtypist, and I can't say "guix build options /path/to/gtypist.dri", because there is not a derivation file on my machine for gtypist. What do I do next to build this package? How do I submit a patch when I get it working? Thanks, Joshua