depot/third_party/nixpkgs/pkgs/development/libraries/msgpuck/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

25 lines
666 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
stdenv.mkDerivation rec {
pname = "msgpuck";
version = "2.0";
src = fetchFromGitHub {
owner = "rtsisyk";
repo = "msgpuck";
rev = version;
sha256 = "0cjq86kncn3lv65vig9cqkqqv2p296ymcjjbviw0j1s85cfflps0";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ cmake pkg-config ];
meta = with lib; {
description = "Simple and efficient MsgPack binary serialization library in a self-contained header file";
homepage = "https://github.com/rtsisyk/msgpuck";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ izorkin ];
};
}