nixpkgs-suyu/pkgs/development/libraries/capnproto/default.nix
Dan Peebles 167aba003a capnproto: fix on clang 4
Embedding the patch because the way they build their source releases
changes the paths, so fetchpatch against GitHub doesn't apply cleanly
2017-03-26 18:15:59 -04:00

29 lines
889 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ 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 = ''
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 ];
};
}