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