depot/third_party/nixpkgs/pkgs/development/libraries/msgpuck/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
670 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 = "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 ];
};
}