nixpkgs/pkgs/development/libraries/capnproto/default.nix

30 lines
889 B
Nix
Raw Normal View History

2014-04-25 15:18:18 +00:00
{ stdenv, fetchurl }:
2015-01-12 08:24:41 +00:00
stdenv.mkDerivation rec {
name = "capnproto-${version}";
2015-09-28 22:33:48 +00:00
version = "0.5.3";
2015-01-12 08:24:41 +00:00
src = fetchurl {
url = "https://capnproto.org/capnproto-c++-${version}.tar.gz";
2015-09-28 22:33:48 +00:00
sha256 = "1yvaadhgakskqq5wpv53hd6fc3pp17mrdldw4i5cvgck4iwprcfd";
2015-01-12 08:24:41 +00:00
};
2014-04-25 15:18:18 +00:00
patches = [
# Remove once they release a version above 0.5.3. See https://github.com/sandstorm-io/capnproto/issues/433
./clang4.patch
];
2014-04-25 15:18:18 +00:00
meta = with stdenv.lib; {
homepage = "http://kentonv.github.io/capnproto";
description = "Cap'n Proto cerealization protocol";
longDescription = ''
Capn 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 ];
};
}