depot/third_party/nixpkgs/pkgs/servers/redpanda/base64.nix
Default email 5557ff764c Project import generated by Copybara.
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
2023-02-22 11:55:15 +01:00

26 lines
628 B
Nix

{ clangStdenv
, cmake
, fetchFromGitHub
, lib
}:
let
pname = "base64";
version = "0.5.0";
in
clangStdenv.mkDerivation {
inherit pname version;
src = fetchFromGitHub {
owner = "aklomp";
repo = "base64";
rev = "v${version}";
sha256 = "sha256-2HNI9ycT9f+NLwLElEuR61qmTguOsI+kNxv01ipxSqQ=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Fast Base64 stream encoder/decoder in C99, with SIMD acceleration";
license = licenses.bsd2;
homepage = "https://github.com/aklomp/base64";
maintainers = with maintainers; [ avakhrenev ];
platforms = platforms.unix;
};
}