diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-04-04 21:16:39 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:26 +0200 |
commit | 2d30f21fb9edfa0cf83d3cb1e51e7caa6db25ae7 (patch) | |
tree | eceb714a55d48c13e774921f1981c6892831e66e /gnu/packages/cpp.scm | |
parent | 5300ed2893ebfe2b5503d2537ce5164b01419dd3 (diff) |
gnu: Add string-view-lite.
* gnu/packages/cpp.scm (string-view-lite): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/cpp.scm')
-rw-r--r-- | gnu/packages/cpp.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 4ead74ab42..dc819e334c 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -3796,6 +3796,26 @@ file name and location, as well as filters with friendly names (such as \"source files\" or \"image files\") where supported.") (license license:zlib))) +(define-public string-view-lite + (package + (name "string-view-lite") + (version "1.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/martinmoene/string-view-lite") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1mfp3lmqx7ac0545akxd2v05rrapa3byz8q4gb9rqy94pcqbfyc5")))) + (build-system cmake-build-system) + (home-page "https://github.com/martinmoene/string-view-lite") + (synopsis "C++17 string-view for older C++") + (description "This package provides a compatibility header-only library +for C++17 string-view.") + (license license:boost1.0))) + (define-public tsl-hopscotch-map (package (name "tsl-hopscotch-map") |