From patchwork Thu Apr 10 15:20:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Junker X-Patchwork-Id: 41550 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 7B95F27BC49; Thu, 10 Apr 2025 16:22:22 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED 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 D103927BC4A for ; Thu, 10 Apr 2025 16:22:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u2tia-0004l6-Ay; Thu, 10 Apr 2025 11:21:30 -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 1u2tiB-0004jY-5E for guix-patches@gnu.org; Thu, 10 Apr 2025 11:21:03 -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 1u2tiA-0005Na-RD for guix-patches@gnu.org; Thu, 10 Apr 2025 11:21:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=EUiaLiZorxgv12+iH9uteQeUUiVPmPV72mnpSGWORlo=; b=QdDKJ3WSxbqWPuGgRwWivAVOOrVdeOTFMnJytdTLjPzWYrwzJOd8Db7J8xZdOo2Va1LKU6OdaHE372h2NhSJl/awyFRICKMzDPJvmy4TQLBgnJm5nbFBVsogJO7kf/5iq2NUf2AVnXux3cKgsG1UgPdWBqO2yeRkcwQTJeugVmLuXwA5aGTL4CFwCy865Z45kTrK1+41RY/XpiOUu/PqMaNsUFEC0kNB1T2lE/3DhIeGzQoiFen86oPWei6WFAM8LfDkqzXw+GokAFKoGjp06dn0RJ0CmMjiRiRK+3hd3JxaguqbK20213IJMRodgh4Vy93ytJ2cloOFk5AUNJxeKQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u2tiA-0003WK-E9 for guix-patches@gnu.org; Thu, 10 Apr 2025 11:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77710] [PATCH] gnu: Add cadaver. Resent-From: Junker Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Apr 2025 15:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77710 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77710@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174429844213480 (code B ref -1); Thu, 10 Apr 2025 15:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Apr 2025 15:20:42 +0000 Received: from localhost ([127.0.0.1]:46310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u2thq-0003VL-2P for submit@debbugs.gnu.org; Thu, 10 Apr 2025 11:20:42 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46650) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u2thl-0003V1-KK for submit@debbugs.gnu.org; Thu, 10 Apr 2025 11:20:39 -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 1u2thf-0004hF-6L for guix-patches@gnu.org; Thu, 10 Apr 2025 11:20:31 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1u2tha-0005J6-Hw for guix-patches@gnu.org; Thu, 10 Apr 2025 11:20:30 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4ZYNmF4HpDz9sls for ; Thu, 10 Apr 2025 17:20:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junkeria.club; s=MBO0001; t=1744298413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EUiaLiZorxgv12+iH9uteQeUUiVPmPV72mnpSGWORlo=; b=x65pK2DApR3Pxe07VXB4D8iEGTBGTXXoj0aPNcmdPw2VpNAllhJhGi7n6pq+Iur9m2+jJ+ tZG80zseStXkiBvbD0SzzXNVR+99L/eqbGhwQhbrP9CLo1tMEzo4+0iscgRiLTKDdnUB5Y LnW81f57/UyZqEnMBiKzDeFFbBP1DBGwHB8U2px2rI8xb6xSQuj4u7dYzQvqAMdS5Etgx8 Ekn0cdD2Vx2LNRCTpNO/F8Huu3EA+87PEgp3pM8aCNNpHE9jBuZ5Lo7ZLE3qXtX+fXeTfZ xsNhKLjWPuEcWVa3pfnGsnTNRmfXs8rn4SYWIHrKQA08ircOT3FIYSAMIqVQ8g== Date: Thu, 10 Apr 2025 22:20:01 +0700 From: Junker Message-ID: <4685ccedfac83946d228e5453ebb97d4672f189b.1744298250.git.dk@junkeria.club> MIME-Version: 1.0 Content-Disposition: inline Received-SPF: pass client-ip=80.241.56.161; envelope-from=dk@junkeria.club; helo=mout-p-103.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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/dav.scm (cadaver): New variable. * gnu/packages/dav.scm: add (guix licenses) prefix. Change-Id: Iffe515ea157714497630b287356bbfa0c3ba4b9a --- gnu/packages/dav.scm | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) base-commit: 2934de1447f87b361608ef3a2a756b8a5d2f42e6 diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index 546118055f..49c2b027cd 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2021 Tanguy Le Carrour ;;; Copyright © 2022, 2024 Jonathan Brielmaier ;;; Copyright © 2024 Nicolas Graves +;;; Copyright © 2025 Junker ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,15 +24,17 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages dav) + #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix build-system pyproject) #:use-module (guix download) #:use-module (guix gexp) - #:use-module (guix licenses) + #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (gnu packages) #:use-module (gnu packages check) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) @@ -40,8 +43,37 @@ (define-module (gnu packages dav) #:use-module (gnu packages python-xyz) #:use-module (gnu packages sphinx) #:use-module (gnu packages time) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) #:use-module (gnu packages xml)) +(define-public cadaver + (package + (name "cadaver") + (version "0.26") + (source + (origin + (method url-fetch) + (uri (string-append "https://notroj.github.io/cadaver/cadaver-" + version ".tar.gz")) + (sha256 + (base32 "0mbv6mkdhxqhdq5kgn821if10h184m1xlpqq0vpxj19mvwyf8dlj")))) + (build-system gnu-build-system) + (inputs (list neon + openssl + libxml2)) + (native-inputs (list pkg-config)) + (arguments '(#:configure-flags (list "--with-ssl=openssl") + #:tests? #f)) ; no check target + (home-page "https://notroj.github.io/cadaver/") + (synopsis "Command-line WebDAV client") + (description + "Cadaver is a command-line client for WebDAV server operations. It +supports a variety of WebDAV features and provides an interactive +command-line environment with support for file manipulation on remote WebDAV +servers.") + (license license:gpl2+))) + (define-public radicale (package (name "radicale") @@ -79,7 +111,7 @@ (define-public radicale Instead, it supports the CalDAV and CardDAV implementations of popular clients.") (home-page "https://radicale.org/") - (license gpl3+))) + (license license:gpl3+))) (define-public xandikos (package @@ -117,7 +149,7 @@ (define-public xandikos @item Automatically keep history and back up @item Works with all tested CalDAV and CardDAV clients @end itemize") - (license gpl3+))) + (license license:gpl3+))) (define-public vdirsyncer (package @@ -169,4 +201,4 @@ (define-public vdirsyncer local data can then be accessed via a variety of programs, none of which have to know or worry about syncing to a server.") (home-page "https://github.com/pimutils/vdirsyncer") - (license bsd-3))) + (license license:bsd-3)))