nixpkgs/pkgs/by-name/ca/capnproto/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
861 B
Nix
Raw Normal View History

2021-11-19 10:56:09 +00:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, openssl
, zlib
}:
2014-04-25 15:18:18 +00:00
2015-01-12 08:24:41 +00:00
stdenv.mkDerivation rec {
pname = "capnproto";
2024-01-14 04:36:18 +00:00
version = "1.0.2";
2015-01-12 08:24:41 +00:00
# release tarballs are missing some ekam rules
src = fetchFromGitHub {
owner = "capnproto";
repo = "capnproto";
rev = "v${version}";
2024-01-14 04:36:18 +00:00
sha256 = "sha256-LVdkqVBTeh8JZ1McdVNtRcnFVwEJRNjt0JV2l7RkuO8=";
2015-01-12 08:24:41 +00:00
};
2014-04-25 15:18:18 +00:00
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [ openssl zlib ];
meta = with lib; {
homepage = "https://capnproto.org/";
2014-04-25 15:18:18 +00:00
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.mit;
2014-04-25 15:18:18 +00:00
platforms = platforms.all;
maintainers = [ ];
2014-04-25 15:18:18 +00:00
};
}