3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/msgpuck/default.nix

26 lines
668 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
2018-07-27 19:27:48 +01:00
stdenv.mkDerivation rec {
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" ];
nativeBuildInputs = [ cmake pkg-config ];
2018-07-27 19:27:48 +01:00
meta = with lib; {
description = "A simple and efficient MsgPack binary serialization library in a self-contained header file";
homepage = "https://github.com/rtsisyk/msgpuck";
2018-07-27 19:27:48 +01:00
license = licenses.bsd2;
2021-03-12 05:20:36 +00:00
platforms = platforms.all;
2018-07-27 19:27:48 +01:00
maintainers = with maintainers; [ izorkin ];
};
}