1{ stdenv, fetchFromGitHub, cmake, pkgconfig }:
2
3stdenv.mkDerivation rec {
4 name = "msgpuck-${version}";
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 pkgconfig ];
17
18 meta = with stdenv.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.linux;
23 maintainers = with maintainers; [ izorkin ];
24 };
25}