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 KAy4HQy0Ql8+JwAA0tVLHw (envelope-from ) for ; Sun, 23 Aug 2020 18:23:08 +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 uB+0GQy0Ql8VOwAA1q6Kng (envelope-from ) for ; Sun, 23 Aug 2020 18:23:08 +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 7E143940602 for ; Sun, 23 Aug 2020 18:23:07 +0000 (UTC) Received: from localhost ([::1]:54634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9ue2-0001wy-Bp for larch@yhetil.org; Sun, 23 Aug 2020 14:23:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9udy-0001wj-TW for guix-patches@gnu.org; Sun, 23 Aug 2020 14:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9udy-0005Qc-K4 for guix-patches@gnu.org; Sun, 23 Aug 2020 14:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k9udy-0003bJ-Gl for guix-patches@gnu.org; Sun, 23 Aug 2020 14:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42975] [PATCH v3] gnu: Add akku. Resent-From: Martin Becze Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Aug 2020 18:23:02 +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.159820696813805 (code B ref 42975); Sun, 23 Aug 2020 18:23:02 +0000 Received: (at 42975) by debbugs.gnu.org; 23 Aug 2020 18:22:48 +0000 Received: from localhost ([127.0.0.1]:55089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9udj-0003ab-Oz for submit@debbugs.gnu.org; Sun, 23 Aug 2020 14:22:48 -0400 Received: from mx1.riseup.net ([198.252.153.129]:39514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9udi-0003aT-5W for 42975@debbugs.gnu.org; Sun, 23 Aug 2020 14:22:46 -0400 Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (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 4BZNsK3hVbzDt1M for <42975@debbugs.gnu.org>; Sun, 23 Aug 2020 11:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1598206965; bh=yRnaRduoi3LenmPsZ6oz/O1thL0kzC9QQYaYAL8NSpE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=snJUCwxpThSxijv3pycUWOsdhMV8Tr0MKOL9BsjL4Lyyy+ZnDDl0V6HqmLg9FpW+Z J95W0jfLvIdEbVYj10EgwBWr6nXUI1+atwZJpgQ49ys+B5V5XZNxiaM9pUjDFAoYgT vQZ6h3cUYot/B4udALPgl3+qoVjKzGb4KkLbDFYE= X-Riseup-User-ID: 32E043E9728C0D447D165A9738349EFE12EF382B1329773BF24607ED11E0FAC9 Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 4BZNqy3sJBz8sZv; Sun, 23 Aug 2020 11:21:33 -0700 (PDT) From: Martin Becze Date: Sun, 23 Aug 2020 13:21:18 -0500 Message-Id: <20200823182118.9459-1-mjbecze@riseup.net> In-Reply-To: <0a239a23-5347-3c1c-2888-72a85e751873@riseup.net> References: <0a239a23-5347-3c1c-2888-72a85e751873@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=snJUCwxp; 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: LZ/ZJFWd79Ez * gnu/packages/package-management.scm (akku): New variable. --- gnu/packages/package-management.scm | 51 +++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index d1fe0e2210..eb5877d167 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,53 @@ 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)))) + (file-name (git-file-name name 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-3.0) + ("curl" ,curl))) + (home-page "https://akkuscm.org/") + (synopsis "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