about summary refs log tree commit diff
path: root/pkgs/servers/redpanda/base64.nix
blob: 305456c55ccf8a1fd5f629bef001359282bc391d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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;
  };
}