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 yEAJDIslpF8TNgAA0tVLHw (envelope-from ) for ; Thu, 05 Nov 2020 16:17:15 +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 yBPqB4slpF+TaAAA1q6Kng (envelope-from ) for ; Thu, 05 Nov 2020 16:17:15 +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 423A1940416 for ; Thu, 5 Nov 2020 16:17:14 +0000 (UTC) Received: from localhost ([::1]:51876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kahwl-0007Ox-Io for larch@yhetil.org; Thu, 05 Nov 2020 11:17:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kahwd-0007Mt-HG for guix-patches@gnu.org; Thu, 05 Nov 2020 11:17:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42401) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kahwc-0000dV-70 for guix-patches@gnu.org; Thu, 05 Nov 2020 11:17:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kahwc-0007eb-31 for guix-patches@gnu.org; Thu, 05 Nov 2020 11:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#43929] gnu: Add pijul. Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Nov 2020 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Julien Lepiller Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 43929 <43929@debbugs.gnu.org>, zimoun Received: via spool by 43929-submit@debbugs.gnu.org id=B43929.160459297429359 (code B ref 43929); Thu, 05 Nov 2020 16:17:02 +0000 Received: (at 43929) by debbugs.gnu.org; 5 Nov 2020 16:16:14 +0000 Received: from localhost ([127.0.0.1]:53947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kahvq-0007dT-0R for submit@debbugs.gnu.org; Thu, 05 Nov 2020 11:16:14 -0500 Received: from mail-pj1-f43.google.com ([209.85.216.43]:55025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kahvl-0007dB-Eh for 43929@debbugs.gnu.org; Thu, 05 Nov 2020 11:16:13 -0500 Received: by mail-pj1-f43.google.com with SMTP id f12so315368pjp.4 for <43929@debbugs.gnu.org>; Thu, 05 Nov 2020 08:16:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=H0RDXHxfAQw0TR2JSH5WyA5OcwQs+hJStQAoS5urTOM=; b=w37TX/cF8SAYwPtI4VwPoqS7RJRC9xi5Kr+TLnhIzJGQQQjpzQQyATpAUmw03RUxds dC/FLxL5ufyYo5rF0LmXccwcecjzjj+nmSXu/NGLRLE4aLtxhd74sUuIaFPKUghBqY49 kPx3B9lcV98exMvJkQdBykyZ+sa0OQf7LPlhfmxoeC/w4F/9TD1ajKZZiiVKT4a8i+rd qq86rwDZmnmJNLlPiapP1MKirarH6QjzoZAwl60kyeHfSFHWXhDcs3yvGYpTjD88+vuU +7c0K9Fnp00stEoc9VWmJD4HJ4+XD0W2XrpftxQvQr1eH347FIveCsLiSZvEh0T1myGz OAXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=H0RDXHxfAQw0TR2JSH5WyA5OcwQs+hJStQAoS5urTOM=; b=c0zBxTprF96wwhKZMe3xklkpOVFx8BALTAKGIjLvPMxOyTK26lboeTDIWp2JSXsuss rJFHNxZWlvUt4lJ22p8w6ks5ocvddjecYq8uK4SONgACiAEx6MV+AD4lMjQza/mjoKjo zVlqsz970O/FeLlxHVjGFThQifqJQ2iRxrlgxniM4Iiu8eHk0PsRtW9o/MyQMnviLezZ a6yeav+1rDPYUQpymgMUVBf3Op3ijneE2uj2oLHlczoAUwOKEah4X+NhW8o3rZM/VrIO ssnjcgr/+LGKDuOFvGV2Tx2vt8LSJWNYteui2/1zB3TDKjReiLf5QfKztC0AjXyBVBBD W7Fw== X-Gm-Message-State: AOAM530bxKVwrZg1O2ne46TcH/Wp+Gno0uOupiWqcIs3rZNAg+QuBj5i lQsSlQtvEaTRh1Mz7fHVdD0SnPE62zyaHkS7 X-Google-Smtp-Source: ABdhPJzpsBHxyO5F9OlpC1kfsPOoZa9N9YK8qNnPvx3nhnSuQ4A4qwrs2hNxrBXBwK/pZmslna+hdQ== X-Received: by 2002:a17:90b:b12:: with SMTP id bf18mr2939103pjb.205.1604592963499; Thu, 05 Nov 2020 08:16:03 -0800 (PST) Received: from ecenter ([2600:1700:83b0:8bd0::7a8]) by smtp.gmail.com with ESMTPSA id z5sm1450734pfn.76.2020.11.05.08.16.01 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Nov 2020 08:16:02 -0800 (PST) From: John Soo References: <87lfgcog2g.fsf@asu.edu> <864kme2w8g.fsf@gmail.com> <2DFC6265-699A-4EA3-8E50-5352B8EA59F6@lepiller.eu> Date: Thu, 05 Nov 2020 08:16:01 -0800 In-Reply-To: <2DFC6265-699A-4EA3-8E50-5352B8EA59F6@lepiller.eu> (Julien Lepiller's message of "Wed, 28 Oct 2020 13:37:31 -0400") Message-ID: <87a6vvvkxq.fsf@asu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=asu-edu.20150623.gappssmtp.com header.s=20150623 header.b=w37TX/cF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=asu.edu (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.59 X-TUID: EW6v2l6sqJgJ --=-=-= Content-Type: text/plain Hello again, I just added more detail to pijul's description which was previously lacking a lot. - John --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-pijul.patch >From fcca32415721db2bd6308cf5037c0720ac772706 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:23:46 -0700 Subject: [PATCH] gnu: Add pijul. * gnu/packages/rust-apps.scm (pijul): New variable. --- gnu/packages/rust-apps.scm | 114 +++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index f5501d67dd..5587e90515 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -30,8 +30,11 @@ #:use-module (gnu packages compression) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) + #:use-module (gnu packages crypto) #:use-module (gnu packages documentation) #:use-module (gnu packages jemalloc) + #:use-module (gnu packages llvm) + #:use-module (gnu packages nettle) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -238,6 +241,117 @@ for distinguishing different kinds of bytes such as NULL bytes, printable ASCII characters, ASCII whitespace characters, other ASCII characters and non-ASCII.") (license (list license:expat license:asl2.0)))) +(define-public pijul + (package + (name "pijul") + (version "0.12.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pijul" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12aqpfd2si70qbvfnn9kvznxyd5g5gsb1kk1q52wm077cd03yapr")))) + (build-system cargo-build-system) + (inputs + `(("clang" ,clang) + ("libressl" ,libressl) + ("libsodium" ,libsodium) + ("nettle" ,nettle) + ("pkg-config" ,pkg-config))) + (arguments + `(#:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-base64" ,rust-base64-0.9) + ("rust-bincode" ,rust-bincode-1) + ("rust-bs58" ,rust-bs58-0.2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-2) + ("rust-cryptovec" ,rust-cryptovec-0.4) + ("rust-dirs" ,rust-dirs-1.0) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-failure" ,rust-failure-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.1) + ("rust-getch" ,rust-getch-0.2) + ("rust-hex" ,rust-hex-0.3) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-libpijul" ,rust-libpijul-0.12) + ("rust-line" ,rust-line-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-pathdiff" ,rust-pathdiff-0.1) + ("rust-progrs" ,rust-progrs-0.1) + ("rust-rand" ,rust-rand-0.6) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.9) + ("rust-rpassword" ,rust-rpassword-2.1.0) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-shell-escape" ,rust-shell-escape-0.1) + ("rust-tar" ,rust-tar-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-term" ,rust-term-0.5) + ("rust-thrussh" ,rust-thrussh-0.21) + ("rust-thrussh-config" ,rust-thrussh-config-0.2) + ("rust-thrussh-keys" ,rust-thrussh-keys-0.11) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-uds" ,rust-tokio-uds-0.2) + ("rust-toml" ,rust-toml-0.4) + ("rust-username" ,rust-username-0.2)) + #:cargo-development-inputs + (("rust-walkdir" ,rust-walkdir-2)) + #:phases + (modify-phases %standard-phases + (add-before 'build 'set-clang-env + (lambda* (#:key inputs #:allow-other-keys) + (setenv + "LIBCLANG_PATH" + (string-append (assoc-ref inputs "clang") "/lib")) + #t)) + (add-after 'install 'install-completions + (lambda* (#:key outputs #:allow-other-keys) + (use-modules (ice-9 popen) + (ice-9 textual-ports)) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (share (string-append out "/share")) + (bash (string-append + share "/bash-completion/completions")) + (zsh (string-append + share "/zsh/site-functions")) + (fish (string-append + share "/fish/vendor_completions.d"))) + (for-each + (lambda (x) + (let ((dir (cddr x)) + (file (cadr x)) + (shell (car x))) + (mkdir-p dir) + (call-with-output-file (string-append dir "/" file) + (lambda (f) + (let* ((cmd (string-append + bin "/pijul generate-completions --" + shell)) + (pipe (open-input-pipe cmd)) + (completion (get-string-all pipe))) + (format f "~A" completion) + (close-pipe pipe)))) )) + `(("bash" . ("pijul" . ,bash)) + ("zsh" . ("_pijul" . ,zsh)) + ("fish" . ("pijul.fish" . ,fish)))) + #t)))))) + (home-page "https://pijul.org/") + (synopsis + "Patch-based distributed version control system") + (description + "This package is a version control system based on patches. Its +fundamental promise is that two patches producible in parallel always commute. +This makes the whole system more correct, and much simpler to use.") + (license license:gpl2+))) + (define-public racer (package (name "racer") -- 2.29.1 --=-=-=--