2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libtool }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libmpack";
|
|
|
|
version = "1.0.5";
|
|
|
|
src = fetchFromGitHub {
|
2020-05-29 06:06:01 +00:00
|
|
|
owner = "libmpack";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "libmpack";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
|
|
|
|
};
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
makeFlags = [
|
|
|
|
"LIBTOOL=${libtool}/bin/libtool"
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"config=release"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Simple implementation of msgpack in C";
|
|
|
|
homepage = "https://github.com/tarruda/libmpack/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|