From 2bdd26400445b24d78b7d30030027fa9d7376968 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 3 Jan 2025 13:56:56 +0200 Subject: [PATCH] gnu: Add rust-pijul-macros-0.5. * gnu/packages/crates-vcs.scm (rust-pijul-macros-0.5): New variable. Change-Id: Ica8a46e502745d4cd444d2827c5b5bc29498b293 --- gnu/packages/crates-vcs.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 27c830fdfa..2772f36844 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2019, 2020, 2022-2024 Efraim Flashner +;;; Copyright © 2019, 2020, 2022-2025 Efraim Flashner ;;; Copyright © 2019, 2020 John Soo ;;; Copyright © 2019, 2020 Nicolas Goaziou ;;; Copyright © 2021 Maxim Cournoyer @@ -7394,3 +7394,25 @@ (define-public rust-libpijul-0.12 @item Information about file moves, additions and deletions. @end itemize") (license license:gpl2+))) + +(define-public rust-pijul-macros-0.5 + (package + (name "rust-pijul-macros") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pijul-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r3hivav1mzpzdpk2rj8flhl4vgp2r85gdi0kw5x8r8bv0y79cy2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://nest.pijul.com/pijul/pijul") + (synopsis "Macros used to write libpijul") + (description "This package provides macros used to write libpijul.") + (license license:gpl2)))