[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67024] [PATCH 54/54] gnu: Add stgit-2.
From: |
Steve George |
Subject: |
[bug#67024] [PATCH 54/54] gnu: Add stgit-2. |
Date: |
Thu, 9 Nov 2023 19:38:51 +0000 |
* gnu/packages/version-control.scm (stgit-2): New variable.
Change-Id: Ic5f29a5f0e3b5caa6c2aee4daf65d7e5dc09a6d5
---
gnu/packages/version-control.scm | 60 ++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 1cc870e3c6a..1a3fe24fe1b 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -74,6 +74,7 @@ (define-module (gnu packages version-control)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix hg-download)
+ #:use-module (guix build-system cargo)
#:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
@@ -91,6 +92,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages cook)
+ #:use-module (gnu packages crates-io)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
@@ -1517,6 +1519,64 @@ (define-public git-flow
lot easier.")
(license license:bsd-2)))
+(define-public stgit-2
+ (package
+ (name "stgit")
+ (version "2.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/stacked-git/stgit")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cgv7chxqkjaqmzi4691in26j2fm8r0vanw8xzb9cqnz6350wvvj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1)
+ ("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bstr" ,rust-bstr-1)
+ ("rust-bzip2-rs" ,rust-bzip2-rs-0.1)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-ctrlc" ,rust-ctrlc-3)
+ ("rust-curl" ,rust-curl-0.4)
+ ("rust-encoding_rs" ,rust-encoding-rs-0.8)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-gix" ,rust-gix-0.54)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-is-terminal" ,rust-is-terminal-0.4)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-strsim" ,rust-strsim-0.10)
+ ("rust-tar" ,rust-tar-0.4)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-termcolor" ,rust-termcolor-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-time" ,rust-time-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list openssl zlib curl))
+ (home-page "https://stacked-git.github.io/")
+ (synopsis "Stacked Git (StGit) manages Git commits as a stack of patches")
+ (description "StGit uses a patch stack workflow. Each individual patch
+focuses on a single concern, while a stack of patches forms a series of
commits.
+Patches are stored as normal git commits, allowing easy merging of StGit
+patches into other repositories using standard Git.
+
+Features include:
+@itemize
+@item Import and export patches from Git with @command{stg commit} and
+@command{stg uncommit}
+@item Create new patches and add them to the stack with @command{stg new}
+@item Update a patch from the working tree with @command{stg refresh} and
+@command{stg edit}
+@item See information about the stack or patch with @command{stg series} and
+@command{stg show}
+@item Export and send a series of patches by email using @command{stg email}
+@end itemize")
+ (license license:gpl2)))
+
(define-public stgit
(package
(name "stgit")
--
2.41.0
- [bug#67024] [PATCH 38/54] gnu: Add rust-gix-protocol-0.40., (continued)
- [bug#67024] [PATCH 38/54] gnu: Add rust-gix-protocol-0.40., Steve George, 2023/11/09
- [bug#67024] [PATCH 48/54] gnu: Add rust-gix-archive-0.5., Steve George, 2023/11/09
- [bug#67024] [PATCH 53/54] gnu: rust-ctrlc-3: Update to 3.2.5., Steve George, 2023/11/09
- [bug#67024] [PATCH 45/54] gnu: Add rust-gix-discover-0.25., Steve George, 2023/11/09
- [bug#67024] [PATCH 46/54] gnu: Add rust-gix-config-0.30., Steve George, 2023/11/09
- [bug#67024] [PATCH 51/54] gnu: rust-caps-0.5: Update to 0.5.5., Steve George, 2023/11/09
- [bug#67024] [PATCH 49/54] gnu: Add rust-gix-submodule-0.4., Steve George, 2023/11/09
- [bug#67024] [PATCH 44/54] gnu: Add rust-gix-macros-0.1., Steve George, 2023/11/09
- [bug#67024] [PATCH 42/54] gnu: Add rust-gix-negotiate-0.8., Steve George, 2023/11/09
- [bug#67024] [PATCH 50/54] gnu: Add rust-gix-0.54., Steve George, 2023/11/09
- [bug#67024] [PATCH 54/54] gnu: Add stgit-2.,
Steve George <=
- [bug#67024] [PATCH 23/54] gnu: Add rust-gix-worktree-0.26., Steve George, 2023/11/09
- [bug#67024] [PATCH 35/54] gnu: Add rust-gix-revision-0.22., Steve George, 2023/11/09
- [bug#67024] [PATCH 34/54] gnu: Add rust-gix-status-0.1., Steve George, 2023/11/09
- [bug#67024] [PATCH 27/54] gnu: Add rust-gix-url-0.24, Steve George, 2023/11/09
- [bug#67024] [PATCH 39/54] gnu: Add rust-gix-diff-0.36., Steve George, 2023/11/09
- [bug#67024] [PATCH 47/54] gnu: rust-zip-0.6: Update to 0.6.6., Steve George, 2023/11/09
- [bug#67024] [PATCH 41/54] gnu: Add rust-gix-odb-0.53., Steve George, 2023/11/09
- [bug#67024] [PATCH 36/54] gnu: Add rust-gix-refspec-0.18., Steve George, 2023/11/09
- [bug#67024] [PATCH 43/54] gnu: Add rust-gix-mailmap-0.19., Steve George, 2023/11/09
- bug#67024: [PATCH 00/54] Series to add StackedGit 2.4, Efraim Flashner, 2023/11/28