1{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
2
3stdenv.mkDerivation rec {
4 pname = "msgpuck";
5 version = "2.0";
6
7 src = fetchFromGitHub {
8 owner = "rtsisyk";
9 repo = "msgpuck";
10 rev = version;
11 sha256 = "0cjq86kncn3lv65vig9cqkqqv2p296ymcjjbviw0j1s85cfflps0";
12 };
13
14 outputs = [ "out" "dev" ];
15
16 nativeBuildInputs = [ cmake pkg-config ];
17
18 meta = with lib; {
19 description = "A simple and efficient MsgPack binary serialization library in a self-contained header file";
20 homepage = "https://github.com/rtsisyk/msgpuck";
21 license = licenses.bsd2;
22 platforms = platforms.all;
23 maintainers = with maintainers; [ izorkin ];
24 };
25}