2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libtool }:
|
2016-05-15 04:52:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libmpack";
|
2017-11-10 01:06:33 +00:00
|
|
|
version = "1.0.5";
|
2016-05-15 04:52:29 +00:00
|
|
|
src = fetchFromGitHub {
|
2020-04-26 19:25:42 +00:00
|
|
|
owner = "libmpack";
|
2016-05-15 04:52:29 +00:00
|
|
|
repo = "libmpack";
|
2017-11-10 01:06:33 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
|
2016-05-15 04:52:29 +00:00
|
|
|
};
|
2017-11-16 21:57:34 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ libtool ];
|
|
|
|
|
|
|
|
makeFlags = [ "LIBTOOL=libtool" "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-05-15 04:52:29 +00:00
|
|
|
description = "Simple implementation of msgpack in C";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/tarruda/libmpack/";
|
2016-05-15 04:52:29 +00:00
|
|
|
license = licenses.mit;
|
2019-07-03 09:27:39 +00:00
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
2016-06-13 18:14:20 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-05-15 04:52:29 +00:00
|
|
|
};
|
|
|
|
}
|