about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/msgpuck/default.nix
blob: e177694e894e04c45a310ed8686c832895f42171 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, cmake, pkgconfig }:

stdenv.mkDerivation rec {
  name = "msgpuck-${version}";
  version = "2.0";

  src = fetchFromGitHub {
    owner = "rtsisyk";
    repo = "msgpuck";
    rev = "${version}";
    sha256 = "0cjq86kncn3lv65vig9cqkqqv2p296ymcjjbviw0j1s85cfflps0";
  };

  outputs = [ "out" "dev" ];

  nativeBuildInputs = [ cmake pkgconfig ];

  meta = with stdenv.lib; {
     description = ''A simple and efficient MsgPack binary serialization library in a self-contained header file'';
     homepage = https://github.com/rtsisyk/msgpuck;
     license = licenses.bsd2;
     platforms = platforms.linux;
     maintainers = with maintainers; [ izorkin ];
 };
}