2021-09-20 14:46:43 +01:00
|
|
|
|
{ lib, stdenv, fetchurl, cmake }:
|
2014-04-25 16:18:18 +01:00
|
|
|
|
|
2015-01-12 08:24:41 +00:00
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
|
pname = "capnproto";
|
2021-08-20 20:43:26 +01:00
|
|
|
|
version = "0.9.0";
|
2015-01-12 08:24:41 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://capnproto.org/capnproto-c++-${version}.tar.gz";
|
2021-08-20 20:43:26 +01:00
|
|
|
|
sha256 = "sha256-soBUp6K/6kK/w5LI0AljDZTXLozoaiOtbxi15yV0Bk8=";
|
2015-01-12 08:24:41 +00:00
|
|
|
|
};
|
2014-04-25 16:18:18 +01:00
|
|
|
|
|
2021-09-20 14:46:43 +01:00
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
|
meta = with lib; {
|
2021-09-20 09:37:30 +01:00
|
|
|
|
homepage = "https://capnproto.org/";
|
2014-04-25 16:18:18 +01:00
|
|
|
|
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.
|
|
|
|
|
'';
|
2021-09-20 09:37:30 +01:00
|
|
|
|
license = licenses.mit;
|
2014-04-25 16:18:18 +01:00
|
|
|
|
platforms = platforms.all;
|
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
|
};
|
|
|
|
|
}
|