diff options
| author | Aaron Covrig <aaron.covrig.us@ieee.org> | 2026-02-15 13:23:24 -0500 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-03-12 12:42:45 +0200 |
| commit | 17f966389b2ce639d4ea88b0a479ab27747dc89a (patch) | |
| tree | 7b404f17a00d36fb144c1e75f9872f76a2faae56 /gnu/packages/version-control.scm | |
| parent | a1125cec7ba212944f78862049f9211328e592d1 (diff) | |
gnu: Add git-cliff.
* gnu/packages/version-control.scm (git-cliff): New variable.
* gnu/packages/rust-crates.scm: Add dependencies for git-cliff.
Change-Id: I9369a4e2a94b46a0d8085f502159f5a87e671002
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/version-control.scm')
| -rw-r--r-- | gnu/packages/version-control.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 7e982cdbef9..3a679233845 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm | |||
| @@ -909,6 +909,39 @@ logs to GNU ChangeLog format.") | |||
| 909 | to GitHub contributions calendar.") | 909 | to GitHub contributions calendar.") |
| 910 | (license license:expat))) | 910 | (license license:expat))) |
| 911 | 911 | ||
| 912 | (define-public git-cliff | ||
| 913 | (package | ||
| 914 | (name "git-cliff") | ||
| 915 | (version "2.12.0") | ||
| 916 | (source | ||
| 917 | (origin | ||
| 918 | (method url-fetch) | ||
| 919 | (uri (crate-uri "git-cliff" version)) | ||
| 920 | (file-name (string-append name "-" version ".tar.gz")) | ||
| 921 | (sha256 | ||
| 922 | (base32 "1vz1qix1yi6j5lb95q39pdxn4b6nrq8m235kjjh605m2mf0r8wyd")))) | ||
| 923 | (build-system cargo-build-system) | ||
| 924 | (arguments | ||
| 925 | (list #:install-source? #f)) | ||
| 926 | (native-inputs (list pkg-config)) | ||
| 927 | (inputs (cons* libgit2-1.9 | ||
| 928 | zlib | ||
| 929 | `(,zstd "lib") | ||
| 930 | (cargo-inputs 'git-cliff))) | ||
| 931 | (home-page "https://github.com/orhun/git-cliff") | ||
| 932 | (synopsis "Highly customizable changelog generator") | ||
| 933 | (description "@command{git-cliff} can generate | ||
| 934 | @url{https://en.wikipedia.org/wiki/Changelog, changelog} files from the | ||
| 935 | @url{https://git-scm.com/, Git} history by utilizing | ||
| 936 | @url{https://git-cliff.org/docs/configuration/git#conventional_commits, | ||
| 937 | conventional commits} as well as regex-powered | ||
| 938 | @url{https://git-cliff.org/docs/configuration/git#commit_parsers, | ||
| 939 | custom parsers}. The @url{https://git-cliff.org/docs/category/templating, | ||
| 940 | changelog template} can be customized with a | ||
| 941 | @url{https://git-cliff.org/docs/configuration, configuration file} to match the | ||
| 942 | desired format.") | ||
| 943 | (license (list license:expat license:asl2.0)))) | ||
| 944 | |||
| 912 | (define-public git-tools | 945 | (define-public git-tools |
| 913 | (package | 946 | (package |
| 914 | (name "git-tools") | 947 | (name "git-tools") |
