blob: 72712ffb99f7f16baeed300b0a1a505c793fbe26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgs: attrs: with pkgs; with attrs; rec {
version = "3.22.5";
passthru.version = version;
src = fetchFromGitHub {
owner = "protocolbuffers";
repo = "protobuf";
rev = "v${version}";
hash = "sha256-NMEij1eFg9bMVlNSOg1WJbXK0teeSVev9UUNxiC1AC0=";
fetchSubmodules = true;
};
patches = [
./unversion-protoc.patch
];
cmakeFlags = [
"-Dprotobuf_BUILD_SHARED_LIBS=OFF"
"-DBUILD_SHARED_LIBS=OFF"
];
}
|