2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
|
2018-07-27 19:27:48 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "msgpuck";
|
2018-07-27 19:27:48 +01:00
|
|
|
version = "2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rtsisyk";
|
|
|
|
repo = "msgpuck";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2018-07-27 19:27:48 +01:00
|
|
|
sha256 = "0cjq86kncn3lv65vig9cqkqqv2p296ymcjjbviw0j1s85cfflps0";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2018-07-27 19:27:48 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-07-27 19:27:48 +01:00
|
|
|
description = ''A simple and efficient MsgPack binary serialization library in a self-contained header file'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/rtsisyk/msgpuck";
|
2018-07-27 19:27:48 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ izorkin ];
|
|
|
|
};
|
|
|
|
}
|