From 604a4b680cbb6b0c88041da356fff1f5f547909a Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Fri, 25 Apr 2014 11:18:18 -0400 Subject: [PATCH] capnproto: Add package --- lib/maintainers.nix | 1 + .../libraries/capnproto/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 26 insertions(+) create mode 100644 pkgs/development/libraries/capnproto/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index c9648f2d6429..4218d774217a 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -26,6 +26,7 @@ chaoflow = "Florian Friesdorf "; coconnor = "Corey O'Connor "; coroa = "Jonas Hörsch "; + cstrahan = "Charles Strahan "; edwtjo = "Edward Tjörnhammar "; eelco = "Eelco Dolstra "; emery = "Emery Hemingawy "; diff --git a/pkgs/development/libraries/capnproto/default.nix b/pkgs/development/libraries/capnproto/default.nix new file mode 100644 index 000000000000..8a067f148d9b --- /dev/null +++ b/pkgs/development/libraries/capnproto/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation { + name = "capnproto-0.4.1"; + + meta = with stdenv.lib; { + homepage = "http://kentonv.github.io/capnproto"; + 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.bsd2; + platforms = platforms.all; + maintainers = with maintainers; [ cstrahan ]; + }; + + src = fetchurl { + url = "https://capnproto.org/capnproto-c++-0.4.1.tar.gz"; + sha256 = "8453e8d508906062f113dbdfff552f41e08083ccf7c9407778a8d107675cd468"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2fed56c49fec..db714b36357c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4132,6 +4132,8 @@ let caelum = callPackage ../development/libraries/caelum { }; + capnproto = callPackage ../development/libraries/capnproto { }; + scmccid = callPackage ../development/libraries/scmccid { }; ccrtp = callPackage ../development/libraries/ccrtp { };