From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wBzpFqh8jGCxGwEAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 23:54:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GNiTEqh8jGCLfAAAB5/wlQ (envelope-from ) for ; Fri, 30 Apr 2021 21:54:48 +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 EA9CB2701A for ; Fri, 30 Apr 2021 23:54:47 +0200 (CEST) Received: from localhost ([::1]:50722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcb5y-0004Jf-MS for larch@yhetil.org; Fri, 30 Apr 2021 17:54:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcXUg-0008E8-Ls for guix-patches@gnu.org; Fri, 30 Apr 2021 14:04:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48262) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcXUg-0002TZ-Cl for guix-patches@gnu.org; Fri, 30 Apr 2021 14:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcXUg-0006Oz-AX for guix-patches@gnu.org; Fri, 30 Apr 2021 14:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48126] [PATCH] Add package for vim-solarized Resent-From: Tissevert Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 18:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48126 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48126@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161980583924597 (code B ref -1); Fri, 30 Apr 2021 18:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Apr 2021 18:03:59 +0000 Received: from localhost ([127.0.0.1]:59808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcXUc-0006Of-EL for submit@debbugs.gnu.org; Fri, 30 Apr 2021 14:03:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:60576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcXAf-0003i4-P7 for submit@debbugs.gnu.org; Fri, 30 Apr 2021 13:43:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcXAd-0005NQ-B1 for guix-patches@gnu.org; Fri, 30 Apr 2021 13:43:21 -0400 Received: from marvid.fr ([163.172.81.107]:49386 helo=courriel.marvid.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcXAa-0001a9-Gx for guix-patches@gnu.org; Fri, 30 Apr 2021 13:43:18 -0400 Received: from pine.local (unknown [78.194.167.103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by sahkopoika (Postfix) with ESMTPSA id 2D10B51E088B for ; Fri, 30 Apr 2021 19:42:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=marvid.fr; s=201901; t=1619804556; bh=IfzqcJa+qwcIvkrSlYiSkiThY9sQX59MVOp1N1QC2Ss=; h=Date:From:To:Subject; b=Rb0SdDYcR9zzydtrkQKsfbkIekC0tVOmH2N3nNTv5T1b7E5J7PX2PfbQISOYvyzyZ sVuYjZr9TgD9jAzpoPV8Ge74XeSafa8l3b6dpnufY8IRG5B4m6vuimMfXvmaLyyL6F nDwFcOOJdzyvpQn5RWSE5yzTTaKWPXlbnnvrWkXk= Date: Fri, 30 Apr 2021 19:42:35 +0200 From: Tissevert Message-ID: <20210430194235.1461cada@pine.local> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/S9dqFBw+pOE7Ww.b9oRuajC" Received-SPF: pass client-ip=163.172.81.107; envelope-from=tissevert+guix@marvid.fr; helo=courriel.marvid.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 30 Apr 2021 14:03:57 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 30 Apr 2021 17:09:33 -0400 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=1619819688; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=Wohztq0VGPc5NP7G18cUHhLHtSyzjr23ijcl5bEKWjA=; b=DceDgUG4kv/elacVQzC0/KeR7q8TViMJw7N5tm+9kwkOYoDmLDbgjufm22qXOM2sPLjoS+ 00OPtphjUECpqomhPOjVouEkLi6FNSVI38wTJ+svZdfa8cdGlgxssNLeXeO4dMWHe8qMow q/kz13vrNl6SnHZuhnIrEz2a90Yuih9LcSLJIPK46yYUhZl7M+xIpL6/BxsmbqgY7RerPf hY/FZ//GwWhmQLevuNcuUm/yEwa2sBp4MyiaIibbnX65A5Lz5gADs3mm82oNpMqWxO8OX+ U17STjzZ5Z7lKZVxBBXMAgIRf5aFg1tCoZHANM/dXmRRQN2LovYw+0qg4Z1zng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619819688; a=rsa-sha256; cv=none; b=DG3YhGdyJqkOqpGp1swL3f4T9gO2T6B8lAs+UqvB7AnxM9wfz6XFf2o2kR5m9VXQ8PuL1m /3/vjgUC8M4M48FPShW/wTF4j1vV2DrlAn2fW9UiREDUjaQCLxzGlUzUqbxyQqkwS8fn/A 22/wlX3Xr9ZiTR0pK0cSKBDLNgO9+OEkVqO4otCf37UjbMAaS97waLAhqxk/R8sJEhxWyL ulLb/rd9z0t5YJhX51Pdt1+pXu5dnCXXiJ36zv/ULkD4ie+OpaQwlEuquAAasRkodEjeSB 8p4JwszP3UIpU+9lTiKXy7y3DrHReGcWOgttF/oJzb5BOFmvO979EVS9/lEaoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=marvid.fr header.s=201901 header.b=Rb0SdDYc; 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: -1.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=marvid.fr header.s=201901 header.b=Rb0SdDYc; dmarc=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: EA9CB2701A X-Spam-Score: -1.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: nRn+KwTN8Tsy --MP_/S9dqFBw+pOE7Ww.b9oRuajC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Guix ! I here's my first attempt at packaging something, I noticed that vim-solari= zed was missing so I tried to write a package for it. The only warning I got was from the guix lint which told me it couldn't find upstream releases. I believe this is due to vim-solarized particular struct= ure: it's a light =C2=ABclone=C2=BB of the main repository https://github.com/altercation/solarized containing only the vim-files. It doesn't have any tags/releases but the full repository does. I used the lat= est commit on the master branch in git-reference for guix to retrieve it and the corresponding version on the full repository as package version. Does that = seem right ? I found another copy in project vim-scripts (https://github.com/vim-scripts/Solarized) which has made a tag (the same version name that I chose) so we could be using either the full repository (more unneeded data retrieved during the build) or this second copy (they do provide a tag but isn't it better to remain as close as possible to the original source ?). I hope my patch is correct and thank you everyone for being such a welcoming community and having made my experience with Guix so far absolutely great ! Tissevert --MP_/S9dqFBw+pOE7Ww.b9oRuajC Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-Add-package-for-vim-solarized.patch =46rom 8c6f15a97910d2786968818fc8ecf82a73df24c3 Mon Sep 17 00:00:00 2001 From: Tissevert Date: Fri, 30 Apr 2021 19:04:35 +0200 Subject: [PATCH] Add package for vim-solarized --- gnu/packages/vim.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 47ac984fc7..477c15b9aa 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -10,6 +10,7 @@ ;;; Copyright =C2=A9 2019, 2020 Jakub K=C4=85dzio=C5=82ka ;;; Copyright =C2=A9 2020 Jack Hill ;;; Copyright =C2=A9 2021 Simon Tournier +;;; Copyright =C2=A9 2021 Tissevert ;;; ;;; This file is part of GNU Guix. ;;; @@ -579,6 +580,30 @@ are detected, the user is notified.") (home-page "https://github.com/vim-syntastic/syntastic") (license license:wtfpl2))) =20 +(define-public vim-solarized + (package + (name "vim-solarized") + (version "v1.0.0beta1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/altercation/vim-colors-solarized") + (commit "528a59f26d12278698bb946f8fb82a63711eec21"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05d3lmd1shyagvr3jygqghxd3k8a4vp32723fvxdm57fdrlyzcm1")))) + (build-system copy-build-system) + (arguments + '(#:install-plan + '(("colors" "share/vim/vimfiles/") + ("doc" "share/vim/vimfiles/")))) + (home-page "https://github.com/altercation/vim-colors-solarized") + (synopsis "Solarized Colorscheme for Vim") + (description "Precision colors for machines and people") + (license license:bsd-3))) + (define-public editorconfig-vim (package (name "editorconfig-vim") --=20 2.31.1 --MP_/S9dqFBw+pOE7Ww.b9oRuajC--