blob: 50d91479193a3368f931b1b58a1b2a49332fb2f1 (
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
|
{ common-mk, lib, fetchFromGitiles, upstreamInfo }:
common-mk {
platformSubdir = "modp_b64";
src = fetchFromGitiles upstreamInfo.components."aosp/platform/external/modp_b64";
installPhase = ''
mkdir -p $out/lib
install -m 0644 libmodp_b64.a $out/lib
mkdir $out/include
cp -r ../../modp_b64/modp_b64 $out/include
'';
meta = with lib; {
description = "High performance base64 encoder/decoder";
homepage = "https://github.com/client9/stringencoders";
license = licenses.bsd3;
maintainers = with maintainers; [ qyliss ];
platform = platforms.all;
};
}
|