about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/msgpuck
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/msgpuck')
-rw-r--r--nixpkgs/pkgs/development/libraries/msgpuck/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/msgpuck/default.nix b/nixpkgs/pkgs/development/libraries/msgpuck/default.nix
new file mode 100644
index 000000000000..cc7b056bb988
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/msgpuck/default.nix
@@ -0,0 +1,25 @@
+{ 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.all;
+     maintainers = with maintainers; [ izorkin ];
+ };
+}