cppcodec: init at 0.2

This commit is contained in:
Nicolas Benes 2023-03-27 14:00:00 +02:00
parent 771d39638b
commit 5ad0e53916
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cppcodec";
version = "0.2";
src = fetchFromGitHub {
owner = "tplgy";
repo = finalAttrs.pname;
rev = "v${finalAttrs.version}";
hash = "sha256-k4EACtDOSkTXezTeFtVdM1EVJjvGga/IQSrvDzhyaXw=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Header-only C++11 library for encode/decode functions as in RFC 4648";
longDescription = ''
Header-only C++11 library to encode/decode base64, base64url, base32,
base32hex and hex (a.k.a. base16) as specified in RFC 4648, plus
Crockford's base32.
'';
homepage = "https://github.com/tplgy/cppcodec";
license = licenses.mit;
maintainers = with maintainers; [ panicgh raitobezarius ];
};
})

View file

@ -19603,6 +19603,8 @@ with pkgs;
cppcms = callPackage ../development/libraries/cppcms { };
cppcodec = callPackage ../development/libraries/cppcodec { };
cppunit = callPackage ../development/libraries/cppunit { };
cpputest = callPackage ../development/libraries/cpputest { };