From 56cb224631b6079f3be9102e6d9422d5b0c7a5f3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Dec 2023 11:39:26 +0200 Subject: [PATCH] gnu: rust-git-version-0.3: Move to (gnu packages crates-vcs). * gnu/packages/crates-io.scm (rust-git-version-0.3): Move from here ... * gnu/packages/crates-vcs.scm: ... to here. Change-Id: I41a2d385c63bbbf0dd83f11d676f28ba95c59e9b --- gnu/packages/crates-io.scm | 24 ------------------------ gnu/packages/crates-vcs.scm | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fc2817c70c..02723feadb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30290,30 +30290,6 @@ (define-public rust-gimli-0.26 ("rust-test-assembler" ,rust-test-assembler-0.1) ("rust-typed-arena" ,rust-typed-arena-2)))))) -(define-public rust-git-version-0.3 - (package - (name "rust-git-version") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "git-version" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qj1rd19v8vg094b3fj0gy6ca53v93lhrl31wg1fs7g0y61qx4cl")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-git-version-macro" ,rust-git-version-macro-0.3) - ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))) - (home-page "https://github.com/fusion-engineering/rust-git-version") - (synopsis "Embed git information in your code at compile-time") - (description - "This crates compiles the git version (tag name, or hash otherwise) and -dirty state into your program.") - (license license:bsd-2))) - (define-public rust-git2-0.18 (package (name "rust-git2") diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index e3845aa8c2..59854e5c85 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -80,6 +80,30 @@ (define-public rust-git-testament-derive-0.1 "This package provides an inner procedural macro for git-testament.") (license license:bsd-3))) +(define-public rust-git-version-0.3 + (package + (name "rust-git-version") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "git-version" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qj1rd19v8vg094b3fj0gy6ca53v93lhrl31wg1fs7g0y61qx4cl")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-git-version-macro" ,rust-git-version-macro-0.3) + ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))) + (home-page "https://github.com/fusion-engineering/rust-git-version") + (synopsis "Embed git information in your code at compile-time") + (description + "This crates compiles the git version (tag name, or hash otherwise) and +dirty state into your program.") + (license license:bsd-2))) + (define-public rust-git-version-macro-0.3 (package (name "rust-git-version-macro")