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 ms0.migadu.com with LMTPS id iJrwMu2AomFZ8wAAgWs5BA (envelope-from ) for ; Sat, 27 Nov 2021 20:03:09 +0100 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 4NGwLu2AomHhHAAA1q6Kng (envelope-from ) for ; Sat, 27 Nov 2021 19:03: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 30EEB3C11D for ; Sat, 27 Nov 2021 20:03:09 +0100 (CET) Received: from localhost ([::1]:53548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mr2ya-0001fb-0I for larch@yhetil.org; Sat, 27 Nov 2021 14:03:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mr2yU-0001df-AS for guix-patches@gnu.org; Sat, 27 Nov 2021 14:03:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51229) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mr2yU-0004q8-0Q for guix-patches@gnu.org; Sat, 27 Nov 2021 14:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mr2yT-0004qI-TL for guix-patches@gnu.org; Sat, 27 Nov 2021 14:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51998] [PATCH] gnu: Add guile-gitlab In-Reply-To: <87ilwmzzi7.fsf@gmail.com> Resent-From: poptsov.artyom@gmail.com (Artyom V. Poptsov) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Nov 2021 19:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51998 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 51998@debbugs.gnu.org Received: via spool by 51998-submit@debbugs.gnu.org id=B51998.163803973718551 (code B ref 51998); Sat, 27 Nov 2021 19:03:01 +0000 Received: (at 51998) by debbugs.gnu.org; 27 Nov 2021 19:02:17 +0000 Received: from localhost ([127.0.0.1]:34542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr2xl-0004p9-2y for submit@debbugs.gnu.org; Sat, 27 Nov 2021 14:02:17 -0500 Received: from mail-lf1-f53.google.com ([209.85.167.53]:35425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr2xj-0004ou-7w for 51998@debbugs.gnu.org; Sat, 27 Nov 2021 14:02:15 -0500 Received: by mail-lf1-f53.google.com with SMTP id u3so32883644lfl.2 for <51998@debbugs.gnu.org>; Sat, 27 Nov 2021 11:02:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version; bh=zzjoYpsn+KfPiCb+YTaf9AIgV6Ezz5U366FSD6dcyWQ=; b=Cr6OU9lZXbzjvoECI9vMY1Qp39nleMDy14zysX6fGGW58vMnQA+QSJ4PvyMVUNH6Ug i97GCunnPlodujbTF3CrkLIW8wHpVbFgFL4WPw8gzK2paH3REOAp9BvNRNfbtm4c+X6g oHNdMQQHvC9YkGn3gt1aikWppfUGOLLA/MMT2DqDk13lUGnT85YwQjONOJo4EclR2SXC PEs3Dzm0zFfIUwEHQgU6V+mDAnP8rrrtL8aYTShnng1hJLdwcvSCYH8ABsjy1Zz/9/Jl 1ZWleNONnLyhHLXXMLesqurUezkdmUoYJNDCQUT3fp5CcdqiQZsPbKinz32oswEJ92EH YeDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :user-agent:mime-version; bh=zzjoYpsn+KfPiCb+YTaf9AIgV6Ezz5U366FSD6dcyWQ=; b=XA/sXSl8lq1x2Ol/2g3Qjb0nAacVcA9OMeYmQovS8wQahM2wlTS2D5TMqHt5jqaDqD oSkf5dmikwn2B9ikzj8cR/QgD1Z0JhWgGl7CjDsTbVlNIgsbWXxRYfH5FThMmG3dXe/f W0ELGqnr3E58Kad4+FxlNX1lA3P67x2aM6o6grLcz+8cN5dTfxhTfmUeqnPItqxcS/Or m/XU9wfZ0HUeVSs1SeJ7aNE5Ccts6AELWkB++FTBs66fPH2HjRt4fTfKFsCNIwVzsCp8 smJs73JpdLTww9UwCj3l4fr/RR8lln2FDjWBUppKbGbqC3xszyIHzCUZkRxRlbk4gBuz v8xA== X-Gm-Message-State: AOAM531x60niLeh/IjxdPB8L48B+isnQPSe1gPYbuHKg7q25unHGodQw eKvKaQ5+eOy3HLPi33ju5B7pWjCBISU= X-Google-Smtp-Source: ABdhPJzBQciWSjRTSd2vSfBN9YZSZYphjUNEdvcZaIslnXXpExJLXNRM1Tib/6GjtivKhyw9KM6T4Q== X-Received: by 2002:a19:d61a:: with SMTP id n26mr37168098lfg.313.1638039727758; Sat, 27 Nov 2021 11:02:07 -0800 (PST) Received: from elephant ([5.164.193.196]) by smtp.gmail.com with ESMTPSA id v14sm802575lfb.264.2021.11.27.11.02.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Nov 2021 11:02:06 -0800 (PST) From: poptsov.artyom@gmail.com (Artyom V. Poptsov) References: <87ilwmzzi7.fsf@gmail.com> <87h7c0mq2s.fsf@gnu.org> <87bl26k9la.fsf@gmail.com> <8735nhq1xh.fsf@gnu.org> Date: Sat, 27 Nov 2021 22:02:05 +0300 Message-ID: <87zgppifrm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638039789; 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:resent-cc: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: dkim-signature; bh=zzjoYpsn+KfPiCb+YTaf9AIgV6Ezz5U366FSD6dcyWQ=; b=BUzh/NLnaYURQRCu7Ay2Xwsi5lNVNFNQQG18kRa4bR6God2JktkY8WYGBeo9E1BT2w8Fvv I4HXwgJbOA4/rTZbIjLI7ji6nCbGefWcEnxdStqHEbqrISZ4uWWO62/uNmXFOCocAV1prr mgmeG19gp7nAYMYp/E3mDf5vTO0ncyhvyD/GvrrVCKABQB5/c13P1DrTSdjaxGaLMl54c+ XW9jm+OIOCZR7QLVbCwpTvx7tXKQUI4OtzEMbIxlYav/YILn8Z+WWYzqYtDRjDAzfCIBIP klKoptKs9/58q5o4VYXkm2LqRQ9S9+KX528B+fu6TH6IGww9QdYTbAbYtxhy9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638039789; a=rsa-sha256; cv=none; b=R3Unh/u15aZpGcSBpy77sk5tuiwx1vZo9c3Vw3uCu8ewGeFkptMcl5+yh09ThAa6CpEU+7 R2ikhD4EedVwuwFjMZlAAj3BKZpfK9k9cs8o7C37V8sG/1rjG4T6EASh34X7A6w+tm/U2/ KXiUGlIaFP9B9qsKMCdYoMEnFAJnYpUgw0Q1OirU7LPljF+6mQikCQhk+/tpMNyYSw2yZ9 pHi3fycFKTat7t1Ln1mmLRGll38xSWBrkQI+RVmo2JIG9CTWMUW1/9pbLQUc/yd1iESGHa ryuxQ0IuYlMea8STBHogywNzV4lPIXJVHcPIWQHUWTxBz/FqT/bhRA9qjOEqXQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Cr6OU9lZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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-Migadu-Spam-Score: -3.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Cr6OU9lZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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-Migadu-Queue-Id: 30EEB3C11D X-Spam-Score: -3.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: e3ri30AQjSdH --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 SGVsbG8gTWF0aGlldSwNCg0KSSBqdXN0IHJlbGVhc2VkIEd1aWxlLUdpdExhYiAwLjIuMFsxXSB3 aXRoIGZpeGVkIEF1dG90b29scyBzY3JpcHRzLiAgVGhhbmtzDQpmb3IgdGhlIGhpbnRzLCBJIGFw cHJlY2lhdGUgaXQuDQoNCkNvdWxkIHlvdSBwbGVhc2UgY2hlY2sgaWYgbXkgcGFja2FnZSBpcyBP Sz8NCg0KLSBBcnR5b20NCg0KUC5TLg0KDQo+INCh0L/QsNGB0LjQsdC+INC30LAg0LLRgtC+0YDR g9GOINCy0LXRgNGB0LjRji4NCtCi0Ysg0LfQvdCw0LXRiNGMINGA0YPRgdGB0LrQuNC5INGP0LfR i9C6Pw0KDQoxLiBodHRwczovL2dpdGh1Yi5jb20vYXJ0eW9tLXBvcHRzb3YvZ3VpbGUtZ2l0bGFi L3JlbGVhc2VzL3RhZy92MC4yLjANCg== --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-guile-gitlab.patch Content-Transfer-Encoding: quoted-printable From=20146fb0e85382ba58e324af99b4bef39a261c0da0 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 20 Nov 2021 15:32:10 +0300 Subject: [PATCH] gnu: Add guile-gitlab * gnu/packages/guile-xyz.scm (guile-gitlab): Add new package. =2D-- gnu/packages/guile-xyz.scm | 61 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 628d81710a..841fd49f18 100644 =2D-- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -38,6 +38,7 @@ ;;; Copyright =C2=A9 2021 Leo Le Bouter ;;; Copyright =C2=A9 2021 Zelphir Kaltstahl ;;; Copyright =C2=A9 2021 Oleg Pykhalov +;;; Copyright =C2=A9 2021 Artyom V. Poptsov ;;; ;;; This file is part of GNU Guix. ;;; @@ -4795,3 +4796,63 @@ It provides a generic library for writing implementa= tions of a netlink protocol, a low-level rtnetlink implementation that uses that library and a high-level API for network management that uses rtnetlink.") (license license:gpl3+))) + +(define-public guile-gitlab + (package + (name "guile-gitlab") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/artyom-poptsov/guile-gitlab") + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1yq8w507vw9n7f626sbnsk8prsdk337d6acr7f9k3j500lhlvxj5")))) + (build-system gnu-build-system) + (arguments + `(#:modules (((guix build guile-build-system) + #:select (target-guile-effective-version)) + ,@%gnu-build-system-modules) + #:imported-modules ((guix build guile-build-system) + ,@%gnu-build-system-modules) + #:phases (modify-phases %standard-phases + (add-after 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (guile-lib (assoc-ref inputs "guile-lib")) + (version (target-guile-effective-version)) + (scm (string-append "/share/guile/site/" + version)) + (go (string-append "/lib/guile/" + version "/site-cca= che"))) + (wrap-program (string-append bin "/gitlab-cli") + `("GUILE_LOAD_PATH" prefix + (,(string-append out scm) + ,(string-append guile-lib scm))) + `("GUILE_LOAD_COMPILED_PATH" prefix + (,(string-append out go) + ,(string-append guile-lib go))))) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config) + ("texinfo" ,texinfo))) + (inputs + `(("guile" ,guile-2.2) + ("guile-json" ,guile-json-1) + ("guile-gnutls" ,guile2.2-gnutls))) + (propagated-inputs + `(("guile-lib" ,guile2.2-lib))) + (home-page "https://github.com/artyom-poptsov/guile-gitlab") + (synopsis "GitLab module for Guile") + (description + "GNU Guile interface to GitLab Community Edition REST API. + +This package provides @samp{gitlab-cli} command line tool for interacting = with +a GitLab instance.") + (license license:gpl3))) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmGigK0ACgkQ6cWi2QiY oC+mZwf/SEHpJxXfUqZGLszuYqXbGaanWmeTK1r5CAtZeQxn2oPEMbIqnj9UPN9t R/QqXv7vHM0ZOE7dR3ndHyZebOKvLcF7fr+GswTTBcJo7DU4lgN20Ok9E6xQgh4g GaLAD/fC4dhydu34EH/1aM5/PTFSWjtnFOM0u+Z91lfsqyHJEk96PK47irl1yAKA y9uqkPLJ3vJsxQS4D5BXf2jSrn61Wmf9BB9nYoG0emottgMrobGyY+JJ7nf86JyQ ihcqEIjs3OpNgFRx7es7jUXw1qeNXF5rVpqGcoZFGDyupTNu0rbVQMmd7HDt4jd2 EEsYFP4sPc52yapgo9F2QwED/D5+mQ== =F6Sj -----END PGP SIGNATURE----- --==-=-=--