nixpkgs/pkgs/development/libraries/capnproto/default.nix
Anderson Torres 492414af5f treewide: remove cstrahan from meta.maintainers - part 1
All the packages here are now orphaned.
2023-10-04 22:20:58 -03:00

36 lines
879 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.

{ lib
, stdenv
, fetchFromGitHub
, cmake
, openssl
, zlib
}:
stdenv.mkDerivation rec {
pname = "capnproto";
version = "1.0.1";
# release tarballs are missing some ekam rules
src = fetchFromGitHub {
owner = "capnproto";
repo = "capnproto";
rev = "v${version}";
sha256 = "sha256-ZruJikcMZuUBmNq+f6+wUl4Rr6MVFxmgcj1TSOKM1ZE=";
};
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [ openssl zlib ];
meta = with lib; {
homepage = "https://capnproto.org/";
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;
platforms = platforms.all;
maintainers = with maintainers; [ ];
};
}