From patchwork Sun Jun 30 09:05:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 65783 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B5C8B27BBE9; Sun, 30 Jun 2024 10:09:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6554B27BBE2 for ; Sun, 30 Jun 2024 10:09:34 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNqXX-0006DG-A9; Sun, 30 Jun 2024 05:08:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNqXV-0006CK-UB for guix-patches@gnu.org; Sun, 30 Jun 2024 05:08:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNqXV-0001f1-LB for guix-patches@gnu.org; Sun, 30 Jun 2024 05:08:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNqXV-0001tF-D8 for guix-patches@gnu.org; Sun, 30 Jun 2024 05:08:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71843] [PATCH 05/26] gnu: Add go-github-com-adrg-xdg. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Jun 2024 09:08:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71843 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71843@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 71843-submit@debbugs.gnu.org id=B71843.17197384527040 (code B ref 71843); Sun, 30 Jun 2024 09:08:05 +0000 Received: (at 71843) by debbugs.gnu.org; 30 Jun 2024 09:07:32 +0000 Received: from localhost ([127.0.0.1]:55019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNqWy-0001pN-8I for submit@debbugs.gnu.org; Sun, 30 Jun 2024 05:07:32 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:60788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNqWt-0001nH-AM for 71843@debbugs.gnu.org; Sun, 30 Jun 2024 05:07:27 -0400 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-424adaa6ceeso12846775e9.1 for <71843@debbugs.gnu.org>; Sun, 30 Jun 2024 02:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719738382; x=1720343182; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vTaICEmEpW/peU4oJYGbThT5/HhUfbDux215LDyg4p4=; b=Sb1N3GseQfBD5Ybc1i/iiJ926KEsLfBDngoz7PuDk+K+HJ3rGp508mf0JP4/Aq3oR2 iG6BOrx9cpXtTbyU/07IMzhSj4LdzqjKuzmi2HuPUB7zkrf/DjWGFhig3OsjswtMcnWa kDShQ7WFEzS+oYFS+ZesJ3ajoOx7MpvBXVWlSlkFMti+DvU1W1Ys7odC9Z1/spw3JFww qKUI61gq4/a8QkkU0occ4vpMaxO1QhCM6dyICHFrpFeum66I0oKTukXA1oDpewQrbWfH tN/0zTKdLrrkcq097NyV+pIQoZYkoC109c5B84nLklyiMqQpbNoTjPUNCqx03Ca1MK9s lTEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719738382; x=1720343182; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vTaICEmEpW/peU4oJYGbThT5/HhUfbDux215LDyg4p4=; b=EIwUT/K/FdcvwQrKbmIRuf9wXyDq9cEQywl5qACwKXhVNDUYm4XNxEdpZ3/wulJT8f /mUKXqD6WTk3nmrVZW8v/EvtCPt2+greHP/5LrRjUv1iX3WNFd3R3HrWSNyCBbmyJIuk siOqCXGRLrJ9hrDXtLGzHDRIs2PVSE4WjUTvudXQM9Clv7IEiStLuMyoInv4mQU+2Cw3 BBOdsTi92d3M5UhLI94I0W9ufIfesAdjMPJuKjN3MtDH0bgm/jgfbVCzkqxzYhQwlK85 sMBe6KcOhXujqnSykYSCS8T7eXeNPdXNCVF3c5Hlkqzz3EYWMVizFqAKMTseFYxMl5H3 snYg== X-Gm-Message-State: AOJu0YxindbkBEGf/KhhchIiUYp4RTa/IkoaW6iAE9CbLBkBaP0TMYbw s+bMSaPEX/010Q86v48EsqQzlr2DUUKfi6/eGpwfAy2DeXUh7Hbi8UUBD466 X-Google-Smtp-Source: AGHT+IFidBPIHgNqsG5hLDDmCk6hGuI2mOI6XWpwydgVhXdgszIppDSBtQE2ntlacUhgoVCyp+LpHw== X-Received: by 2002:a7b:ce15:0:b0:425:5fa2:60a8 with SMTP id 5b1f17b1804b1-4257a02fc72mr19786575e9.24.1719738381707; Sun, 30 Jun 2024 02:06:21 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4256af5b66csm103446845e9.18.2024.06.30.02.06.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jun 2024 02:06:21 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 30 Jun 2024 10:05:45 +0100 Message-ID: <811c4a96a14510dd24f1879dd5244b19cb7ce060.1719691458.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-xyz.scm (go-github-com-adrg-xdg): New variable. Change-Id: I6a7576d45c84e864d6db915784e32606b1008710 --- gnu/packages/golang-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index ae3eda6936..7b92ef052f 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -316,6 +316,46 @@ (define-public go-github-com-adrg-strutil similarity as well as other string utility functions.") (license license:expat))) +(define-public go-github-com-adrg-xdg + (package + (name "go-github-com-adrg-xdg") + (version "0.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/adrg/xdg") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xbkb8wmr6phj2ppr75akc58jdzrv20gc3mkxa1mmb968isy8s6c")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/adrg/xdg" + #:phases + #~(modify-phases %standard-phases + ;; Tests need HOME to be set: could not create any of the following + ;; paths: /homeless-shelter/.local/data, + ;; /homeless-shelter/.local/data, /usr/share + (add-before 'check 'set-home + (lambda _ + (setenv "HOME" "/tmp")))))) + (native-inputs + (list go-github-com-stretchr-testify)) + (propagated-inputs + (list go-golang-org-x-sys)) + (home-page "https://github.com/adrg/xdg") + (synopsis "XDG specification implementation for Golang") + (description + "Package xdg provides an implementation of the @acronym{XDG, X Desktop +Group} Base Directory Specification. The specification defines a set of +standard paths for storing application files including data and configuration +files. For portability and flexibility reasons, applications should use the +XDG defined locations instead of hardcoding paths. The package also includes +the locations of well known user directories.") + (license license:expat))) + (define-public go-github-com-alecthomas-chroma (package (name "go-github-com-alecthomas-chroma")