diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/capnproto')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/capnproto/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/capnproto/default.nix b/nixpkgs/pkgs/development/libraries/capnproto/default.nix new file mode 100644 index 000000000000..0312eeaf7eed --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/capnproto/default.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, openssl +, zlib +}: + +stdenv.mkDerivation rec { + pname = "capnproto"; + version = "1.0.1.1"; + + # release tarballs are missing some ekam rules + src = fetchFromGitHub { + owner = "capnproto"; + repo = "capnproto"; + rev = "v${version}"; + sha256 = "sha256-LFpCQiepPG78iMq/d3NAN6cSZI1X0QgkKRIxeeZhfEQ="; + }; + + nativeBuildInputs = [ cmake ]; + propagatedBuildInputs = [ openssl zlib ]; + + meta = with lib; { + homepage = "https://capnproto.org/"; + 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.mit; + platforms = platforms.all; + maintainers = with maintainers; [ ]; + }; +} |