mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
167aba003a
Embedding the patch because the way they build their source releases changes the paths, so fetchpatch against GitHub doesn't apply cleanly
30 lines
889 B
Nix
30 lines
889 B
Nix
{ stdenv, fetchurl }:
|
||
|
||
stdenv.mkDerivation rec {
|
||
name = "capnproto-${version}";
|
||
version = "0.5.3";
|
||
|
||
src = fetchurl {
|
||
url = "https://capnproto.org/capnproto-c++-${version}.tar.gz";
|
||
sha256 = "1yvaadhgakskqq5wpv53hd6fc3pp17mrdldw4i5cvgck4iwprcfd";
|
||
};
|
||
|
||
patches = [
|
||
# Remove once they release a version above 0.5.3. See https://github.com/sandstorm-io/capnproto/issues/433
|
||
./clang4.patch
|
||
];
|
||
|
||
meta = with stdenv.lib; {
|
||
homepage = "http://kentonv.github.io/capnproto";
|
||
description = "Cap'n Proto cerealization protocol";
|
||
longDescription = ''
|
||
Cap’n Proto is an insanely fast data interchange format and
|
||
capability-based RPC system. Think JSON, except binary. Or think Protocol
|
||
Buffers, except faster.
|
||
'';
|
||
license = licenses.bsd2;
|
||
platforms = platforms.all;
|
||
maintainers = with maintainers; [ cstrahan ];
|
||
};
|
||
}
|