From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2KZVCFE0Ql95SgAA0tVLHw (envelope-from ) for ; Sun, 23 Aug 2020 09:18:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eBFKBFE0Ql/bKwAA1q6Kng (envelope-from ) for ; Sun, 23 Aug 2020 09:18:09 +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 4AB6B9402C2 for ; Sun, 23 Aug 2020 09:18:08 +0000 (UTC) Received: from localhost ([::1]:42510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9m8c-00085s-RB for larch@yhetil.org; Sun, 23 Aug 2020 05:18:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9m8Y-00085l-7D for guix-patches@gnu.org; Sun, 23 Aug 2020 05:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40517) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9m8X-0006Sz-UO for guix-patches@gnu.org; Sun, 23 Aug 2020 05:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k9m8X-0005Rp-QI for guix-patches@gnu.org; Sun, 23 Aug 2020 05:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42975] [PATCH] v2 gnu: akku: Add akku. Resent-From: Martin Becze Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Aug 2020 09:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42975 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42975@debbugs.gnu.org Cc: Martin Becze Received: via spool by 42975-submit@debbugs.gnu.org id=B42975.159817427220924 (code B ref 42975); Sun, 23 Aug 2020 09:18:01 +0000 Received: (at 42975) by debbugs.gnu.org; 23 Aug 2020 09:17:52 +0000 Received: from localhost ([127.0.0.1]:52063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9m8O-0005RQ-2p for submit@debbugs.gnu.org; Sun, 23 Aug 2020 05:17:52 -0400 Received: from mx1.riseup.net ([198.252.153.129]:49064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9m8M-0005RH-5L for 42975@debbugs.gnu.org; Sun, 23 Aug 2020 05:17:50 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4BZ8mY1NpVzFgcK for <42975@debbugs.gnu.org>; Sun, 23 Aug 2020 02:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1598174269; bh=AdUkn/lPKF2PGPo5xHqKkyvds4jdXnChXLp/cRJjg/k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XIEGEhXlkffBj60kdZzkay4+nk2PNCffhpBi4p9qo08yArIHYcWdsK1+CvxY4N2Lp O4Otb9HGapjyK/IY2SrwDKSVUiYpxWGeGRVFKC5ilNoo8+xEcZLHHXYPer2dzRnBir ThSjlDVlroHOH8dMD2bXyqqFRyy5SvbhWT7rsD6o= X-Riseup-User-ID: 17C2F9FE4DB395910AE6679C2B503CB9BE8B039BAE84F79CD230CB8893F6A40D Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4BZ8mX2XbDzJml8; Sun, 23 Aug 2020 02:17:48 -0700 (PDT) From: Martin Becze Date: Sun, 23 Aug 2020 04:17:40 -0500 Message-Id: <20200823091740.3451-1-mjbecze@riseup.net> In-Reply-To: <20200821192433.27053-1-mjbecze@riseup.net> References: <20200821192433.27053-1-mjbecze@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=riseup.net header.s=squak header.b=XIEGEhXl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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-Spam-Score: 1.09 X-TUID: witzyNrqQBSC * gnu/packages/package-management.scm (akku): New variable. --- gnu/packages/package-management.scm | 50 +++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index d1fe0e2210..f1951c3218 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2020 Giacomo Leidi ;;; Copyright © 2020 Jesse Gibbons +;;; Copyright © 2020 Martin Becze ;;; ;;; This file is part of GNU Guix. ;;; @@ -1268,3 +1269,52 @@ applications") (description "Flatpak is a system for building, distributing, and running sandboxed desktop applications on GNU/Linux.") (license license:lgpl2.1+))) + +(define-public akku + (package + (name "akku") + (version "1.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/akkuscm/akku.git") + (commit (string-append "v" version)))) + (sha256 (base32 "1dm32ws3nshnnscd7k75zswxxs1pp25y2q4k8j5ms241hz47by3c")))) + (build-system gnu-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'bootstrap + (lambda* (#:key outputs #:allow-other-keys) + (for-each patch-shebang + '("bootstrap" + ".akku/env")) + (let* ((home "/tmp") + (datadir (string-append home "/.local/share/akku/"))) + (mkdir-p datadir) + (invoke "touch" (string-append datadir "index.db")) + (setenv "HOME" home)) + (invoke "./bootstrap") + #t)) + (add-after 'install 'wrap-executables + (lambda* (#:key outputs inputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (curl (assoc-ref inputs "curl"))) + (wrap-program (string-append out "/bin/akku") + `("LD_LIBRARY_PATH" ":" prefix (,(string-append curl "/lib")))) + #t)))))) + (native-inputs + `(("which" ,which) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) + (inputs + `(("guile" ,guile-2.2) + ("curl" ,curl))) + (home-page "https://akkuscm.org/") + (synopsis "Akku.scm is a language package manager for Scheme") + (description + "Akku.scm is a project-based language package manager for R6RS and R7RS Scheme. +It is mainly meant for programmers who develop portable programs or libraries in Scheme, +but could potentially work for end-users of those programs. It also has a translator +from R7RS, which allows most R7RS code to run on R6RS implementations.") + (license license:gpl3))) -- 2.28.0